Instagram Post Details by ID

https://api.sandbase.ai/v1/api/instagram/v1/post-by-id

Returns detailed information for a single Instagram post using its unique post identifier. Use this endpoint to look up post metadata and display resources.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
Post ID
OutputExample
Responseoutputs · 7.6 KB · 128 lines
[
  {
    "data": {
      "__typename": "GraphImage",
      "accessibility_caption": null,
      "attempts": "34",
      "can_see_insights_as_brand": false,
      "caption_is_edited": false,
      "coauthor_producers": [],
      "commenting_disabled_for_viewer": false,
      "comments_disabled": false,
      "dimensions": {
        "height": 1080,
        "width": 1080
      },
      "display_resources": [
        {
          "config_height": 480,
          "config_width": 360,
          "src": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/562815025_18601398793054956_8673755740587648163_n.jpg?stp=dst-jpg_e35_s480x480_sh2.08_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzc0MjYzNzg3MTExMjAzMjEwMA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=dKrxeuM_VmYQ7kNvwEo0FB8&_nc_oc=AdpZiZy2SQP3v4-JJu9FSErEcSlvXMg2CqsqZvyYUJb1lwCUkIsSMutRqtcLOEwdSL4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.fbcn2-1.fna&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&_nc_ss=7a3ba&oh=00_AQPTodbxxcJgq_qw8CoeJx1jSL546kKQBuex6av5218gsw&oe=6ACAABEF"
        },
        {
          "config_height": 1440,
          "config_width": 1080,
          "src": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/562815025_18601398793054956_8673755740587648163_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzc0MjYzNzg3MTExMjAzMjEwMA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=dKrxeuM_VmYQ7kNvwEo0FB8&_nc_oc=AdpZiZy2SQP3v4-JJu9FSErEcSlvXMg2CqsqZvyYUJb1lwCUkIsSMutRqtcLOEwdSL4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.fbcn2-1.fna&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&_nc_ss=7a3ba&oh=00_AQPsA_52nMLrWBqPl1VlpZnuEO7NYChm2t-3jGniIPVFow&oe=6ACAABEF"
        },
        {
          "config_height": 1080,
          "config_width": 1080,
          "src": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/562815025_18601398793054956_8673755740587648163_n.jpg?stp=c0.240.1440.1440a_dst-jpg_e35_s1080x1080_sh2.08_tt6&_nc_ht=instagram.fbcn2-1.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gEaFKXOPgA5Eg4aKQo1nUcg7qmKTCvGzTkLrEYJYIfyPcxILDD3_ghOiaPzvblQI5k&_nc_ohc=4mUaYQcnSSEQ7kNvwFutxrO&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&edm=AOmX9WgBAAAA&ccb=7-5&ig_cache_key=Mzc0MjYzNzg3MTExMjAzMjEwMA%3D%3D.3.c-ccb7-5&oh=00_AQNabE0Chb6xAz5UFrPNywynrcbwHvBqi4e1s5OsFopqzg&oe=6ACAABEF&_nc_sid=bfaa47"
        }
      ],
      "display_url": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/562815025_18601398793054956_8673755740587648163_n.jpg?stp=c0.240.1440.1440a_dst-jpg_e35_s1080x1080_sh2.08_tt6&_nc_ht=instagram.fbcn2-1.fna.fbcdn.net&_nc_cat=100&_nc_oc=Q6cZ2gEaFKXOPgA5Eg4aKQo1nUcg7qmKTCvGzTkLrEYJYIfyPcxILDD3_ghOiaPzvblQI5k&_nc_ohc=4mUaYQcnSSEQ7kNvwFutxrO&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&edm=AOmX9WgBAAAA&ccb=7-5&ig_cache_key=Mzc0MjYzNzg3MTExMjAzMjEwMA%3D%3D.3.c-ccb7-5&oh=00_AQNabE0Chb6xAz5UFrPNywynrcbwHvBqi4e1s5OsFopqzg&oe=6ACAABEF&_nc_sid=bfaa47",
      "edge_media_preview_comment": {
        "count": 0,
        "edges": []
      },
      "edge_media_preview_like": {
        "count": 3860655,
        "edges": []
      },
      "edge_media_to_caption": {
        "edges": [
          {
            "node": {
              "created_at": "1760377224",
              "id": "18084316565493094",
              "text": "I’ll never forget how excited I was in 2006 when my first album sold 40,000 copies in its first week. I was 16 and couldn’t even fathom that that many people would care enough about my music to invest their time and energy into it. Since then I’ve tried to meet and thank as many people as I could who have given me the chance to chase this insane dream. Here we are all these years later and a hundred times that many people showed up for me this week. I have 4 million thank you’s I want to send to the fans, and 4 million reasons to feel even more proud of this album than I already was. Thank you for going out to celebrate this project in the movie theaters, investing in vinyl, streaming, watching the video, buying CDs, reading the poems I wrote inside the packaging, and immersing yourselves in The Life of a Showgirl. I’ll cherish this feeling forever. Just wow. Thank you for the lovely bouquet 💐 \n\n📸: Mert Alas & Marcus Piggott"
            }
          }
        ]
      },
      "edge_media_to_hoisted_comment": {
        "edges": []
      },
      "edge_media_to_parent_comment": {
        "count": 0,
        "edges": [],
        "page_info": {
          "end_cursor": null,
          "has_next_page": false
        }
      },
      "edge_media_to_sponsor_user": {
        "edges": []
      },
      "edge_media_to_tagged_user": {
        "edges": []
      },
      "edge_web_media_to_related_media": {
        "edges": []
      },
      "fact_check_information": null,
      "fact_check_overall_rating": null,
      "gating_info": null,
      "has_ranked_comments": false,
      "id": "3742637871112032100",
      "is_ad": false,
      "is_affiliate": false,
      "is_paid_partnership": false,
      "is_video": false,
      "like_and_view_counts_disabled": false,
      "location": null,
      "media_overlay_info": null,
      "media_preview": null,
      "nft_asset_info": null,
      "owner": {
        "blocked_by_viewer": false,
        "edge_followed_by": {
          "count": 0
        },
        "edge_owner_to_timeline_media": {
          "count": 0
        },
        "followed_by_viewer": false,
        "full_name": "Taylor Swift",
        "has_blocked_viewer": false,
        "id": "11830955",
        "is_embeds_disabled": false,
        "is_private": false,
        "is_unpublished": false,
        "is_verified": true,
        "pass_tiering_recommendation": true,
        "profile_pic_url": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-19/811102599_18700319776054956_6854910356429154091_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fbcn2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gEaFKXOPgA5Eg4aKQo1nUcg7qmKTCvGzTkLrEYJYIfyPcxILDD3_ghOiaPzvblQI5k&_nc_ohc=m4ZgsTRvAdEQ7kNvwEwKjhZ&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&edm=AOmX9WgBAAAA&ccb=7-5&oh=00_AQPAW_l6CLTnlO2n55nii5pdldOlpu9IQJ6Ze_afARPtaA&oe=6ACAAE3E&_nc_sid=bfaa47",
        "requested_by_viewer": false,
        "restricted_by_viewer": null,
        "username": "taylorswift"
      },
      "pinned_for_users": [],
      "sensitivity_friction_info": null,
      "sharing_friction_info": {
        "bloks_app_url": null,
        "should_have_sharing_friction": false
      },
      "shortcode": "DPwhVB-jo9k",
      "status": true,
      "taken_at_timestamp": 1760377223,
      "thumbnail_src": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.82787-15/562815025_18601398793054956_8673755740587648163_n.jpg?stp=dst-jpg_e35_s480x480_sh2.08_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzc0MjYzNzg3MTExMjAzMjEwMA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=dKrxeuM_VmYQ7kNvwEo0FB8&_nc_oc=AdpZiZy2SQP3v4-JJu9FSErEcSlvXMg2CqsqZvyYUJb1lwCUkIsSMutRqtcLOEwdSL4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.fbcn2-1.fna&_nc_gid=vZMGa7aUKQ1axN7MqUb4XQ&_nc_ss=7a3ba&oh=00_AQPTodbxxcJgq_qw8CoeJx1jSL546kKQBuex6av5218gsw&oe=6ACAABEF",
      "tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiZTUxMGY1MTgxYjdiNDg3MmE0ZDlkNGIyYTRiZmFlZDIzNzQyNjM3ODcxMTEyMDMyMTAwIn0sInNpZ25hdHVyZSI6IiJ9",
      "upcoming_event": null,
      "viewer_can_reshare": true,
      "viewer_has_liked": false,
      "viewer_has_saved": false,
      "viewer_has_saved_to_collection": false,
      "viewer_in_photo_of_you": false
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

post_id
string · required

Access

Provider
Instagram
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/instagram/v1/post-by-id
Authentication
Bearer API key

API README

Instagram Post Details by ID API

Retrieve detailed post information and display resources for a specific Instagram post by providing its post_id.

Use cases

  • Look up media display resources and details for a specific post.
  • Inspect post information when building Instagram content views.
  • Verify post availability and retrieve associated metadata by post ID.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/post-by-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id": "3742637871112032100"}'

Parameters

NameTypeRequiredDescription
post_idstringYesPost ID

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "display_resources": [
    {}
  ]
}

Notes

  • Pass the target post identifier in post_id.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/instagram/v1/post-by-id
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/instagram/v1/post-by-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "post_id": "3742637871112032100"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram Post Details by ID API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/post-by-id with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Instagram Post Details by ID API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Instagram Post Details by ID API accept?

Required: post_id (string). The Parameters table and the Playground on this page list every field.

What does the Instagram Post Details by ID API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Instagram developer account or API key?

No. Instagram Post Details by ID runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.