YouTube API

YouTube Channel shorts API

List a YouTube channel's Shorts by handle or channel ID with cursor pagination, views, and publish timestamps.

POST/v1/run/youtube.channel_shorts
Uptime
99.32%
30d · 592 calls
Requests
592
30d · weekly, last 12 wks
Response
5.8s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "nextCursor": "example",
    "shorts": [
      {
        "contentType": "short",
        "createdUtc": 12.5,
        "duration": "example",
        "id": "a1b2c3d4",
        "likes": 12500,
        "title": "Example title",
        "url": "https://example.com/page",
        "views": 12500,
        "viewsAvailable": true
      }
    ]
  },
  "found": true
}
Response interface
interface YoutubeChannelShortsResponse {
  data: {
    nextCursor: string | null;
    shorts: {
      contentType: "short";
      createdUtc?: number;
      duration: string;
      id: string;
      likes: number;
      title?: string;
      url: string;
      views: number;
      viewsAvailable: boolean;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/youtube.channel_shorts
curl -X POST https://api.getanyapi.com/v1/run/youtube.channel_shorts \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"@zachking","sort":"latest"}'
FieldTypeExample value
Request body
channelIdstringYouTube channel ID beginning with UC.
cursorstringContinuation token from a previous response.
handlestring"@zachking"YouTube channel handle, including or omitting the leading @.
sortenum"latest"Sort order for the Shorts feed. latest and newest are equivalent.
Response
dataobjectThe normalized Shorts page, or null when the channel was not found.
data.nextCursorstringOpaque cursor for the next Shorts page, or null when no next page is available.
data.shortsobject[]Short-form videos returned by the provider's dedicated YouTube Shorts endpoint. Populated whenever the provider has data for the entity.
data.shorts[].contentType"short"Explicit normalized provenance that this item came from a dedicated Shorts feed.
data.shorts[].createdUtcnumberUTC epoch timestamp in seconds when supplied by the upstream response.
data.shorts[].durationstringPublished duration when supplied by the upstream response.
data.shorts[].idstringUnique YouTube video identifier. Populated whenever the provider has data for the entity.
data.shorts[].likesintegerPublic like count when supplied by the upstream response.
data.shorts[].titlestringPublic title or caption for the Short. Populated whenever the provider has data for the entity.
data.shorts[].urlstringPublic YouTube URL for the Short. Populated whenever the provider has data for the entity.
data.shorts[].viewsintegerPublic view count when supplied by the upstream response.
data.shorts[].viewsAvailablebooleanWhether views is backed by a public count in the upstream response.
foundbooleanWhether the channel Shorts feed was found.
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the YouTube Channel shorts API

The AnyAPI YouTube Channel shorts API returns YouTube channel shorts data as normalized JSON from one POST call to /v1/run/youtube.channel_shorts. List a YouTube channel's Shorts by handle or channel ID with cursor pagination, views, and publish timestamps. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.3% of YouTube channel shorts calls through AnyAPI succeeded, with a median response time of 5.8 seconds across 592 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List a YouTube channel's Shorts by handle or channel ID with cursor pagination, views, and publish timestamps. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.3% of YouTube channel shorts calls through AnyAPI succeeded, with a median response time of 5.8 seconds across 592 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.