Skip to content
Eden Engine

Instagram Shortcode to Media ID (v2 Route)

omnial/instagram-v2-shortcode-to-media-id

Given an Instagram post's shortcode, returns its numeric media ID, along with the shortcode it was given. Uses a second conversion route; the same conversion as the first-route tool, offered as an alternative.

activeper callv1

Price

Up to $0.0041 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Instagram

Data from Instagram.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/instagram-v2-shortcode-to-media-id" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/instagram-v2-shortcode-to-media-id" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/instagram-v2-shortcode-to-media-id", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/instagram-v2-shortcode-to-media-id", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not 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.

ChargePrice
Per call
$0.0041
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "shortcode"
  ],
  "properties": {
    "shortcode": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "minLength": 1,
      "description": "The post's Instagram shortcode: the letters, digits, hyphens and underscores after /p/ in its link."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "media_id": {
      "type": "string",
      "description": "The post's long numeric media ID, as a string of digits."
    },
    "shortcode": {
      "type": "string",
      "description": "The shortcode that was converted, echoed back."
    }
  },
  "description": "The conversion result, as returned after shaping."
}