Instagram · Guide

How to get Instagram embed

TL;DR
To get Instagram embed, sign up for a free Captapi key, then send one GET request to /v1/instagram/embed with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Get full Instagram video metadata — title, views, likes, duration, and more.

How to get Instagram embed (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Instagram Embed API

    Send an authenticated GET request to /v1/instagram/embed with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Results are cached for 24 hours, so repeat calls are free.

Code example

curl "https://api.captapi.com/v1/instagram/embed?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FCzKZqfdN5j8%2F" \
  -H "Authorization: Bearer capt_live_..."

What the response looks like

{
  "success": true,
  "cached": false,
  "creditsUsed": 1,
  "data": {
    "platform": "instagram",
    "url": "https://www.instagram.com/p/DZFqdAxlkUG/",
    "shortcode": "DZFqdAxlkUG",
    "permalink": "https://www.instagram.com/p/DZFqdAxlkUG/",
    "html": "<blockquote class=\"instagram-media\" data-instgrm-permalink=\"https://www.instagram.com/p/DZFqdAxlkUG/\" data-instgrm-version=\"14\"></blockquote><script async src=\"//www.instagram.com/embed.js\"></script>"
  }
}

Request parameters

NameTypeRequiredDescription
urlstring YesInstagram post or reel URL, e.g. https://instagram.com/reel/ID/. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.

Frequently asked questions

What does the Instagram Embed API do?

The Instagram Embed API lets you fetch full metadata and engagement stats from a public Instagram video using one GET request to /v1/instagram/embed. It returns clean JSON — no OAuth or scraping setup required.

How many credits does the Instagram Embed API cost?

Each successful call costs 1 credit. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.

Do I need a Instagram API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.

Is the Instagram Embed API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.

Ready to get Instagram embed?

Start free with 100 credits — no credit card required.

Get your free API key