# List Reels

Lists public profile reels with bounded cursor pagination, deduplication, and optional timestamp filtering.

- Platform: [Instagram](https://docs.upscrape.com/docs/platforms/instagram)
- Capability ID: `instagram.reels.list`
- Cost: 1 credit per request
- Maximum runtime: 120 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "limit": 5,
    "max_pages": 1,
    "url": "https://www.instagram.com/nasa"
  },
  "capability": "instagram.reels.list"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cursor` | `string` | No | Opaque next_cursor from this capability for the same profile and since value; resumes after the last returned item |
| `limit` | `integer` | No | Maximum reels returned per job From 1 to 200. Default: `50`. |
| `max_pages` | `integer` | No | Maximum upstream pages From 1 to 20. Default: `5`. |
| `since` | `integer` | No | Include items at or after this Unix timestamp within max_pages; pinned items may be out of order At least 0. |
| `url` | `string` | Yes | Instagram profile URL or username |

### Example input

```json
{
  "limit": 5,
  "max_pages": 1,
  "url": "https://www.instagram.com/nasa"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

No example output is available for this capability.


## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
