YouTube Channel Info
Structured YouTube data: send urls. Single lookup, 1 credit per successful call.
GET · POST1 credit / successful callSingle lookup
Overview
Section titled “Overview”Call GET /api/v2/youtube-channel-info/ with urls. The results are in data.items. 1 optional parameter refines the call (see Parameters).
Request
Section titled “Request”curl -G "https://api.scrapier.io/api/v2/youtube-channel-info/" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "urls=MrBeast" \ --max-time 210const params = new URLSearchParams({ urls: "MrBeast" });
const res = await fetch(`https://api.scrapier.io/api/v2/youtube-channel-info/?${params}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000),});const body = await res.json();if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
console.log(body.data.items);import requests
resp = requests.get( "https://api.scrapier.io/api/v2/youtube-channel-info/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"urls": "MrBeast"}, timeout=210,)body = resp.json()if not resp.ok: raise RuntimeError(body.get("error") or body.get("detail"))
print(body["data"]["items"])curl -X POST "https://api.scrapier.io/api/v2/youtube-channel-info/" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"urls":"MrBeast"}' \ --max-time 210Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
X-API-Key header | string | yes | — | Your API key from the dashboard. |
urls | string | yes | e.g. MrBeast | YouTube channel URL (/@handle, /channel/UC…, /c/, /user/), @handle, name or UC id. Returns one channel record (about + first page of videos/shorts/live/posts). |
cursor | string | no | — | Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page. |
Advanced
| Name | Type | Default | Description |
|---|---|---|---|
use_proxy | boolean | true | Route the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise. |
raw_data | boolean | false | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes. |
Response
Section titled “Response”{ "success": true, "data": { "urls": "MrBeast", "page": 1, "page_size": 25, "items": [ { "channelUrl": "https://www.youtube.com/@MrBeast", "input": "MrBeast", "scrapedAt": "2026-10-03T04:17:31", "scraped_at": "2026-10-03T04:17:31.000Z", "about": { "channelDescription": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!", "channelJoinedDate": "Feb 19, 2012", "channelDescriptionLinks": [ { "text": "Follow", "url": "https://www.instagram.com/mrbeast/" }, { "text": "Twitter", "url": "https://twitter.com/MrBeast" } ], "channelLocation": "United States", "channelUsername": "MrBeast", "channelAvatarUrl": "https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s900-c-k-c0x00ffffff-no-rj", "channelBannerUrl": "https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj", "channelTotalVideos": 1004, "channelTotalViews": 141443077746, "numberOfSubscribers": "519M", "numberOfSubscribersInt": 519000000, "isChannelVerified": true, "channelName": "MrBeast", "channelUrl": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA", "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA", "inputChannelUrl": "http://www.youtube.com/@MrBeast", "channelKeywords": "mrbeast6000 beast mrbeast Mr.Beast mr", "isAgeRestricted": false }, "videos": [ { "id": "v9QtM6qnG50", "title": "I Built A City To Save Kids From Illegal Labor", "duration": "19:03", "channelName": "MrBeast", "channelUsername": "MrBeast", "channelUrl": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA", "date": "13 days ago", "url": "https://www.youtube.com/watch?v=v9QtM6qnG50", "viewCount": 87000000, "viewCountText": "87M views", "fromYTUrl": "https://www.youtube.com/@MrBeast/videos", "type": "video", "thumbnailUrl": "https://i.ytimg.com/vi/v9QtM6qnG50/hq720.jpg", "input": "https://www.youtube.com/@MrBeast", "order": 0 } ], "shorts": [ { "videoType": "shorts", "videoId": "CEJXqm2eiJ0", "title": "What's Inside My Briefcase?", "videoUrl": "https://www.youtube.com/shorts/CEJXqm2eiJ0", "viewsText": "33M views", "viewCount": 33000000, "thumbnailUrl": "https://i.ytimg.com/vi/CEJXqm2eiJ0/sardefault.jpg", "accessibilityText": "What's Inside My Briefcase?, 33 million views - play Short", "channelName": "MrBeast", "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA", "channelUsername": "MrBeast", "fromYTUrl": "https://www.youtube.com/@MrBeast/shorts", "input": "https://www.youtube.com/@MrBeast", "order": 0 } ], "live": [], "posts": [ { "postId": "UgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx", "type": "image", "textContent": "NO MORE WAITING, this Saturday ... finally goes live!", "imageUrls": [ "https://yt3.ggpht.com/-gQueci3cQXl50-Tgiv_Ru65aUfw2-6aHe9ny2Iy1KWoU1iAALkCZ9VeiZkH5tcqqiAjaTjb50D7iQ=s1320-rw-nd-v1" ], "pollOptions": [], "likesCount": 230000, "likesCountText": "230K", "commentsCount": 4900, "commentsCountText": "4.9K", "publishedAt": "4 days ago", "postUrl": "https://www.youtube.com/post/UgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx", "channelName": "MrBeast", "channelUrl": "https://www.youtube.com/@MrBeast", "order": 0 } ], "stats": { "totalVideos": 10, "totalShorts": 10, "totalLiveStreams": 0, "totalPosts": 10, "scrapingTimeSeconds": 2.72 } } ], "next_cursor": null }}Bad input. The exact message varies by endpoint.
{ "success": false, "error": "…"}Balance below the endpoint’s price.
{ "error": "Insufficient credits. Buy more to scrape more.", "balance": 1, "required": 2}Invalid or unknown API key.
{ "detail": "Authentication service unavailable or invalid API key."}Throttled — wait for Retry-After.
{ "detail": "Request was throttled. Expected available in N seconds."}Sample from the live catalog; arrays trimmed to 3 items. Results are in data.items.
Response fields
Section titled “Response fields”| Field | Type | Example | Description |
|---|---|---|---|
urls | string | MrBeast | — |
page | integer | 1 | — |
page_size | integer | 25 | — |
items | array | [1 item] | The results. |
next_cursor | null | null | Pass back as cursor for the next page. null on the last page. |
items[].channelUrl | string | https://www.youtube.com/@MrBeast | — |
items[].input | string | MrBeast | — |
items[].scrapedAt | string | 2026-10-03T04:17:31 | — |
items[].scraped_at | string | 2026-10-03T04:17:31.000Z | — |
items[].about | object | {…} | — |
items[].videos | array | [1 item] | — |
items[].shorts | array | [1 item] | — |
items[].live | array | [] | — |
items[].posts | array | [1 item] | — |
items[].stats | object | {…} | — |
Pagination
Section titled “Pagination”Returns everything in one call; next_cursor is always null.
Errors
Section titled “Errors”Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.
| Status | Meaning | Retry? | Charged? |
|---|---|---|---|
400 | Bad or missing input. | No — fix the params | No |
401 / 403 | Missing, invalid or revoked API key. | No — fix the key | No |
402 | Out of credits (body has balance). | No — top up | No |
404 | Unknown endpoint slug. | No — check the slug | No |
429 / 503 | Busy or throttled. | Yes — after Retry-After | No |
5xx | Target site or upstream failure, or timeout. | Yes — with backoff | No |
- Nothing special: send the inputs, read the result.
Related
Section titled “Related”- YouTube Channel Live/Streams — Structured YouTube data: send
channels. Cursor-paginated, 1 credit per successful call. - YouTube Channel Video Scraper — Structured YouTube data: send
youtube_channels. Cursor-paginated, 1 credit per successful call. - YouTube Comment Replies — Structured YouTube data: send
continuation_tokens. Cursor-paginated, 1 credit per successful call. - YouTube Comments — Structured YouTube data: send
urls. Cursor-paginated, 1 credit per successful call.