Youtube Metadata
Web Scraping API YouTube Metadata Target
The youtube_metadata target is built to obtain Youtube video Metadata in JSON format.
Useful Links
- This target is available with Web API Advanced plans.
- Real-time and Asynchronous integration methods are available for this template
- Batch requests are also supported.
Input Parameters
Request parameters available for the Youtube Metadata target:
| Parameter | Type | Required | Description |
|---|---|---|---|
target | string | ✅ | Target type must be set to youtube_metadata. |
query | string | ✅ | An 11-character Youtube video ID that is indicated in video URL. |
Parsing is set to "true" by default for this source - it is required to successfully scrape the results.
Request Example
curl --request 'POST' \
--url 'https://scraper-api.decodo.com/v2/scrape' \
--header 'Accept: application/json' \
--header 'Authorization: Basic TOKEN VALUE' \ // update with your authorization token\
--header 'Content-Type: application/json' \
--data '
{
"target": "youtube_metadata",
"query": "dFu9aKJoqGg"
}
'const scrape = async() => {
const response = await fetch("https://scraper-api.decodo.com/v2/scrape", {
method: "POST",
body: JSON.stringify({
"target": "youtube_metadata",
"query": "dFu9aKJoqGg",
}),
headers: {
"Content-Type": "application/json",
"Authorization": "Basic TOKEN VALUE" // update with your authorization token
},
}).catch(error => console.log(error));
console.log(await response.json())
}
scrape()
import requests
url = "https://scraper-api.decodo.com/v2/scrape"
payload = {
"target": "youtube_metadata",
"query": "dFu9aKJoqGg"
}
headers = {
"accept": "application/json",
"content-type": "application/json",
"authorization": "Basic TOKEN VALUE" # update with your authorization token
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Output
As an output, you will get a JSON file with YouTube Metadata.
Response example
{
"results": [
{
"content": {
"results": {
"tags": [
"decodo",
"smartproxy",
"smartdaili",
"what is smartproxy",
"proxy network",
"data collection tool",
"best proxy network",
"us proxy network",
"global proxy network",
"fast proxy",
"scraping api",
"multiple account management tool",
"scraping tool",
"affordable proxy",
"data gathering tool",
"data collection infrastructure",
"proxy for scraping",
"proxy for seo",
"what is proxy",
"what is proxy network",
"residential proxy",
"datacenter proxy",
"Dedicated proxies",
"Mobile proxies",
"tool for web scraping",
"what is decodo"
],
"title": "What is Decodo? (Formerly Smartproxy)",
"formats": [
{
"ext": "mp4",
"fps": 30,
"url": "https://rr1---sn-ci5gup-g2gs.googlevideo.com/videoplayback?expire=1763407759&ei=LyMbae3YKOCK1d8P3omdsAE&ip=2401%3A4900%3A51f5%3A87aa%3A4c97%3A89ff%3Afe89%3Ae8bd&id=o-AOXaKlr1UraIUqOwhwM5ai0HU0yYzXqmZoM0Ly3s0kfI&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&cps=0&met=1763386159%2C&mh=6N&mm=31%2C29&mn=sn-ci5gup-g2gs%2Csn-ci5gup-cvhes&ms=au%2Crdu&mv=m&mvi=1&pl=48&rms=au%2Cau&initcwndbps=396250&bui=AdEuB5SlXYa2kaBtKFWLwtgZnx96sAMwprfq-klSZA1OPm_aasWYh4K8isO6j5zh1-yYbHk0DglfNJMj&spc=6b0G_ABV20DYsXz9DcfpF6MQRI2lLrxLExyV1Ubz6fA1h1NlllBK43tMzKSDolv1&vprv=1&svpuc=1&mime=video%2Fmp4&ns=QNqsOcwvOZ36ZzUGhOo2ZWUQ&rqh=1&gir=yes&clen=4616954&ratebypass=yes&dur=96.060&lmt=1754946288176323&mt=1763385712&fvip=3&fexp=51355912%2C51552689%2C51565115%2C51565682%2C51580968&c=WEB&sefc=1&txp=5438534&n=uKrBtCP2UWiAe3c&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIhAIdadAQh5AgI8uXZKrY_qBawysxpQnKb2rdTDSce52eOAiANKBPUhJrGY8_grIdtmwnJRkM24a_G4BfWZaTnVAVPvg%3D%3D&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRgIhAJc4lyjhnGos-ZmYfh01Xh77YTIPgw6_9YgnJqSe7N7SAiEAy3og0KAULJttlcZNBMgnjVmC7BsI8t2ANWfJpBL9MAs%3D",
"acodec": "mp4a.40.2",
"vcodec": "avc1.42001E",
"format_id": "18",
"resolution": "640x360",
"format_note": "360p"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "313",
"resolution": "3840x2160",
"format_note": "2160p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "271",
"resolution": "2560x1440",
"format_note": "1440p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.640028",
"format_id": "137",
"resolution": "1920x1080",
"format_note": "1080p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "248",
"resolution": "1920x1080",
"format_note": "1080p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.4d401f",
"format_id": "136",
"resolution": "1280x720",
"format_note": "720p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "247",
"resolution": "1280x720",
"format_note": "720p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.4d401f",
"format_id": "135",
"resolution": "854x480",
"format_note": "480p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "244",
"resolution": "854x480",
"format_note": "480p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.4d401e",
"format_id": "134",
"resolution": "640x360",
"format_note": "360p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "243",
"resolution": "640x360",
"format_note": "360p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.4d4015",
"format_id": "133",
"resolution": "426x240",
"format_note": "240p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "242",
"resolution": "426x240",
"format_note": "240p, MISSING POT"
},
{
"ext": "mp4",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "avc1.4d400c",
"format_id": "160",
"resolution": "256x144",
"format_note": "144p, MISSING POT"
},
{
"ext": "webm",
"fps": 30,
"url": null,
"acodec": null,
"vcodec": "vp9",
"format_id": "278",
"resolution": "256x144",
"format_note": "144p, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "German (DE), tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Spanish (US), tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "French (FR), tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Hindi, tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Indonesian, tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Italian, tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Japanese, tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "Portuguese (BR), tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140-drc",
"resolution": null,
"format_note": "English (US) original (default), tiny, DRC, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "m4a",
"fps": null,
"url": null,
"acodec": "mp4a.40.2",
"vcodec": null,
"format_id": "140",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "German (DE), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Spanish (US), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "French (FR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Hindi, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Indonesian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Italian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Japanese, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "Portuguese (BR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249-drc",
"resolution": null,
"format_note": "English (US) original (default), tiny, DRC, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "249",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "German (DE), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Spanish (US), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "French (FR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Hindi, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Indonesian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Italian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Japanese, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "Portuguese (BR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250-drc",
"resolution": null,
"format_note": "English (US) original (default), tiny, DRC, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "250",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "German (DE), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Spanish (US), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "French (FR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Hindi, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Indonesian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Italian, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Japanese, tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "Portuguese (BR), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251-drc",
"resolution": null,
"format_note": "English (US) original (default), tiny, DRC, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
},
{
"ext": "webm",
"fps": null,
"url": null,
"acodec": "opus",
"vcodec": null,
"format_id": "251",
"resolution": null,
"format_note": "English (US) original (default), tiny, MISSING POT"
}
],
"is_live": false,
"duration": 96,
"uploader": "Decodo (formerly Smartproxy)",
"video_id": "dFu9aKJoqGg",
"age_limit": 0,
"categories": [
"Science & Technology"
],
"channel_id": "UCqHoe4Ixju1bcOy0jHPO8Kg",
"like_count": 21,
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/dFu9aKJoqGg/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLBLtGCPElL6ZqqpJQ96jata37pcEw",
"width": 168,
"height": 94
},
{
"url": "https://i.ytimg.com/vi/dFu9aKJoqGg/hqdefault.jpg?sqp=-oaymwEmCMQBEG5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDTYYShVgP1UYTl0xfeSOTeBONf2w",
"width": 196,
"height": 110
},
{
"url": "https://i.ytimg.com/vi/dFu9aKJoqGg/hqdefault.jpg?sqp=-oaymwEnCPYBEIoBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCJDBLCXjPje4EEbvtRunKLdtDcOg",
"width": 246,
"height": 138
},
{
"url": "https://i.ytimg.com/vi/dFu9aKJoqGg/hqdefault.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLALrbuNNiy2EY0pYB59LqJXnj86cw",
"width": 336,
"height": 188
},
{
"url": "https://i.ytimg.com/vi_webp/dFu9aKJoqGg/maxresdefault.webp",
"width": 1920,
"height": 1080
},
{
"url": "https://i.ytimg.com/vi/dFu9aKJoqGg/maxresdefault.jpg",
"width": 1280,
"height": 720
}
],
"view_count": 72054,
"channel_url": "https://www.youtube.com/channel/UCqHoe4Ixju1bcOy0jHPO8Kg",
"description": "Tired of CAPTCHAs and IP blocks? Meet Decodo – the most efficient platform to test, launch, and scale your web data projects. Our service includes a vast residential, mobile, datacenter, and ISP proxy network, a universal Web Scraping API, and a range of free tools to fulfill all your needs in one place.\n\nStart scaling your projects today: https://bit.ly/4cAkGIR",
"upload_date": "20250423",
"uploader_id": "@decodo_official",
"uploader_url": "https://www.youtube.com/@decodo_official",
"comment_count": 6,
"is_transcript_available": true,
"user_subtitle_languages": [
"en"
],
"user_transcript_languages": [
"en"
],
"generated_subtitle_languages": [
"en"
],
"generated_transcript_languages": [
"en"
]
},
"parse_status_code": 12000
},
"headers": {},
"status_code": 200,
"query": "dFu9aKJoqGg",
"task_id": "7396177615712708609",
"created_at": "2025-11-17 13:29:17",
"updated_at": "2025-11-17 13:29:23"
}
]
}Support
Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].
Updated 6 days ago