YouTube · Content details
Video details
Send video links or IDs; get one record per video with title, description, views, likes, comment count, exact upload time, length, category and tags.
POST/v1/youtube/videoDetail
$0.003per record
- 1,000 records
- ≈ $3.00
- minimum per record fetched
- $0.00125
Works with trial balanceOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/youtube/videoDetail" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"videos":["dQw4w9WgXcQ"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/youtube/videoDetail",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"videos": ["dQw4w9WgXcQ"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/youtube/videoDetail", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"videos": [
"dQw4w9WgXcQ"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-21. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "video",
"videoId": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w…",
"channelAvatar": "<masked>",
"channelHandle": "<masked>",
"channelUrl": "https://www.youtube.com/channel/UCuAX…",
"channelVerified": true,
"channelBio": null,
"title": "Rick Astley - Never Gonna Give You Up…",
"description": "The official video for “Never Gonna …",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"subscriberCountText": "4.56M subscribers",
"viewCount": 1839341848,
"likeCount": 19513292,
"commentCountText": "2.4M",
"duration": "3:33",
"durationSeconds": 213,
"publishedAt": "2009-10-24T23:57:33-07:00",
"publishedTimeText": "17y ago",
"category": "Music",
"keywords": [
"rick astley",
"Never Gonna Give You Up",
"nggyu"
],
"isLive": false,
"thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/ma…"
}
],
"cursor": null,
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.003000",
"balance_usd": "9.875000",
"items": 1
}
}Fields 24
| Field | Type | Example value |
|---|---|---|
| type | string | video |
| videoId | string | dQw4w9WgXcQ |
| url | string | https://www.youtube.com/watch?v=dQw4w9WgXcQ |
| channelAvatar | string | <masked> |
| channelHandle | string | <masked> |
| channelUrl | string | https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw |
| channelVerified | boolean | true |
| channelBio | null | null |
| title | string | Rick Astley - Never Gonna Give You Up (Official Video) (4K R… |
| description | string | The official video for “Never Gonna Give You Up” by Rick Ast… |
| channelName | string | Rick Astley |
| channelId | string | UCuAXFkgsw1L7xaCfnd5JJOw |
| subscriberCountText | string | 4.56M subscribers |
| viewCount | number | 1839341848 |
| likeCount | number | 19513292 |
| commentCountText | string | 2.4M |
| duration | string | 3:33 |
| durationSeconds | number | 213 |
| publishedAt | string | 2009-10-24T23:57:33-07:00 |
| publishedTimeText | string | 17y ago |
| category | string | Music |
| keywords | array | ["rick astley","Never Gonna Give You Up","nggyu"] |
| isLive | boolean | false |
| thumbnailUrl | string | https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| videos | array | yes | Video links (watch, youtu.be, Shorts) or 11-character video IDs. One result per video for video details; related videos per video, about 20 per page and as many pages as Max results asks for. | ["dQw4w9WgXcQ"] |
Paging
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here each record is fetched on its own; the minimum is $0.00125 for each.
- 1 record: up to $0.003
- 20 records: up to $0.06
- 100 records: up to $0.30
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Video details take?
Required: videos. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: record $0.003. The minimum is $0.00125 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.30.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.