Endpoint reference

Every IGramAPI endpoint at a glance: method, path, credit cost and plan, with links to the detailed page for each one.

Base URL: https://api.igramapi.com. All endpoints need an API key. The full, interactive specification is the API reference, and the machine-readable OpenAPI file works with Postman, Insomnia and code generators.

Profiles

Method and path Credits Plans Details
GET /v1/profiles/{username} 1 All Profile API
GET /v1/profiles/{username}/picture 1 All Profile Picture API
GET /v1/profiles/{username}/posts 1 All Posts API
GET /v1/profiles/{username}/reels 1 All Reels API
GET /v1/profiles/{username}/stories 3 Paid Stories API
GET /v1/profiles/{username}/highlights 3 Paid Highlights API
GET /v1/highlights?id= or ?url= 3 Paid Highlights API

Media

Method and path Credits Plans Details
GET /v1/media?url= or ?shortcode= 1 All Post & Reel Data API
GET /v1/media/{shortcode} 1 All Post & Reel Data API
GET /v1/media/{shortcode}/comments 2 All Comments API
POST /v1/downloads 1 to 5 All Downloader API

Discovery

Method and path Credits Plans Details
GET /v1/search?q= 1 All Search API
GET /v1/hashtags/{tag} 3 Paid Hashtag API
GET /v1/audio/{audio_id} or GET /v1/audio?url= 1 All Audio API

Account endpoints

Plans and pricing are public: GET /v1/plans. Everything else about your account (keys, usage, billing) is managed in the dashboard.

Conventions

  • JSON in, JSON out, UTF-8, over HTTPS only.
  • Usernames are case-insensitive. A leading @ or a full profile URL is accepted.
  • Timestamps are Unix seconds, except expires_at on downloads, which is ISO 8601.
  • Lists use cursor pagination.
  • Every response has an X-Request-ID header.
  • All media links are temporary. Use the Downloader when you need a file.

Something unclear or missing? Tell us and we will fix the page.

Get your free API key

100 credits every month, no credit card. Make your first request in about two minutes.