docs / youtube
YouTube
Video details, search, comments and transcripts.
base /youtube/v15 endpoints
post
/youtube/v1/search1 creditsearch videos/channels/playlists (youtubei /search)
| Parameter | Required |
|---|---|
| query | required |
| type | optional |
| limit | optional |
| continuation | optional |
post
/youtube/v1/video_detail1 creditvideo metadata: title/views/likes/date/channel/description (+ duration/keywords/thumbnails/caption-langs best-effort)
| Parameter | Required |
|---|---|
| video_id | required |
post
/youtube/v1/comments1 creditvideo comments (text/author/likes/replies), paginated
| Parameter | Required |
|---|---|
| video_id | required |
| limit | optional |
| continuation | optional |
post
/youtube/v1/channel1 creditchannel detail: subs/videoCount/description/links
| Parameter | Required |
|---|---|
| channel_id | required |
| handle | optional |
| url | optional |
post
/youtube/v1/transcript1 creditvideo transcript/captions (timed segments + full text) via the ANDROID client —, no PO-Token; select any language the video has via 'lang'; format=text|segments
| Parameter | Required |
|---|---|
| video_id | required |
| lang | optional |
| format | optional |
Example request · search
curl -X POST https://api.reefapi.com/youtube/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"lofi hip hop","type":"video","limit":20}'Response shape
{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}