PeumeAPI

Social media data · Instagram

Instagram Post Embed Code

Get the oEmbed data and embed code for one Instagram post or Reel from its `url`.

$0.00083 per call

Call it

curl https://api.peume.com/v1/call/instagram-post-embed-code \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "your url"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-post-embed-code.

Parameters

maxwidthinteger

Maximum embed width in pixels, an integer from 320 to 658. Defaults to 540.

hidecaptionboolean

`true` hides the post caption in the embed. Defaults to `false`.

urlRequiredstring

A post or Reel link, such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.