Skip to main content

Get shortcode by id

Get media shortcode by media id. This endpoint is provided free of charge.

Params

NameTypeDefaultDescription
id (required)stringMedia id

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_media_shortcode_by_id(2967835229909923253))

Response example

Loading...