GETPosts1 credit

Get post

GET https://api.instagramapi.dev/v1/post

Returns caption, media URLs, like/comment counts, author, timestamp, and carousel children for a post or reel.

Build this with an AI agent

Paste this prompt into Claude, Codex, or any coding agent.

Parameters

NameTypeRequiredDescription
poststringyesAn Instagram post/reel. Accepts a media id, a shortcode (`C1a2b3c4d5e`), or a full post/reel URL. We resolve it automatically.

Example request

curl "https://api.instagramapi.dev/v1/post?post=https%3A%2F%2Fwww.instagram.com%2Fp%2FC1a2b3c4d5e%2F" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

Try it

Live request · uses 1 credit

Example responses

Switch tabs to see the body shape for success and each error status.

{
  "data": {
    "id": "3912183471120209303",
    "shortcode": "DZK3iOsRlWX",
    "type": "photo",
    "product_type": "feed",
    "url": "https://www.instagram.com/p/DZK3iOsRlWX/",
    "caption": "Just Do It.",
    "taken_at": "2026-06-04T15:59:27Z",
    "like_count": 2499414,
    "comment_count": 55165,
    "view_count": null,
    "image_url": "https://instagram.com/.../media.jpg",
    "video_url": null,
    "video_duration": null,
    "location": null,
    "author": {
      "id": "13460080",
      "username": "nike",
      "full_name": "Nike",
      "is_verified": true,
      "is_private": false,
      "profile_pic_url": "https://instagram.com/.../nike.jpg"
    }
  },
  "meta": {
    "endpoint": "post",
    "request_id": "req_3f8a1c9e",
    "credits_charged": 1,
    "credits_remaining": 4987,
    "ms": 412
  }
}

Response fields

Fields returned under data on a 200 response. Every response also includes a meta object with billing info.

FieldTypeDescription
idstringNumeric post/media id.
shortcodestringThe post's shortcode, the part after /p/ in its instagram.com URL.
typestringMedia type: photo, video, or carousel.
product_typestringMore specific format (e.g. feed, clips, igtv).
urlstringCanonical instagram.com URL for the post.
captionstringThe post's caption text.
taken_atstringWhen the post was published (ISO 8601, UTC).
like_countnumberNumber of likes.
comment_countnumberNumber of comments.
view_countnullView count for video/reel content; null for photos.
image_urlstringURL of the post's image (cover frame for video).
video_urlnullURL of the video file; null for photos.
video_durationnullVideo length in seconds; null for photos.
locationnullPlace tagged on the post, if any; null otherwise.
authorobjectThe account that published the post.
author.idstringNumeric account id (stable even if the username changes).
author.usernamestringThe account's @handle.
author.full_namestringDisplay name shown on the profile (may be empty).
author.is_verifiedbooleanWhether the account has a verified badge.
author.is_privatebooleanWhether the account is private.
author.profile_pic_urlstringURL of the account's profile picture.