Instagram

Instagram Post Details

Look up a single Instagram post, reel, or IGTV video by URL, shortcode, or numeric media ID. Returns the caption, like / comment / share / view counts, media URLs, carousel slides, audio track info, tagged users, location, accessibility caption, and author details. Provide exactly one of url or code.

Price: $0.006 per request. Free tier: 50 requests/month.

get/v1/instagram/post

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/instagram/post
  • Auth: API key in header X-API-Key

Query parameters

urlstring

Instagram post, reel, IGTV, or story URL, e.g. https://www.instagram.com/p/CxYQJO8xuC6/ (max 500 characters). Must be an instagram.com URL containing /p/, /reel, /tv/, or /stories/. Provide either url or code.

codestring

The post's shortcode, e.g. CxYQJO8xuC6, or numeric media ID (max 50 characters, letters/digits/-/_ only). Provide either url or code.

get_sentimentboolean

Set to true to add AI emotion analysis to the post. Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). If the post cannot be scored, sentiment is null.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.