Convert Instagram media ID to shortcode
Converts a numeric media ID back into the shortcode used in post URLs, so you can rebuild a link to a post you only have an ID for.
3 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
media_id*string
Numeric media ID of a post, reel or TV item.
Length
1 <= lengthcurl -X GET "https://example.com/v3/instagram/util/shortcode?media_id=3963642343152205281" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "media_id": "string", "shortcode": "string", "property1": null, "property2": null }}