# List channel Shorts

List channel Shorts and view counts. Dates and durations may be unavailable. Rounded numeric counts are marked approximate.

- Platform: [YouTube](https://docs.upscrape.com/docs/platforms/youtube)
- Capability ID: `youtube.channel-shorts.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,
    "url": "https://www.youtube.com/@MrBeast"
  },
  "capability": "youtube.channel-shorts.list"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum number of results to return. From 1 to 500. Default: `100`. |
| `max_pages` | `integer` | No | Maximum number of result pages to fetch. From 1 to 100. Default: `5`. |
| `url` | `string` | Yes | Public URL of the page to fetch. |

### Example input

```json
{
  "limit": 5,
  "url": "https://www.youtube.com/@MrBeast"
}
```

## 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": [
    {
      "accessibility_text": "Can We Build an Entire Village?, 17 million views - play Short",
      "entity_id": "shorts-shelf-item-T_SMf9j50uc",
      "headline": "Can We Build an Entire Village?",
      "thumbnails": [
        {
          "height": 1920,
          "url": "https://i.ytimg.com/vi/T_SMf9j50uc/frame0.jpg",
          "width": 1080
        }
      ],
      "type": "short",
      "video_id": "T_SMf9j50uc",
      "view_count": 17000000,
      "view_count_approximate": true,
      "views": "17M views"
    },
    {
      "accessibility_text": "World’s Largest Tennis Match, 14 million views - play Short",
      "entity_id": "shorts-shelf-item-5mU6SRS2Bxo",
      "headline": "World’s Largest Tennis Match",
      "thumbnails": [
        {
          "height": 1920,
          "url": "https://i.ytimg.com/vi/5mU6SRS2Bxo/frame0.jpg",
          "width": 1080
        }
      ],
      "type": "short",
      "video_id": "5mU6SRS2Bxo",
      "view_count": 14000000,
      "view_count_approximate": true,
      "views": "14M views"
    },
    {
      "accessibility_text": "Can You Pass This Classroom Quiz?, 53 million views - play Short",
      "entity_id": "shorts-shelf-item-LiH-P4rSkLI",
      "headline": "Can You Pass This Classroom Quiz?",
      "thumbnails": [
        {
          "height": 1920,
          "url": "https://i.ytimg.com/vi/LiH-P4rSkLI/frame0.jpg",
          "width": 1080
        }
      ],
      "type": "short",
      "video_id": "LiH-P4rSkLI",
      "view_count": 53000000,
      "view_count_approximate": true,
      "views": "53M views"
    }
  ],
  "summary": {
    "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
    "has_more": true,
    "pages": 1,
    "tab": "shorts",
    "total_items": 30
  }
}
```
### 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` | 3 items |
| `items` | `array` | 3 items |
| `summary` | `object` | 5 fields |
| `summary.channel_id` | `string` | UCX6OQ3DkcsbYNE6H8uQQuVA |
| `summary.has_more` | `boolean` | true |
| `summary.pages` | `integer` | 1 |
| `summary.tab` | `string` | shorts |
| `summary.total_items` | `integer` | 30 |

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