SmartDev's Insta Scraper API

API documentation for extracting media URLs from Instagram posts and reels! ✨

View Documentation

API Documentation 📚

API Status: Live ⚡️

Send a GET request to /download with an Instagram post or reel URL as a query parameter.

Request Example:
curl -X GET "https://its-smart-dev.vercel.app/download?url=https://www.instagram.com/p/XXXXX/"
curl -X GET "https://its-smart-dev.vercel.app/download?url=https://www.instagram.com/reel/XXXXX/"

Response Example (Success):
{
  "status": "success",
  "message": "Media URLs extracted successfully.",
  "media_urls": [
    "https://instagram.com/.../media1.jpg",
    "https://instagram.com/.../media2.mp4"
  ],
  "title": "Post caption",
  "author": "username",
  "developer": "API Developer : @ISmartDevs",
  "channel": "Updates Channel : @TheSmartDev"
}

Response Example (Error):
{
  "status": "error",
  "message": "URL Required To Download Your Desired Media!",
  "media_urls": [],
  "title": null,
  "author": null,
  "developer": "API Developer : @ISmartDevs",
  "channel": "Updates Channel : @TheSmartDev"
}
                        

Note: Requires valid Instagram session cookies (cookies.txt) in Netscape format with sessionid and csrftoken.

Contribute 🌟

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository. 🍴
  2. Create a new branch (git checkout -b feature-branch). 🌿
  3. Commit your changes (git commit -m 'Add new feature'). 💾
  4. Push to the branch (git push origin feature-branch). 🚀
  5. Open a Pull Request. 📬

Check out the repository on @TheSmartDevs.