post_urlstringआवश्यक
Post URL
https://api.sandbase.ai/v1/api/instagram/v1/post-by-url-v2Returns post details and media links for a specific Instagram post URL. Designed for faster responses when handling high-volume post lookups.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns details for one Instagram post: the caption, like and comment counts, the author, the post time, and direct links to the media files. It needs the full post URL in post_url.
data.medias[].curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/post-by-url-v2" \
-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.
{
"attempts": "0",
"data": {
"caption": "I’ll never forget how excited I was in 2006 when my first album sold 40,000 copi…",
"comment_count": 0,
"full_name": "Taylor Swift",
"like_count": 3861627,
"medias": [
{
"link": "https://instagram.fvcp2-1.fna.fbcdn.net/v/t51.82787-15/562815025_186013987930549…",
"type": "image"
}
],
"taken_at_timestamp": 1760377223,
"username": "taylorswift"
},
"status": true
}
| Field | Meaning |
|---|---|
data.caption | Caption text of the post. Long captions may appear shortened. |
data.username / data.full_name | Account handle and display name of the post author. |
data.like_count / data.comment_count | Number of likes and number of comments on the post. |
data.taken_at_timestamp | Time the post was taken, as a Unix timestamp in seconds. |
data.medias[].link | Direct URL of a media file in the post. |
data.medias[].type | Kind of media for that item, for example image. |
status | true when the lookup succeeded. |
attempts | Attempt counter returned as a string, 0 in this response. |
https://www.instagram.com/p/DPwhVB-jo9k/, as post_url.data.medias is a list, so a post with several items can return several links.$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-v2" \
-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-v2 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: post_url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Post Details by URL (V2) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।