API CatalogInstagram API

Instagram API Collection

Build social listening tools, creator analytics dashboards, influencer research workflows, competitor monitoring, and AI data pipelines with a normalized Instagram API. This collection wraps an Instagram scraper provider behind stable ApiMask response schemas for public profiles, posts, reels, comments, hashtag search, and AI insights.

Open Instagram API on RapidAPI

Base URL and authentication

https://instagram-api.p.rapidapi.com
HeaderValue
X-RapidAPI-KeyYour RapidAPI key
X-RapidAPI-Hostinstagram-api.p.rapidapi.com

See Authentication, Rate limits, and Errors for shared behavior.

Endpoints

EndpointMethodDescription
/v1/instagram/profileGETGet a public Instagram profile by username
/v1/instagram/postsGETGet recent Instagram posts by username
/v1/instagram/reelsGETGet recent Instagram reels by username
/v1/instagram/mediaGETGet media details by shortcode or media ID
/v1/instagram/commentsGETGet comments for a post or reel
/v1/instagram/hashtag/searchGETSearch public hashtag content
/v1/instagram/searchGETSearch profiles or hashtag content
/v1/instagram/ai/profile-insightsPOSTGenerate AI insights from profile and posts
/v1/instagram/ai/comment-insightsPOSTGenerate AI insights from comments

Instagram Profile, Posts, and Reels API

Get Instagram profile

GET /v1/instagram/profile?username=nasawebb
curl --request GET \
  --url "https://instagram-api.p.rapidapi.com/v1/instagram/profile?username=nasawebb" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: instagram-api.p.rapidapi.com"

Get Instagram posts

GET /v1/instagram/posts?username=nasawebb&limit=2

Query params:

FieldTypeRequiredDescription
usernamestringYesInstagram username, with or without @.
limitnumberNoNumber of items to return, max 100.
cursorstringNoPagination cursor from the previous response.

Get Instagram reels

GET /v1/instagram/reels?username=nasawebb&limit=2

Returns normalized media objects filtered to reels where the provider exposes reel media.

Instagram Media and Comments API

Get media details

GET /v1/instagram/media?shortcode=Da52uFrle-Y

Either shortcode or media_id is required. Shortcodes are preferred for the launch Apify provider.

Get comments

GET /v1/instagram/comments?shortcode=Da52uFrle-Y&limit=2

Query params:

FieldTypeRequiredDescription
shortcodestringConditionalInstagram shortcode.
media_idstringConditionalProvider media ID.
limitnumberNoNumber of comments to return, max 100.
cursorstringNoPagination cursor from the previous response.

Instagram Hashtag and Search API

Search hashtag content

GET /v1/instagram/hashtag/search?hashtag=space&limit=2

Search Instagram

GET /v1/instagram/search?query=space&type=hashtag&limit=2

Query params:

FieldTypeRequiredDescription
querystringYesUsername or hashtag query.
typeprofile | hashtag | placeNoSearch target. Defaults to profile.
limitnumberNoNumber of items to return, max 100.
cursorstringNoPagination cursor from the previous response.

Place search is not supported by the Apify launch actor.

Instagram AI Insights API

Profile insights

POST /v1/instagram/ai/profile-insights
Content-Type: application/json
 
{
  "username": "nasawebb",
  "media_limit": 1,
  "analysis_goal": "Summarize content themes and engagement drivers"
}

Returns content themes, posting patterns, engagement drivers, strengths, opportunities, evidence, confidence, limitations, and AI metadata in meta.

Comment insights

POST /v1/instagram/ai/comment-insights
Content-Type: application/json
 
{
  "shortcode": "Da52uFrle-Y",
  "comment_limit": 2,
  "analysis_focus": "sentiment, questions, objections"
}

Returns aggregate sentiment, recurring topics, questions, objections, moderation flags, evidence, confidence, limitations, and AI metadata in meta.

AI responses include meta.model, meta.prompt_tokens, meta.completion_tokens, and meta.cost_usd.

Example response

{
  "success": true,
  "data": {
    "id": "549313808",
    "username": "nasawebb",
    "full_name": "NASA Webb Telescope",
    "is_verified": true,
    "followers_count": 3547801,
    "following_count": 35,
    "media_count": 1302,
    "source": "apify",
    "fetched_at": "2026-07-20T10:10:24.746979+00:00"
  },
  "error": null,
  "meta": {
    "request_id": "req_f974d9290f00"
  }
}

Use cases

  • Instagram profile API for creator and brand research
  • Instagram posts API for content analytics and feed monitoring
  • Instagram reels API for short-form content tracking
  • Instagram comments API for community and sentiment analysis
  • Instagram hashtag API for campaign and trend discovery
  • Instagram AI insights for profile audits and comment summaries
  • Social listening dashboards and influencer discovery tools
  • Dataset enrichment for LLM and marketing workflows