Catalog/YouTube/Search shorts
POST

YouTube Search shorts API

/v1/run/youtube.search_shorts

Search YouTube Shorts by keyword and get matching Shorts (title, views, URL) with cursor pagination as normalized JSON.

Category VideoRequests / mo 1Routing 1 lane · no failover
Get ~100 free requests

Pricing

One price, in dollars

pay per request · no subscription · fallbacks added as the catalog grows
Request
Gateway request
discovered operation
↓
Router
↓
Providers · 1
↳ One lane serves this endpoint today, so a failed call has nowhere to fail over to. Failed attempts are never billed. Uptime, latency and traffic are measured through the gateway, last 30 days.

Try it

Make your first request

run it free, no key · same shape for every API
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": "A short example description of this item.",
        "id": "a1b2c3d4",
        "title": "Example title",
        "url": "https://example.com/page",
        "views": 12500,
        "viewsAvailable": true
      }
    ]
  },
  "found": true
}
Response interface
interface YoutubeSearchShortsResponse {
  data: {
    nextCursor?: string | null;
    shorts: {
      contentType: string;
      id: string;
      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-03 · uptime and latency measured over 30d
POST /v1/run/youtube.search_shorts
curl -X POST https://api.getanyapi.com/v1/run/youtube.search_shorts \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"cats"}'
FieldTypeExample value
Request body
querystring"cats"The keyword to search Shorts for.
cursorstringContinuation token from a previous response for pagination.
sortByenumSort order: "relevance" (default) or "popular" (most-viewed).
uploadDateenumFilter by upload recency. Omit for any time.
Response
dataobject
data.nextCursorstringOpaque cursor for the next page of results, or null when there are no more. Pass it back as cursor to continue.
data.shortsobject[]Populated whenever the provider has data for the entity.
data.shorts[].contentTypestringAlways "short": every row here comes from YouTube's Shorts shelf.
data.shorts[].idstringYouTube video id of the Short. Populated whenever the provider has data for the entity.
data.shorts[].titlestringTitle of the Short. Populated whenever the provider has data for the entity.
data.shorts[].urlstringWatch URL for the Short. Populated whenever the provider has data for the entity.
data.shorts[].viewsintegerView count, or 0 when the source did not publish one. Read viewsAvailable before trusting a 0.
data.shorts[].viewsAvailablebooleanFalse when the source published no view count, so views is a placeholder rather than a measured zero.
foundboolean
Price
Price per requestUSD$0.002
Price /1k reqUSD$2.00

FAQ

About the YouTube Search shorts API

The AnyAPI YouTube Search shorts API returns YouTube search shorts data as normalized JSON from one POST call to /v1/run/youtube.search_shorts. Search YouTube Shorts by keyword and get matching Shorts (title, views, URL) with cursor pagination as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $2 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of YouTube search shorts calls through AnyAPI succeeded, with a median response time of 2.2 seconds across 1 measured calls.

It costs from $2 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.

Search YouTube Shorts by keyword and get matching Shorts (title, views, URL) with cursor pagination as normalized JSON. 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, 100.0% of YouTube search shorts calls through AnyAPI succeeded, with a median response time of 2.2 seconds across 1 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Get started

Two ways to start on AnyAPI

Humans fund a USD wallet and pay per request. Agents point a coding agent at one URL and onboard themselves.

Get ~100 free requests
Works with
Terminal agentsClaude CodeCursorCodexMCP clients