Back to Instagram
TikHub·Instagram
Instagram V1: Convert shortcode to media ID
/api/v1/instagram/v1/shortcode_to_media_idsync$0.0015 / callConvert Instagram post shortcode to media ID. Shortcode is the unique identifier in post URL, e.g., DRhvwVLAHAG in instagram.com/p/DRhvwVLAHAG/ (TikHub · Instagram V1)
Input
| Field | Type | Required | Description |
|---|---|---|---|
| shortcode | string | yes | Post shortcode |
Run it
curl -s https://www.sooma.dev/v1/run \
-H "Authorization: Bearer $SOOMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"tikhub","endpoint":"/api/v1/instagram/v1/shortcode_to_media_id","input":{}}'
Or ask your agent: it will call inspect for this schema and run it over MCP.