YouTube channel profile and stats by handle or channel id: subscribers, video and view counts, description and links.
1 credit/ call
Never more than 2 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/youtube.channel" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"ThePatMcAfeeShow"}'{
"output": {
"found": true,
"data": {
"handle": "<string | null>",
"title": "<string | null>",
"subscribers": "<integer | null>",
"videos": "<integer | null>", …
}
},
"credits": 1
}Input and output
2 fields
ThePatMcAfeeShow.13 fields
Good to know
Terms of use. Public channel metadata; not affiliated with YouTube. Callers are responsible for lawful use.
The same key and credits work for every API.