https://spacetubedl.vercel.app/MazidSpace Presents β SpaceTubeDL Your all-in-one video downloading solution.
No more endless searching β download videos easily, fast, and hassle-free.
Note
A lightweight and high-performance API to download Instagram Stories, Reels, and YouTube videos or audio using simple GET requests.
Completely free to use in your website, apps, or any automation tools.
Currently no usage limits β enjoy! π
Iβm a student and this project is for educational purposes only.
Please do not use this API for any illegal activity or to violate copyright or platform terms of service.
https://mazid-download-api.vercel.app/The API currently uses a static API key.
- API Key:
MazidSpace - Must be passed as a query parameter:
api_key
All endpoints use the following required query parameters:
| Parameter | Type | Description |
|---|---|---|
url |
string | The media link you want to download |
api_key |
string | Your API key β MazidSpace |
Example Query:
?url={your_media_url}&api_key=MazidSpace
Retrieve an Instagram Story video and thumbnail.
- Method:
GET - Endpoint:
/GetIgStory
Example Request:
GET https://mazid-download-api.vercel.app/GetIgStory?url={story_url}&api_key=MazidSpaceExample Response (200):
{
"download_url": "string (direct video download URL)",
"image": "string (thumbnail image URL)",
"type": "string (e.g. \"video\")",
"video": "string (video URL)"
}Retrieve an Instagram Reel video URL.
- Method:
GET - Endpoint:
/GetIgReel
Example Request:
GET https://mazid-download-api.vercel.app/GetIgReel?url={reel_url}&api_key=MazidSpaceExample Response (200):
{
"success": true,
"video": "string (reel video URL)"
}Fetch YouTube video download options (multiple qualities) plus the audio stream.
- Method:
GET - Endpoint:
/GetYtVideoMp4
Example Request:
GET https://mazid-download-api.vercel.app/GetYtVideoMp4?url={youtube_url}&api_key=MazidSpaceExample Response (200):
{
"audio": "string (audio stream URL)",
"duration": 147,
"thumbnail": "string (thumbnail URL)",
"title": "string (video title)",
"videos": [
{
"extension": "string (e.g. \"mp4\" or \"webm\")",
"quality": "string (e.g. \"144p\", \"240p\", \"360p\", \"480p\", \"720p\", \"1080p\", \"1440p\", \"2160p\")",
"size": "string (e.g. \"3.99 MB\", \"422.62 KB\")",
"url": "string (video stream URL)"
}
]
}Fetch video-only streams (no audio) in multiple qualities.
- Method:
GET - Endpoint:
/GetYtVideoOnly
Example Request:
GET https://mazid-download-api.vercel.app/GetYtVideoOnly?url={youtube_url}&api_key=MazidSpaceExample Response (200):
[
{
"extension": "string (e.g. \"mp4\" or \"webm\")",
"quality": "string (e.g. \"144p\", \"240p\", \"360p\", \"480p\", \"720p\", \"1080p\", \"1440p\", \"2160p\")",
"size": "string (e.g. \"3.99 MB\", \"422.62 KB\")",
"url": "string (video-only stream URL)"
}
]Fetch only the audio stream of a YouTube video.
- Method:
GET - Endpoint:
/GetYtVideoMp3
Example Request:
GET https://mazid-download-api.vercel.app/GetYtVideoMp3?url={youtube_url}&api_key=MazidSpaceExample Response (200):
{
"audio": "string (audio stream URL)",
"title": "string (video title)"
}The API uses standard HTTP status codes:
| Status Code | Meaning |
|---|---|
200 |
Success β request processed correctly |
400 |
Bad Request β missing or invalid params |
500 |
Internal Server Error β something went wrong |
- All requests must use HTTPS.
- Ensure the
urlparameter is properly URL-encoded - The
api_keyis static:MazidSpace - Intended for learning & personal use only