Instagram Media ID to Shortcode (v2 Route)
omnial/instagram-v2-media-id-to-shortcode
Given an Instagram post's numeric media ID, returns its shortcode (the code used in the post's link after /p/), along with the numeric media ID it was given. Uses a second conversion route; the same conversion as the first-route tool, offered as an alternative.
Price
Up to $0.0041 per call; you pay what the call used
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
Data from Instagram.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/instagram-v2-media-id-to-shortcode" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/instagram-v2-media-id-to-shortcode" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/instagram-v2-media-id-to-shortcode", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/instagram-v2-media-id-to-shortcode", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0041 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"media_id"
],
"properties": {
"media_id": {
"type": "string",
"pattern": "^[0-9]+$",
"minLength": 1,
"description": "The post's long numeric Instagram media ID, as a string of digits."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"media_id": {
"type": "string",
"description": "The numeric media ID that was converted, echoed back."
},
"shortcode": {
"type": "string",
"description": "The post's shortcode, as used in its link after /p/."
}
},
"description": "The conversion result, as returned after shaping."
}