Social Media
Instagram Post
Get full details for an Instagram post — caption, media, author, and like/comment counts — by url, media_id, or shortcode.
POST/api/v1/instagram/post
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonurlstringPost URL. Provide url, media_id, or shortcode.
Example: https://www.instagram.com/p/DZz4bjIjhdm/
media_idstringNumeric media id.
shortcodestringPost shortcode.
Example: DZz4bjIjhdm
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.post(shortcode="DZz4bjIjhdm")
print(results)Response
"num_results": 1,
"more_available": false,
"auto_load_more_enabled": false,
"status": "ok"
},
"response_time": 1472,
"credits_used": 2,
"credits_remaining": 4728
}