← All APIs
YouTube API
4 endpoints returning YouTube data as JSON, with the same API key, response envelope and credits as every other serpfast API.
Endpoints
| Path | Description |
|---|---|
| /youtube/channel | Channel · Get a YouTube channel's profile, videos, Shorts, playlists and posts. |
| /youtube/comments | Comments · Read public YouTube video comments with pagination. |
| /youtube/search | Search · Search YouTube videos, channels, playlists and Shorts. |
| /youtube/video | Video · Get a public YouTube video title, description, channel, and view count. |
Example request
Channel
curl "https://serpfast.com/api/v1/youtube/channel?channel_id=veritasium&tab=videos" \
-H "Authorization: Bearer $SERPFAST_KEY"Pricing
One credit per request on every YouTube endpoint. Failed requests are refunded automatically. Start with 5,000 free credits.
价格