YouTube Channel Info Scraper REST API and Apify actor
Any YouTube channel's stats, in one call.
Paste a channel URL, @handle or id. Get subscribers, total views, video count, join date, country and About links as JSON.
0.80 USD per 1,000 channels. 5 USD free credits, no card. Credit packs.
curl -G "https://api.vakitek.co.uk/v1/youtube/channel" \ -H "X-API-Key: $VAKITEK_API_KEY" \ --data-urlencode "channel=@veritasium"
import os, requests r = requests.get("https://api.vakitek.co.uk/v1/youtube/channel", headers={"X-API-Key": os.environ["VAKITEK_API_KEY"]}, params={"channel": "@veritasium"}, timeout=120) for row in r.json()["data"]: print(row["channelName"], row["numberOfSubscribers"], row["channelTotalViews"])
{
"channelName": "Veritasium",
"channelHandle": "@veritasium",
"numberOfSubscribers": 21400000,
"channelTotalVideos": 549,
"channelTotalViews": 4748509710,
"channelJoinedDate": "2010-07-21T00:00:00.000Z",
"channelLocation": "United States",
"channelDescriptionLinks": [
{"text": "Elements of Truth - The Game", "url": "https://ve42.co/YTBio"},
{"text": "Buy SNATOMS", "url": "https://snatoms.com"},
...
],
"isChannelVerified": true,
"hasHiddenBusinessEmail": true,
...
}
What you get
Stats as plain numbers
numberOfSubscribers, channelTotalVideos and channelTotalViews, plus channelJoinedDate as an ISO date.
The About page
channelLocation, channelDescription, every custom link in channelDescriptionLinks and the creator's channelKeywords.
Flags for vetting
isChannelVerified, isFamilySafe, isAgeRestricted, and hasHiddenBusinessEmail when YouTube hides an email behind its sign in button.
Any input form
@handle, /channel/UC..., /c/ or /user/ URLs. On Apify, a video URL returns the channel that posted it.
Not included: the hidden business email itself (use YouTube Channel Email Finder), the channel's videos (use YouTube Channel Scraper). Limits and error codes.
Pay per channel found
Channels not found, duplicates and error rows are free. No minimum per run, no monthly plan.
One wallet for all 10 YouTube APIs. Credits never expire. Credit packs from 10 USD. Runs on Apify are billed by Apify.
Questions
Channel Info or Channel Scraper?
Stats only: this one. Stats plus every video, Short or stream: YouTube Channel Scraper, which bills a stats lookup at the same price.
Can I track subscriber counts over time?
Yes. Call it on a schedule from your own code, or schedule the Apify actor with your list of channels.
What if a channel has no country set?
channelLocation is null. We never guess it.
Is it legal to scrape YouTube channel data?
We read public YouTube pages only, with no login. YouTube's Terms of Service restrict automated access, so check your use against them and your local law.
Do I need Apify?
No. The REST API is separate: sign up with your email, copy your key, call it. Apify is the no-code option, billed by Apify on your Apify account at the same unit price plus its 0.00005 USD start event per run.
Look up your first channel.
API reference: endpoints, limits and error codes
Base URL https://api.vakitek.co.uk. Send your key in the X-API-Key header. Every response is JSON with data (one row per item), meta (request id, count, latency, paging cursor) and billing (what was charged).
GET /v1/youtube/channel
One channel per call, one row.
channel | @handle, channel URL or UC... id | required |
language | Interface language, e.g. fr | default en |
country | Country YouTube serves, e.g. FR | default US |
Lists of channels, video URLs as input and duplicate detection (a second input for the same channel is a free DUPLICATE row) are on the Apify actor (startUrls).
Limits
- Rate limit
- 120 requests per minute per API key (default). Over that you get 429. Need more? Write to support.
- Batch
- Transcript and Channel email take up to 25 videos or channels per
POST. More returns 422. - Page size
- Search up to 100 rows, Shorts and channel videos up to 200 rows per call, then follow
meta.next_cursor. - Concurrency
- No per-key cap. The service runs a limited number of scrapes at the same time and queues the rest, so very parallel clients wait longer. Start with 4 calls in flight.
- Latency
- 1 to 9 seconds per call in our checks on 23 Oct 2026 (one call per endpoint). Set your client timeout to 120 seconds.
- Wallet
- Checked before each call. When it is empty you get 402 and nothing runs. Runs on Apify are billed by Apify, not from this wallet.
- Data
- We keep request metadata (route, status, counts, timing) for billing and support. We do not keep a copy of the rows we return.
HTTP status codes
| Status | Body | Meaning | What to do |
|---|---|---|---|
| 200 | {data, meta, billing} | Done. Some rows may carry an error code (free). | Retry only rows whose code says retry later. |
| 401 | UNAUTHORIZED | Missing or wrong X-API-Key. | Fix the key. Do not retry. |
| 402 | INSUFFICIENT_CREDITS | Your wallet is empty. | Buy a pack, then retry. |
| 422 | INVALID_INPUT | A parameter is wrong, or more than 25 items in a batch. | Fix the request. Do not retry. |
| 429 | RATE_LIMITED | Over 120 requests per minute. | Wait, then retry with backoff: 1 s, 2 s, 4 s. |
| 502 | UPSTREAM_ERROR | YouTube or our service failed for the whole call. Not billed. | Retry once after a few seconds. |
| Row code | What happened | Retry | You pay |
|---|---|---|---|
channel row | The channel was found. The only billed row. | n/a | 0.80 USD / 1,000 |
| NOT_FOUND | The handle, URL or id doesn't match a real channel | no retry | free |
| INVALID_URL | The input isn't a channel handle, id, URL, or a video URL we can resolve to a channel | no retry | free |
| INVALID_INPUT | An option value is invalid | no retry | free |
| DUPLICATE | Two different inputs resolved to the same channel; the second one is free | no retry | free |
| BLOCKED | YouTube refused us for now, even after trying every proxy tier | retry later | free |
| UPSTREAM_ERROR | Something went wrong on YouTube's side or ours | retry later | free |
| UPSTREAM_UNAVAILABLE | Our API was unreachable | retry later | free |
| TIME_BUDGET_EXCEEDED | The time budget ran out before this channel finished | retry later | free |
