media_idany
Post media ID (numeric ID), can be obtained via `/shortcode_to_media_id` endpoint
https://api.sandbase.ai/v1/api/instagram/v3/post-infoReturns comprehensive details for an Instagram post, reel, or video. Look up content using either a direct media link or a specific media identifier.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns details for one Instagram post, reel, or video as a list under items. Send a post url or a numeric media_id.
code, fbid, and caption timestamp for record keeping.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"media_id": "3850699893338385742", "url": "https://www.instagram.com/p/DUajw4YkorV/"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
media_id | string | No | Post media ID (numeric ID), can be obtained via /shortcode_to_media_id endpoint |
url | string | No | Post URL, e.g. https://www.instagram.com/p/DUajw4YkorV/, supports /p/, /reel/, /reels/, /tv/ paths |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"_rid": "1ccf10e877cb4",
"auto_load_more_enabled": false,
"items": [
{
"are_remixes_crosspostable": true,
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_unavailable_reason_v2": null,
"can_see_insights_as_brand": false,
"can_view_more_preview_comments": false,
"can_viewer_reshare": true,
"can_viewer_save": true,
"caption": {
"bit_flags": 0,
"content_type": "comment",
"created_at": 1773259206,
"created_at_utc": 1773259206,
"did_report_as_spam": false,
"has_translation": true,
"is_covered": false,
"is_ranked_comment": false
},
"caption_is_edited": false,
"client_cache_key": "Mzg1MDY5OTg5MzMzODM4NTc0Mg==.3",
"clips_metadata": {
"achievements_info": {
"num_earned_achievements": null,
"show_achievements": false
},
"additional_audio_info": {
"additional_audio_username": null,
"audio_reattribution_info": {
"should_allow_restore": false
}
},
"asset_recommendation_info": null,
"audio_ranking_info": {
"best_audio_cluster_id": "727312237013877"
},
"audio_type": "original_sounds",
"branded_content_tag_info": {
"can_add_tag": false
},
"breaking_content_info": null,
"breaking_creator_info": null
}
}
],
"more_available": false,
"num_results": 1,
"status": "ok"
}
| Field | Meaning |
|---|---|
items[].code | Short code of the post. It is the part of the post URL after /p/ or /reel/. |
items[].comment_count | Number of comments on the post. |
items[].caption.created_at / items[].caption.created_at_utc | Time the caption was created, as a Unix timestamp in seconds. |
items[].caption.has_translation | Shows whether a translation exists for the caption. |
items[].fb_like_count / items[].fb_play_count / items[].fb_comment_count | Like, play, and comment counts for the Facebook side of the post. |
items[].fbid | Facebook-side ID for the post. |
items[].coauthor_producers[].full_name / items[].coauthor_producers[].id / items[].coauthor_producers[].is_verified | Name, user ID, and verified status of each co-author on a collaboration post. |
items[].clips_metadata.audio_type | Type of audio used in the reel. The value original_sounds marks audio made for this reel. |
items[].can_viewer_reshare / items[].can_viewer_save / items[].comment_likes_enabled | Flags that show whether the viewer can reshare or save the post and whether comment likes are on. |
items[].device_timestamp | Unix timestamp in seconds recorded by the posting device. |
url or media_id. The url can use the /p/, /reel/, /reels/, or /tv/ path.media_id from a post link, call Instagram Shortcode to Media ID (V3).items, and num_results is 1. more_available is false, so there is no paging.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.instagram.com/p/DUajw4YkorV/",
"media_id": "3850699893338385742"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
media_idanyPost media ID (numeric ID), can be obtained via `/shortcode_to_media_id` endpoint
urlanyPost URL, e.g. `https://www.instagram.com/p/DUajw4YkorV/`, supports `/p/`, `/reel/`, `/reels/`, `/tv/` paths
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Instagram | $0.008 प्रति कॉल | JSON |
Instagram | $0.008 प्रति कॉल | JSON |
Instagram | $0.008 प्रति कॉल | JSON |
Instagram | $0.008 प्रति कॉल | JSON |
Instagram | $0.002 प्रति कॉल | JSON |
Instagram | $0.008 प्रति कॉल | JSON |
गाइड्स:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/instagram/v3/post-info पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.008 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: media_id (any) और url (any)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Post Details (V3) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।