Skip to content
OperationsYouTube

Search channels

One page of YouTube's search for channels, 20 channels in the order youtube.com shows them, each with its handle, subscribers, description and avatar.

youtube/channels/search1 credit a callv1.0.0

When to use it

You need the YouTube channels that match some words, as the search filtered by "Channels" shows them to a visitor: their name, @handle, subscribers, the start of their description, their verified or artist badge and their avatar, to find creators on a subject or a brand's channel by its name. Ask in another language and country (language, country) for what YouTube shows there. A channel's position is its rank in the search, across pages. Follow next for the following page. For one channel whole (its videos, views, links, country), use youtube/channels/get; for videos, youtube/videos/search.

Try it

The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.

1Request
Words to search for, as typed in YouTube's search box (a name, a subject, a brand).
1 credit a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "youtube",
    "operation": "channels/search",
    "options": {
      "query": "cooking recipes"
    }
  }'
2Response

An example answer. Run it on your own input.

{
  "object": "run",
  "id": "run_r2ayvlbltw5wgyvgabbeluj7zm",
  "livemode": true,
  "source": "youtube",
  "operation": "channels/search",
  "version": "1.0.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/youtube/channels/search",
  "options": {
    "query": "cooking recipes"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "channel",
      "position": 1,
      "id": "UCk1t2c3h4e5n6r7e8c9i0pS",
      "ids": {
        "channel_id": "UCk1t2c3h4e5n6r7e8c9i0pS"
      },
      "url": "https://www.youtube.com/@homecookingdaily",
      "title": "Home Cooking Daily",
      "handle": "@homecookingdaily",
      "description_snippet": "Easy recipes for every day of the week, from breakfast to dinner. New videos every Tuesday ...",
      "subscribers": 1240000,
      "subscribers_text": "1.24M subscribers",
      "is_verified": true,
      "is_artist": false,
      "thumbnails": [
        {
          "url": "https://yt3.ggpht.com/home-cooking-daily=s88-c-k-c0x00ffffff-no-rj-mo",
          "width": 88,
          "height": 88
        },
        {
          "url": "https://yt3.ggpht.com/home-cooking-daily=s176-c-k-c0x00ffffff-no-rj-mo",
          "width": 176,
          "height": 176
        }
      ],
      "source_url": "https://www.youtube.com/results?search_query=cooking+recipes&sp=EgIQAg%253D%253D",
      "observed_at": "2026-12-03T12:00:00Z"
    }
  ]
}

Options

querystringrequired
Words to search for, as typed in YouTube's search box (a name, a subject, a brand).
languagestringDefault en
The language YouTube speaks to the visitor (en, fr, de, es, pt-BR, ja...): subscribers_text is written in it ("254K subscribers", "1,6 M d’abonnés"), and subscribers read in it.
countrystringDefault US
The visitor's country, two letters (US, GB, FR, IN...), whose people YouTube searches for.
cursorstring
Where to go on, from next in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).

Record

Each record of results, in the envelope every call returns (Run an operation).

objectstring
positioninteger
The channel's rank in the search, across pages.
idstring
The channel's id on YouTube (UC...).
ids.channel_idstring
urlstring
Its page, at its @handle (or its id when it has none).
titlestring
The channel's name.
handlestring
Its @handle.
description_snippetstring
The start of its description as the result shows it, cut by YouTube with "..."; null when it has none.
subscribersinteger
Its subscribers, rounded as YouTube shows them (254K is 254000, "1,6 M" 1600000); null when the channel hides them.
subscribers_textstring
As shown, in language (254K subscribers).
is_verifiedboolean
YouTube's verified badge.
is_artistboolean
An official artist channel's badge.
thumbnailslist
Its avatar in its sizes, the largest last.
source_urlstring
The results page of youtube.com for this search, filtered by "Channels".
observed_atdate

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
ip_blocked503YouTube slowed down the IPs the call tried (429). Retry in a minute; failed calls are free. Retryable.
invalid_input422Pass the words to search for, and a language (en) and a country (US) when another one is needed.
site_unavailable503YouTube did not answer properly; retry later (not charged). Retryable.
unexpected_answer424YouTube answered in a shape we do not read yet; we are told and fix it (not charged).

Price

1 credit a call, one page of 20 channels. An empty page and a failed call are free. What a credit costs on each plan: Credits and pricing.

Changelog

1.0.02026-12-03
First version: one page of YouTube's search for channels, signed out, by words, in a language and a country; each channel with its handle, subscribers, description, badges and avatar.