MenuPost or reel data

InstagramPOSTS

Get post or reel data

Retrieve full details for a single post or reel: like count, comment count, view count, caption, media, and author.

GET/v1/instagram/posts/detailsSingle lookup

Auth

API key Get a key

Platform

InstagramPublic data only

Pagination

NoneOne object per call
Base URLhttps://social-api.airaa.xyz
curl "https://social-api.airaa.xyz/v1/instagram/posts/details?media_code_or_url=DQrUvnfDKVy" \
  -H "X-API-KEY: $AIRAA_KEY"
Replace $AIRAA_KEY with your key
200Responseapplication/json
{
  "post": {
    "id": "3759189547113293170_18660395701",
    "type": "reel",
    "shortcode": "DQrUvnfDKVy",
    "post_url": "https://www.instagram.com/reel/DQrUvnfDKVy/",
    "caption": "Manifesting to be the ultimate 'Sapna Ki Rani' 👑\n#sairaahlive \n\n#meresapnokirani #sapnokirani #queenofhearts #dreamgirl #mehndilove #femalesinger #liveperformance #femaleversion #liveperformer…",
    "published_at": "2025-11-05T13:50:06.000Z",
    "like_count": 884711,
    "comment_count": 4069,
    "reshare_count": 203315,
    "view_count": 20621984,
    "duration_seconds": 43.00299835205078,
    "width": 1080,
    "height": 1920,
    "author": {
      "id": "18660395701",
      "username": "sairaahlive",
      "profile_url": "https://www.instagram.com/sairaahlive/",
      "full_name": "Sairaah",
      "profile_picture_url": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t51.82787-19/685976763_18124455733619702_209481644942537253_n.jpg",
      "is_private": false,
      "is_verified": true
    },
    "media": [
      {
        "type": "video",
        "url": "https://instagram.fkiv7-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQPRzvcYIQc8jKCGKSK_CoN58HcauvkbjvND6GBkZc3ZdjU2MBsv0LQWowzZthbwz7TEKsPmAZdEnOtZLGq9PtQCGcg2pZarOrY92ro.mp4",
        "thumbnail_url": "https://instagram.fkiv7-1.fna.fbcdn.net/v/t51.82787-15/576513585_18106739614619702_55291165651798753_n.jpg",
        "width": 720,
        "height": 1280,
        "duration_seconds": 43.00299835205078
      }
    ]
  }
}

type is one of image, video, carousel, or reel. media[] holds one entry per carousel item. view_count and duration_seconds appear only on videos and reels.

Parameters

Query string
media_code_or_urlstringrequired

Media shortcode (e.g. DQrUvnfDKVy) or full post/reel URL

Example DQrUvnfDKVy

Response

200 · application/json

Absent fields are omitted, never null. Response conventions

FieldTypeDescription
postobject

The post or reel

post.idstring

Post ID in the form <media id>_<author id>; feeds return the bare media id

post.typestring

One of image, video, carousel or reel

post.shortcodestring

Post shortcode, as used in the post URL

post.post_urlstring · url

Absolute URL of the post on instagram.com

post.captionstring

Caption text

post.published_atstring · date-time

When the post was published, ISO 8601 UTC timestamp

post.like_countinteger

Number of likes

post.comment_countinteger

Number of comments

post.reshare_countinteger

Number of times the post was reshared

post.view_countinteger

Number of views; videos and reels only

post.duration_secondsnumber

Video length in seconds; videos and reels only

post.widthinteger

Width of the post media in pixels

post.heightinteger

Height of the post media in pixels

Errors

{ "error": "message" }
StatusMeaningRetry
400

Missing or invalid query parameter

{ "error": "username is required" }
No. Fix the request.
401

Missing or invalid X-API-KEY header

{ "error": "Invalid API key." }
No. Check the key.
429

Request quota exceeded — contact light@airaa.xyz to upgrade your plan

{ "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." }
After your quota resets
500

Server misconfiguration — API key environment variable not set

{ "error": "Server configuration error" }
No. Contact us.
502

Upstream provider temporarily unavailable — please try again

{ "error": "Upstream service unavailable" }
Yes, with backoff
504

Request timed out — please try again

{ "error": "Request timed out — please try again." }
Yes, with backoff
esc

Pages

Endpoints

↑↓ to move↵ to open