Spiral gives your agent every tool with one account. Browse the tools →

Zapier · Social Media

How to Use Instagram post shortcode to media ID in Zapier

Convert an Instagram post shortcode into its numeric media ID. Use it to match saved post links with records indexed by media ID.

Prompts to try with Instagram post shortcode to media ID in Zapier

Copy an example into Zapier, or ask in your own words.

Every morning, use Instagram post shortcode to media ID for newly submitted public brand post references in our internal register, starting with DeJ28eTxo4s. Report the converted mappings.

Instagram post shortcode to media IDZapier
Try asking
  • Each Monday, use Instagram post shortcode to media ID for pending references in our internal campaign list, starting with DeJ28eTxo4s and DeTUk4sDSp-. Return the shortcode-to-ID table.

  • At the end of each day, use Instagram post shortcode to media ID for newly added public post references, starting with DeTUk4sDSp-. Report which returned IDs already appear in our internal register.

  • Every Friday, use Instagram post shortcode to media ID for campaign entries missing a numeric ID, starting with DeJ28eTxo4s. Send me the completed mappings in the scheduled report.

  • Each morning, use Instagram post shortcode to media ID for unresolved entries in our internal content inventory, starting with DeJ28eTxo4s and DeTUk4sDSp-. List successful conversions separately from entries with no returned ID.

How to set up Instagram post shortcode to media ID in Zapier

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Zapier this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add an MCP Client connection

    In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

  3. Run a Spiral tool in a Zap

    Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: discover finds the right model for a task, estimate_cost prices it and run runs it. For example, run with:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Instagram post shortcode to media ID in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Instagram post shortcode to media ID, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Instagram post shortcode to media ID

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "tikhub",
        "model": "tikhub/instagram-v3-shortcode-to-media-id",
        "input": {
          "shortcode": "CrgVBtHrFHm"
        }
      }'

Then paste one of the prompts above: Zapier finds Instagram post shortcode to media ID on Spiral, shows the price and runs it.

Instagram post shortcode to media ID providers and prices

Spiral runs Instagram post shortcode to media ID through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V3 · Convert shortcode to media ID
tikhub/instagram-v3-shortcode-to-media-id

What can you do with Instagram post shortcode to media ID in Zapier?

Keep an internal Instagram reference register supplied with numeric media IDs as post links arrive. A scheduled agent can convert newly submitted shortcodes and report which entries received an ID.

Match campaign links to reporting records

Convert the shortcodes in a brand's saved Instagram campaign links, then match the returned media IDs against an existing internal reporting export.

Fill missing IDs in a content inventory

Add numeric media IDs to internal content records that currently contain only Instagram post links.

Find duplicate post references

Convert collected post shortcodes and compare the resulting IDs to find repeated references in an internal campaign register.

Reconcile agency and brand reports

Create a shortcode-to-ID table so an internal review can compare an agency's link-based delivery list with a brand's ID-based records.

Prepare a content database migration

Convert saved Instagram post references before moving an internal content inventory into a database that uses numeric media IDs.

Resolve a mismatched post reference

Convert the shortcode from a disputed campaign link and compare its media ID with the ID stored in the internal report.

Questions about Instagram post shortcode to media ID in Zapier

Can Zapier use Instagram post shortcode to media ID?

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run Instagram post shortcode to media ID like any built-in tool.

How much does Instagram post shortcode to media ID cost in Zapier?

$0.0026 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

Do I need a TikHub account to use Instagram post shortcode to media ID in Zapier?

No. Spiral runs Instagram post shortcode to media ID on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up Instagram post shortcode to media ID in Zapier?

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

Does Zapier wait while Instagram post shortcode to media ID runs?

Instagram post shortcode to media ID runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

What does Instagram shortcode conversion return?

TikHub documents the result as a numeric media ID derived from an Instagram post shortcode. Its documented purpose is identifier conversion.

How does a shortcode relate to an Instagram post link?

TikHub documents the post URL pattern instagram.com/p/{shortcode}/. The shortcode is the post reference between /p/ and the final slash.

Does TikHub's coverage include private Instagram content?

TikHub states that it accesses and processes only publicly available data. Its stated coverage does not include private content.

Does TikHub update results after delivering them?

TikHub's terms say it has no obligation to verify, update, or correct data after delivery. A delivered result does not include a commitment to maintain that data afterward.

What business use does TikHub's service license permit?

TikHub limits its service license to lawful internal business purposes. That is the stated use boundary for the service.

Get started

Start using Instagram post shortcode to media ID in Zapier

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Zapier:

Set up Zapier

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options