100 free credits. No credit card required. Get a key

YouTube channel search API

Search one channel’s videos with the channel page’s own search box, about 30 a page.

GET /v1/youtube/channels/{channel}/searchBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/youtube/channels/@mkbhd/search?q=iphone",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"kind": "youtube#videoListResponse",
"items": [
{
"kind": "youtube#video",
"id": "Od6M0AXpcxQ",
"snippet": {
"publishedTimeText": "2 months ago",
"publishedAt": "2026-09-25T12:00:00.000Z",
"publishedAtIsApproximate": true,
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelTitle": "Marques Brownlee",
"title": "iPhone 18 Pro/Duo Impressions: Mogged",
"description": "The first folding iPhone Duo and iPhone 18 Pro are here, and this is everything you need t…",
"thumbnails": {
"default": {
"…": "3 fields"
},
"medium": {
"…": "3 fields"
},
"high": {
"…": "3 fields"
},
"standard": {
"…": "3 fields"
}
},
"liveBroadcastContent": "none"
},
"channel": {
"id": "UCBJycsmduvYEL83R_U4JriQ",
"title": "Marques Brownlee",
"handle": "@mkbhd",
"url": "https://www.youtube.com/@mkbhd",
"thumbnails": {
"default": {
"…": "3 fields"
},
"medium": {
"…": "3 fields"
},
"high": {
"…": "3 fields"
}
},
"isVerified": true
},
"statistics": {
"viewCount": "28331476"
},
"contentDetails": {
"duration": "PT17M14S",
"durationSeconds": 1034
}
},
{
"kind": "youtube#video",
"id": "ohqxP8EEumo",
"snippet": {
"publishedTimeText": "2 months ago",
"publishedAt": "2026-09-25T12:00:00.000Z",
"publishedAtIsApproximate": true,
"channelId": "UCBJycsmduvYEL83R_U4JriQ",
"channelTitle": "Marques Brownlee",
"title": "iPhone 18 Pro Review: All About that Chip",
"description": "iPhone 18 Pro is basically an S year upgrade. And one part of it is really impressive.\n\nPr…",
"thumbnails": {
"default": {
"…": "3 fields"
},
"medium": {
"…": "3 fields"
},
"high": {
"…": "3 fields"
},
"standard": {
"…": "3 fields"
}
},
"liveBroadcastContent": "none"
},
"channel": {
"id": "UCBJycsmduvYEL83R_U4JriQ",
"title": "Marques Brownlee",
"handle": "@mkbhd",
"url": "https://www.youtube.com/@mkbhd",
"thumbnails": {
"default": {
"…": "3 fields"
},
"medium": {
"…": "3 fields"
},
"high": {
"…": "3 fields"
}
},
"isVerified": true
},
"statistics": {
"viewCount": "12536399"
},
"contentDetails": {
"duration": "PT16M36S",
"durationSeconds": 996
}
},
"… 1 more"
],
"pageInfo": {
"resultsPerPage": 6
}
}

Parameters

NameTypeDescription
channelpath · requiredstringA channel id (UC…), a handle with or without the @, or any channel URL (/@handle, /channel/UC…, /c/name, /user/name). Example: @MrBeast.
qquery · requiredstringWords to find. Example: iphone.
afterquerystringThe previous page’s nextPageToken. Tokens last 6 hours.
Response fields

200 with a YouTubeVideoList, in the shape of YouTube Data API v3 resources.

FieldTypeDescription
kind"youtube#videoListResponse"
itemsYouTubeVideo[]
nextPageTokenstringPass as after for the next page. Absent on the last page. Lasts 6 hours.
pageInfoobject
missingobject[]Batch only: requested ids that did not resolve, and why.
Status codes
StatusMeaning
200Matching videos.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The video, channel, playlist or post does not exist, was removed, or has nothing there.
429Too many requests. Wait for Retry-After seconds.
503YouTube is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Shorts included?

Whatever the channel search box returns.

YouTube is a trademark of Google LLC. We are not affiliated with or endorsed by Google or YouTube.