Skip to main content
GET
/
v1
/
youtube
/
search_channels
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/youtube/search_channels?keyword=Rick+Astley&need_format=true' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "keyword": "Rick Astley",
    "channels": [
      {
        "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
        "title": "Rick Astley",
        "handle": "@RickAstleyYT",
        "subscriber_count_text": "4.46M subscribers",
        "description": "2026 UK & Ireland Reflection Tour     🎟️ Tickets are on sale now. New single 'Waiting On You' out now.",
        "thumbnails": [
          {
            "url": "//yt3.googleusercontent.com/vewxKdtll-rntHAMDPY_Qa6hPac3-J2sCFFUwvGSSR0i7hB4g5rNfF39lCEcjGvsYI0RWx7V1A=s88-c-k-c0x00ffffff-no-rj-mo",
            "width": 88,
            "height": 88
          },
          {
            "url": "//yt3.googleusercontent.com/vewxKdtll-rntHAMDPY_Qa6hPac3-J2sCFFUwvGSSR0i7hB4g5rNfF39lCEcjGvsYI0RWx7V1A=s176-c-k-c0x00ffffff-no-rj-mo",
            "width": 176,
            "height": 176
          }
        ],
        "is_subscribed": false,
        "canonical_url": "/@RickAstleyYT",
        "channel_url": "https://www.youtube.com/@RickAstleyYT"
      }
    ],
    "continuation_token": null,
    "has_more": false,
    "total_count": 1
  },
  "requestId": "10380c82-2a7b-4e53-9ef1-65eac3f48652"
}
πŸͺ™3 creditsper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

keyword
string

Search keyword; leave empty for subsequent requests

Example:

"Rick Astley"

continuation_token
string

Pagination token (optional), used to retrieve the next page

need_format
boolean
default:true

Whether to format the data. Default: true true: returns structured data in a formatted layout (recommended) false: returns the raw YouTube API structure, useful for debugging

Response

The response is of type object.