post_urlstringआवश्यक
Post URL
https://api.sandbase.ai/v1/api/instagram/v1/post-by-urlReturns details and display resources for a single Instagram post. Queries the platform using a target post link.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns details for a single Instagram post, including the owner, caption, like count, image sizes and posting time. It needs the full post link in post_url.
display_resources list.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/post-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"post_url": "https://www.instagram.com/p/DPwhVB-jo9k/"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
post_url | string | Yes | Post URL |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"__typename": "GraphImage",
"accessibility_caption": null,
"attempts": "0",
"can_see_insights_as_brand": false,
"caption_is_edited": false,
"coauthor_producers": [],
"commenting_disabled_for_viewer": true,
"comments_disabled": false,
"dimensions": {
"height": 1080,
"width": 1080
},
"display_resources": [
{
"config_height": 640,
"config_width": 480,
"src": "https://instagram.fbcn8-1.fna.fbcdn.net/v/t39.30808-6/735018292_1867233894105495…"
}
],
"display_url": "https://instagram.fbcn8-1.fna.fbcdn.net/v/t51.82787-15/562815025_186013987930549…",
"edge_media_preview_comment": {
"count": 0,
"edges": []
}
}
| Field | Meaning |
|---|---|
shortcode / id | The short code from the post URL and the numeric post ID. |
__typename / is_video | The post type (here GraphImage) and whether the post is a video. |
taken_at_timestamp | When the post was published, as a Unix timestamp in seconds. |
edge_media_to_caption.edges[].node.text | The caption text of the post. |
edge_media_to_caption.edges[].node.created_at | When the caption was written, as a Unix timestamp string. |
edge_media_preview_like.count | The number of likes on the post. |
edge_media_to_parent_comment.count | The number of top-level comments returned for the post. |
display_url | The main image link for the post. |
display_resources[].src | Image link for one size of the post image. Pair it with config_width / config_height. |
owner.username / owner.full_name / owner.id / owner.is_verified | The username, display name and numeric ID of the account that posted, and whether it is verified. |
is_ad / is_paid_partnership / comments_disabled | Flags that show whether the post is an ad, a paid partnership, or has comments turned off. |
https://www.instagram.com/p/DPwhVB-jo9k/. The shortcode in the response matches the code in the link.owner.edge_followed_by.count and owner.edge_owner_to_timeline_media.count values are 0. Call Instagram User Info by Username for the profile details of owner.username.$0.001 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/v1/post-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"post_url": "https://www.instagram.com/p/DPwhVB-jo9k/"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
post_urlstringआवश्यकPost URL
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Instagram | $0.001 प्रति कॉल | JSON |
Instagram | $0.001 प्रति कॉल | JSON |
Instagram | $0.001 प्रति कॉल | JSON |
Instagram | $0.001 प्रति कॉल | JSON |
Instagram | $0.001 प्रति कॉल | JSON |
Instagram | $0.001 प्रति कॉल | JSON |
गाइड्स:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/instagram/v1/post-by-url पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: post_url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Post Details by URL SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।