Instagram Post Details

Retrieves an Instagram post by its shortcode. Use it to look up a known post before content review, archiving, comment analysis, or related workflows.

GET /v1/instagram/get_post_detail_v1 $0.02
Price
$0.02 per successful call, Failed calls are free
Endpoint ID
instagram.get_post_detail_v1

Parameters

  • code string Required

    The unique shortcode from the Instagram post URL.

    ExampleC0AZ5Tjsr1v

Code samples

curl -G "https://api.mofa-ai.com/v1/instagram/get_post_detail_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'code=C0AZ5Tjsr1v'

Example response

Request parameters {"code": "C0AZ5Tjsr1v"}

JSON Captured 2026-11-08, took 4227 ms
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "instagram.get_post_detail_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "status": false,
      "errorMessage": "This post does not exist."
    },
    "message": null,
    "requestId": "e4173b2f629b437f99e0b477966e823b",
    "recordTime": "2026-11-08T08:00:02.710795068",
    "requestParams": {
      "body": null,
      "query": {
        "code": "C0AZ5Tjsr1v"
      }
    }
  }
}

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

More Instagram endpoints

  • User Profile v1

    $0.02

    Retrieves an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.

    /v1/instagram/get_user_detail_v1

  • User Profile v2

    $0.02

    Retrieves an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.

    /v1/instagram/get_user_detail_v2

  • User Published Posts

    $0.02

    Retrieves posts published by an Instagram user with token-based pagination. Use it to browse a known account's post history or continue through subsequent re…

    /v1/instagram/get_user_posts_v1

  • Reels Search

    $0.02

    Searches Instagram Reels by keyword or hashtag with token-based pagination. Use it to discover short-form videos, monitor topics, and continue through matchi…

    /v1/instagram/search_reels_v1

  • Hashtag Posts Search

    $0.02

    Searches Instagram posts by hashtag with cursor pagination. Use it to explore tagged content, monitor topics, and continue through subsequent result pages.

    /v1/instagram/search_hashtag_posts_v1

  • Post Comment List

    $0.02

    Retrieves top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting. Use it to review audience feedback or…

    /v1/instagram/get_post_comments_v1

  • Comment Reply List

    $0.02

    Retrieves replies to a specific Instagram post comment by media and comment IDs, with cursor pagination. Use it to inspect threaded discussion and continue t…

    /v1/instagram/get_comment_replies_v1

↑↓ to move, Enter to open, Esc to close