# AnyAPI Instagram Embed

> AnyAPI Instagram Embed is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Fetches the oEmbed/embed data for an Instagram post, reel, or story URL, returning embeddable HTML and metadata.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/instagram.embed
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-instagram-embed-f0e1f6b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UbS9Dj7ZNBPoHqvE5m6LO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-instagram-embed-f0e1f6b1 -d '<json body>'
```

Example prompt: Can you fetch the embed data for this Instagram post — https://www.instagram.com/p/ABC123xyz/ — so I can display it on my site with the author name, thumbnail, and embed HTML?

## When to prefer this

Use this endpoint when you need to embed Instagram posts programmatically without managing your own scraping infrastructure or signing up for Meta's oEmbed API directly. Ideal for pay-per-use scenarios where you don't want a monthly subscription, and when you need embed data alongside other social/data APIs under one unified key.

## Known failure modes

- Invalid or private Instagram URL returns an error or empty response
- Post has been deleted or made private since crawl
- Rate limiting or temporary block from Instagram's backend
- Malformed URL input causes a 400-level error
- Network timeout if Instagram's servers are slow

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON object containing the embeddable HTML snippet for the Instagram content, along with metadata such as author name, author URL, thumbnail URL, thumbnail dimensions, media title, provider name, and oEmbed version.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-instagram-embed-f0e1f6b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
