Social Media
YouTube Channel Search
Search YouTube channels by keyword — channel id, name, handle, url, thumbnail, subscriber count, and description — with cursor pagination, as JSON.
POST/api/v1/youtube/channel/search
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonsearchstringrequiredSearch query (sent as search).
Example: lofi girl
cursorstringPagination cursor from a previous response (next_cursor). Keep passing it while has_more is true.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.youtube.channel_search("lofi girl")
print(results)Response
"next_cursor": "EqgDEgtsb2ZpIGdpcmwaggNDQVI2QUhvTA",
"has_more": true,
"total_count": 42
},
"response_time": 968,
"credits_used": 1,
"credits_remaining": 4752
}