Back to Instagram
TikHub·Instagram

Instagram V2: Convert shortcode to media ID

/api/v1/instagram/v2/shortcode_to_media_idsync$0.003 / call

Convert Instagram post shortcode to media ID. Shortcode is the unique identifier in post URL, e.g., DRhvwVLAHAG in instagram.com/p/DRhvwVLAHAG/ (TikHub · Instagram V2)

Input
FieldTypeRequiredDescription
shortcodestringyesPost 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/v2/shortcode_to_media_id","input":{}}'

Or ask your agent: it will call inspect for this schema and run it over MCP.