Get Instagram post
Returns public media details and the first page of comments for one Instagram post. Provide the shortcode as code or the numeric media_id; one of the two is required.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
code?string
Post shortcode: the path segment after /p/ or /reel/ in the post URL. Required unless media_id is set.
Length
1 <= lengthmedia_id?string
Numeric media ID. Required unless code is set.
Length
1 <= lengthcurl -X GET "https://example.com/v1/instagram/post" \ -H "x-api-key: YOUR_API_KEY"{ "data": {}}