YouTube Channel Details
Retrieve public details about a YouTube channel. Input fields and response shapes depend on the selected implementation. Use it for account discovery and creator research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 3 / 3
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
YouTube Channel Details
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
avatarobjectavatarImageSizestringimageobjectprocessorobjectborderImageProcessorobjectcircularboolean
sourcesobject[]heightintegerurlstringwidthinteger
loggingDirectivesobjecttrackingParamsstringvisibilityobjecttypesstring
channelstringchannelIdstringcountrystringcredits_chargedintegercredits_remainingintegerdescriptionstringemailnullinstagramstringjoinedDateTextstringlinksstring[]namestringstorestringsubscriberCountintegersubscriberCountTextstringsuccessbooleantagsstringtwitterstringvideoCountTextstringviewCountTextstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
avatar?: {
avatarImageSize?: string;
image?: {
processor?: {
borderImageProcessor?: {
circular?: boolean;
};
};
sources?: Array<{
height?: number;
url?: string;
width?: number;
}>;
};
loggingDirectives?: {
trackingParams?: string;
visibility?: {
types?: string;
};
};
};
channel?: string;
channelId?: string;
country?: string;
credits_charged?: number;
credits_remaining?: number;
description?: string;
email?: null;
instagram?: string;
joinedDateText?: string;
links?: Array<string>;
name?: string;
store?: string;
subscriberCount?: number;
subscriberCountText?: string;
success?: boolean;
tags?: string;
twitter?: string;
videoCountText?: string;
viewCountText?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| YouTube Channel · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current YouTube — Channel Details · GET · View API reference | $0.00188 / call | — | —successP50— | |
| Get channel information · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ&handle=ThePatMcAfeeShow' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
channelId | URL query parametersquery | string | No | YouTube channel ID. Can pass a channelId, handle or url |
handle | URL query parametersquery | string | No | YouTube channel handle. Can pass a channelId, handle or url |
url | URL query parametersquery | string | No | YouTube channel URL. Can pass a channelId, handle or url |
cache_max_age | URL query parametersquery | string | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) enum: "1d", "3d", "7d", "14d", "30d" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"avatar": {
"avatarImageSize": "AVATAR_SIZE_XL",
"image": {
"processor": {
"borderImageProcessor": {
"circular": true
}
},
"sources": [
{
"height": 72,
"url": "https://yt3.googleusercontent.com/ytc/AIdro_nBgMGIxgHehCAlUUepEhd9Yooi1I55k6IF2WExl-v8Q-c=s72-c-k-c0x00ffffff-no-rj",
"width": 72
}
]
},
"loggingDirectives": {
"trackingParams": "CC0Q6OENIhMIkInyhaSPiwMV9wfWAB3aoR9h",
"visibility": {
"types": "12"
}
}
},
"channel": "http://www.youtube.com/@ThePatMcAfeeShow",
"channelId": "UCxcTeAKWJca6XyJ37_ZoKIQ",
"country": "United States",
"credits_charged": 1,
"credits_remaining": 1000000,
"description": "",
"email": null,
"instagram": "https://instagram.com/patmcafeeshow",
"joinedDateText": "Joined Aug 23, 2017",
"links": [
"https://store.patmcafeeshow.com"
],
"name": "The Pat McAfee Show",
"store": "https://store.patmcafeeshow.com",
"subscriberCount": 2750000,
"subscriberCountText": "2.75M subscribers",
"success": true,
"tags": "pat mcafee, football, pat mcafee show, the pat mcafee show, pat mcafee podcast, pat mcafee clips, pat mcafee reacts, pat mcafee highlights, pat mcafee live, pat mcafee show live, pat mcafee podcast, nfl, nba, nhl, mlb, ufc, sports",
"twitter": "https://twitter.com/PatMcAfeeShow",
"videoCountText": "9,221 videos",
"viewCountText": "2,170,355,382 views"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# YouTube Channel Details
Retrieve public details about a YouTube channel. Input fields and response shapes depend on the selected implementation. Use it for account discovery and creator research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
litescrape · YouTube Channel: https://openany.si/markets/apis/capabilities/youtube-channel-details?offering=17358dbe-b83b-4ecc-88a7-8bf351e33ed5 · $0.00015 / call
scrapecreators · YouTube — Channel Details: https://openany.si/markets/apis/capabilities/youtube-channel-details?offering=603a8d90-bddf-4e75-8ecb-8290f0f756bf · $0.00188 / call
tikhub · Get channel information: https://openany.si/markets/apis/capabilities/youtube-channel-details?offering=cce24274-4861-48ee-a944-9cb679571c20 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/youtube-channel-details
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ&handle=ThePatMcAfeeShow' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "YouTube — Channel Details",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "YouTube channel ID. Can pass a channelId, handle or url",
"location": "query",
"name": "channelId",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "YouTube channel handle. Can pass a channelId, handle or url",
"location": "query",
"name": "handle",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "YouTube channel URL. Can pass a channelId, handle or url",
"location": "query",
"name": "url",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)",
"enum_values": [
"1d",
"3d",
"7d",
"14d",
"30d"
],
"location": "query",
"name": "cache_max_age",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1880",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"channelId": "UC-9-kyTW8ZkZNDHQJ6FgpwQ",
"handle": "ThePatMcAfeeShow"
}
},
"response_body": {
"avatar": {
"avatarImageSize": "AVATAR_SIZE_XL",
"image": {
"processor": {
"borderImageProcessor": {
"circular": true
}
},
"sources": [
{
"height": 72,
"url": "https://yt3.googleusercontent.com/ytc/AIdro_nBgMGIxgHehCAlUUepEhd9Yooi1I55k6IF2WExl-v8Q-c=s72-c-k-c0x00ffffff-no-rj",
"width": 72
}
]
},
"loggingDirectives": {
"trackingParams": "CC0Q6OENIhMIkInyhaSPiwMV9wfWAB3aoR9h",
"visibility": {
"types": "12"
}
}
},
"channel": "http://www.youtube.com/@ThePatMcAfeeShow",
"channelId": "UCxcTeAKWJca6XyJ37_ZoKIQ",
"country": "United States",
"credits_charged": 1,
"credits_remaining": 1000000,
"description": "",
"email": null,
"instagram": "https://instagram.com/patmcafeeshow",
"joinedDateText": "Joined Aug 23, 2017",
"links": [
"https://store.patmcafeeshow.com"
],
"name": "The Pat McAfee Show",
"store": "https://store.patmcafeeshow.com",
"subscriberCount": 2750000,
"subscriberCountText": "2.75M subscribers",
"success": true,
"tags": "pat mcafee, football, pat mcafee show, the pat mcafee show, pat mcafee podcast, pat mcafee clips, pat mcafee reacts, pat mcafee highlights, pat mcafee live, pat mcafee show live, pat mcafee podcast, nfl, nba, nhl, mlb, ufc, sports",
"twitter": "https://twitter.com/PatMcAfeeShow",
"videoCountText": "9,221 videos",
"viewCountText": "2,170,355,382 views"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
channelId- YouTube channel ID. Can pass a channelId, handle or url
handle- YouTube channel handle. Can pass a channelId, handle or url
url- YouTube channel URL. Can pass a channelId, handle or url
cache_max_age- If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/youtube/channel?channelId=UC-9-kyTW8ZkZNDHQJ6FgpwQ&handle=ThePatMcAfeeShow' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "avatar": { "avatarImageSize": "AVATAR_SIZE_XL", "image": { "processor": { "borderImageProcessor": { "circular": true } }, "sources": [ { "height": 72, "url": "https://yt3.googleusercontent.com/ytc/AIdro_nBgMGIxgHehCAlUUepEhd9Yooi1I55k6IF2WExl-v8Q-c=s72-c-k-c0x00ffffff-no-rj", "width": 72 } ] }, "loggingDirectives": { "trackingParams": "CC0Q6OENIhMIkInyhaSPiwMV9wfWAB3aoR9h", "visibility": { "types": "12" } } }, "channel": "http://www.youtube.com/@ThePatMcAfeeShow", "channelId": "UCxcTeAKWJca6XyJ37_ZoKIQ", "country": "United States", "credits_charged": 1, "credits_remaining": 1000000, "description": "", "email": null, "instagram": "https://instagram.com/patmcafeeshow", "joinedDateText": "Joined Aug 23, 2017", "links": [ "https://store.patmcafeeshow.com" ], "name": "The Pat McAfee Show", "store": "https://store.patmcafeeshow.com", "subscriberCount": 2750000, "subscriberCountText": "2.75M subscribers", "success": true, "tags": "pat mcafee, football, pat mcafee show, the pat mcafee show, pat mcafee podcast, pat mcafee clips, pat mcafee reacts, pat mcafee highlights, pat mcafee live, pat mcafee show live, pat mcafee podcast, nfl, nba, nhl, mlb, ufc, sports", "twitter": "https://twitter.com/PatMcAfeeShow", "videoCountText": "9,221 videos", "viewCountText": "2,170,355,382 views" }