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"
}Search YouTube channels. Returns only channel-type results (filters out videos, playlists, etc.). Supports paginated retrieval for more channels.
Usage flow:
Notes: Each page typically returns 10-20 channels
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"
}π€ 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.
Search keyword; leave empty for subsequent requests
"Rick Astley"
Pagination token (optional), used to retrieve the next page
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
The response is of type object.