Skip to content

MazidSpace/InstaAndYtVideoDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 

Repository files navigation

SpaceTubeDL website πŸ—Ώ

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 ⚠️:- Yt downloader needs some patch fix i will do asap i free from this fumking college assignments

Click here to visit πŸ‘€


Video Downloader API for Instagram & YouTube

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! πŸŽ‰


⚠️ Disclaimer

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.


πŸ”— Base URL

https://mazid-download-api.vercel.app/

πŸ” Authentication

The API currently uses a static API key.

  • API Key: MazidSpace
  • Must be passed as a query parameter: api_key

🧩 Common Query Parameters

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

πŸš€ Endpoints

1. Get Instagram Story

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=MazidSpace

Example Response (200):

{
  "download_url": "string (direct video download URL)",
  "image": "string (thumbnail image URL)",
  "type": "string (e.g. \"video\")",
  "video": "string (video URL)"
}

2. Get Instagram Reel

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=MazidSpace

Example Response (200):

{
  "success": true,
  "video": "string (reel video URL)"
}

3. Get YouTube Video (MP4 – Full Video)

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=MazidSpace

Example 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)"
    }
  ]
}

4. Get YouTube Video Only (No Audio)

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=MazidSpace

Example 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)"
  }
]

5. Get YouTube Audio (MP3 / Audio Stream)

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=MazidSpace

Example Response (200):

{
  "audio": "string (audio stream URL)",
  "title": "string (video title)"
}

⚠️ HTTP Status Codes

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

πŸ“ Notes

  • All requests must use HTTPS.
  • Ensure the url parameter is properly URL-encoded
  • The api_key is static: MazidSpace
  • Intended for learning & personal use only

About

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! πŸŽ‰

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors