# List Reels by audio

Streams public reels attached to an Instagram audio page with bounded cursor pagination.

- Platform: [Instagram](https://docs.upscrape.com/docs/platforms/instagram)
- Capability ID: `instagram.audio-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": {
    "audio_id": "28601503179449709",
    "limit": 12,
    "max_pages": 2
  },
  "capability": "instagram.audio-reels.list"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `audio_id` | `string` | Yes | Audio cluster ID from an Instagram /reels/audio/{id}/ URL |
| `cursor` | `string` | No | Continuation cursor returned by a previous request. |
| `limit` | `integer` | No | Maximum number of results to return. From 1 to 200. Default: `30`. |
| `max_pages` | `integer` | No | Maximum number of result pages to fetch. From 1 to 20. Default: `5`. |

### Example input

```json
{
  "audio_id": "28601503179449709",
  "limit": 12,
  "max_pages": 2
}
```

## Response

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

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

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "items": [
    {
      "data": {
        "media": {
          "caption": {
            "created_at": 1784311011,
            "text": "Mars in motion! ⏩ \n\nOur Psyche spacecraft is on its way to explore a rare, metal-rich asteroid. In May, Psyche got a speed boost by flying close to Mars and using the Red Planet’s gravity to slingshot the spacecraft toward its target. \n\nAs Psyche swooped within about 2,800 miles (4,500 km) of the Martian surface, it captured this series of high-resolution images. \n\nLaunched in October 2023, NASA’s…"
          },
          "coauthor_producers": [
            {
              "full_name": "NASA",
              "is_verified": true,
              "username": "nasa"
            },
            {
              "full_name": "NASA Solar System Exploration",
              "is_verified": true,
              "username": "nasasolarsystem"
            }
          ],
          "code": "Da5ynsiuAZ_",
          "comment_count": 668,
          "has_audio": true,
          "id": "3943405578951853695",
          "ig_play_count": 5335810,
          "image_versions2": {
            "candidates": [
              {
                "height": 1594,
                "width": 898
              },
              {
                "height": 1278,
                "width": 720
              },
              {
                "height": 1136,
                "width": 640
              }
            ]
          },
          "is_paid_partnership": false,
          "like_and_view_counts_disabled": false,
          "like_count": 66971,
          "media_type": 2,
          "original_height": 1920,
          "original_width": 1080,
          "pk": "3943405578951853695",
          "play_count": 5335810,
          "product_type": "clips",
          "taken_at": 1784311011,
          "user": {
            "full_name": "NASA Jet Propulsion Laboratory",
            "is_verified": true,
            "username": "nasajpl"
          },
          "video_duration": 75.492,
          "video_versions": [
            {
              "height": 1280,
              "type": 101,
              "width": 720
            },
            {
              "height": 1280,
              "type": 102,
              "width": 720
            },
            {
              "height": 1280,
              "type": 103,
              "width": 720
            }
          ]
        }
      }
    },
    {
      "data": {
        "media": {
          "caption": {
            "created_at": 1784640620,
            "text": "סוכנות החלל NASA הציגה: https://science.nasa.gov/photojournal/the-growing-crescent-of-mars-as-nasas-psyche-mission-approaches/ טיים־לאפס של טיסה סמוכה למאדים, שצולם על ידי גשושית החלל Psyche.\n\nהגשושית צילמה תיעוד ייחודי בזמן שביצעה תמרון כבידתי ליד כוכב הלכת. בצילומים אפשר לראות מכתשים רבים ואת כיפת הקרח הלבנה בקוטב.\n\nכעת הגשושית ממשיכה בדרכה אל האסטרואיד Psyche, שנמצא בין מאדים לצדק. היא צפויה לה…"
          },
          "coauthor_producers": [],
          "code": "DbDoBTmAg94",
          "comment_count": 0,
          "has_audio": true,
          "id": "3946173710125371256",
          "ig_play_count": 154,
          "image_versions2": {
            "candidates": [
              {
                "height": 360,
                "width": 640
              },
              {
                "height": 270,
                "width": 480
              },
              {
                "height": 180,
                "width": 320
              }
            ]
          },
          "is_paid_partnership": false,
          "like_and_view_counts_disabled": false,
          "like_count": 1,
          "media_type": 2,
          "original_height": 720,
          "original_width": 1280,
          "pk": "3946173710125371256",
          "play_count": 154,
          "product_type": "clips",
          "taken_at": 1784640619,
          "user": {
            "full_name": "TechNews",
            "is_verified": false,
            "username": "technewsheb"
          },
          "video_duration": 50.513,
          "video_versions": [
            {
              "height": 720,
              "type": 101,
              "width": 1280
            },
            {
              "height": 720,
              "type": 102,
              "width": 1280
            },
            {
              "height": 720,
              "type": 103,
              "width": 1280
            }
          ]
        }
      }
    }
  ],
  "summary": {
    "audio_id": "28601503179449709",
    "emitted": 2,
    "has_more": false,
    "pages": 2
  }
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `items` | `array` | 2 items |
| `items` | `array` | 2 items |
| `summary` | `object` | 4 fields |
| `summary.audio_id` | `string` | 28601503179449709 |
| `summary.emitted` | `integer` | 2 |
| `summary.has_more` | `boolean` | false |
| `summary.pages` | `integer` | 2 |

## 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)
