# Coockies.ai Instagram Media API

> Coockies.ai Instagram Media API is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.065865/call, status unknown (last checked 2026-09-20).

Fetches Instagram media data (posts, images, videos, reels) for a given account or media item via a pay-per-call API

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/ig-media-api
- Price: $0.065865/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-instagram-media-api-786acd7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DC02_GDlij0Yh4NTfX1wz

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 coockies-ai-instagram-media-api-786acd7f -d '<json body>'
```

Example prompt: Can you pull the recent media posts from the Instagram account @natgeo — I need the image URLs, captions, and engagement counts for the last 10 posts?

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-subscription way to retrieve Instagram media data without managing your own Meta developer credentials or Instagram Graph API integration. Ideal for sporadic lookups or agent workflows that occasionally need Instagram content without committing to a monthly API plan.

## Known failure modes

- Invalid or private Instagram account returns empty or error result
- Rate limiting from underlying Instagram API causing failed lookups
- Missing or malformed account identifier resulting in no data returned
- Instagram API token expiry causing authentication failures
- Non-existent media ID returning null result object

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing Instagram media data for the requested account or media item, including post metadata such as image/video URLs, captions, media type, timestamps, and engagement metrics like likes and comments counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coockies-ai-instagram-media-api-786acd7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coockies-ai.vercel.app](https://www.zero.xyz/host/coockies-ai.vercel.app/llms.txt)
