youtube_channel 模板用于获取关键指标(订阅者、观看次数、视频数量)、元数据和视频列表。
输入参数
通用参数:| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
target | string | ✅ | 目标类型必须设置为 youtube_channel。 |
query | string | ✅ | 标识目标 YouTube 频道的唯一句柄(例如,@channelname)。 |
headless | string | html 值启用 JavaScript 渲染。了解更多。 | |
parse | boolean | 设置为 true 时自动解析结果。默认值为 false。 | |
limit | integer | 指定响应中返回的最大视频数量。 默认值为 20。 |
请求示例
# 将 'TOKEN VALUE' 更新为您的授权令牌
curl --request 'POST' \
--url 'https://scraper-api.decodo.com/v2/scrape' \
--header 'Accept: application/json' \
--header 'Authorization: Basic TOKEN VALUE' \
--header 'Content-Type: application/json' \
--data '
{
"target": "youtube_channel",
"query": "@decodo_official"
}
'
输出
作为输出,您将获得一个包含 YouTube 频道信息的JSON 文件。
输出示例
{
"results": [
{
"content": {
"results": {
"id": "UCqHoe4Ixju1bcOy0jHPO8Kg",
"name": "Decodo (formerly Smartproxy)",
"links": [
{
"url": "bigmarker.com/decodo/from-raw-data-to-insights-leveraging-ai-for-public-data-analysis?utm_bmcr_source=youtube",
"title": "FREE WEBINAR"
},
{
"url": "decodo.com",
"title": "decodo.com"
},
{
"url": "discord.gg/gvJhWJPaB4",
"title": "Discord Decodo"
},
{
"url": "linkedin.com/company/decodo",
"title": "LinkedIn Decodo"
},
{
"url": "github.com/decodo",
"title": "GitHub Decodo"
},
{
"url": "direct.lc.chat/12092754",
"title": "Live chat"
}
],
"videos": [
{
"pos": 1,
"url": "https://www.youtube.com/watch?v=Aokh2L5SYuw",
"title": "How to Scrape Nasdaq Stock Prices With Python | Web Scraping Tutorial",
"view_count": "118",
"upload_date_relative": "2 weeks ago"
},
{
"pos": 2,
"url": "https://www.youtube.com/watch?v=MJJsb5wy3SI",
"title": "How To Add Proxies In MoreLogin | Proxy Integration Tutorial",
"view_count": "209",
"upload_date_relative": "2 weeks ago"
},
{
"pos": 3,
"url": "https://www.youtube.com/watch?v=J7reGbrzCNE",
"title": "How to Scrape Craigslist With Python: Jobs, Housing, For Sale Listings",
"view_count": "122",
"upload_date_relative": "3 weeks ago"
},
{
"pos": 4,
"url": "https://www.youtube.com/watch?v=tLDQxKsku_k",
"title": "Free Webinar: Build n8n Workflows That Do the Work for You",
"view_count": "76",
"upload_date_relative": "1 month ago"
},
{
"pos": 5,
"url": "https://www.youtube.com/watch?v=mTTtHRYw4Sk",
"title": "Automate With Decodo & n8n: Free Webinar",
"view_count": "83",
"upload_date_relative": "1 month ago"
},
{
"pos": 6,
"url": "https://www.youtube.com/watch?v=Pbj_KOMVcbE",
"title": "Free Webinar: Building Automation Workflows with n8n",
"view_count": "50",
"upload_date_relative": "1 month ago"
},
{
"pos": 7,
"url": "https://www.youtube.com/watch?v=VnzVgHQh5cU",
"title": "How to Automate Marketing Workflows With n8n: Free Webinar",
"view_count": "57",
"upload_date_relative": "1 month ago"
},
{
"pos": 8,
"url": "https://www.youtube.com/watch?v=0468SRMNNSU",
"title": "How to Set Up Proxies in AdsPower Anti-detect Browser",
"view_count": "478",
"upload_date_relative": "1 month ago"
},
{
"pos": 9,
"url": "https://www.youtube.com/watch?v=rKYCelcOqRU",
"title": "How to Automate ITOps and SecOps Workflows With n8n: Free Webinar",
"view_count": "52",
"upload_date_relative": "1 month ago"
},
{
"pos": 10,
"url": "https://www.youtube.com/watch?v=_e1_kkUgfU8",
"title": "How to Set up Proxies on iOS With Potatso App in 2025 | Proxy Integration Tutorial",
"view_count": "1,212",
"upload_date_relative": "1 month ago"
},
{
"pos": 11,
"url": "https://www.youtube.com/watch?v=y3SXEsUpieU",
"title": "LangChain + Web Scraping API Tutorial | How to Build Scraping Agents",
"view_count": "225",
"upload_date_relative": "2 months ago"
},
{
"pos": 12,
"url": "https://www.youtube.com/watch?v=dlHu-gAyglw",
"title": "How to Scrape YouTube Comments With Python",
"view_count": "327",
"upload_date_relative": "2 months ago"
},
{
"pos": 13,
"url": "https://www.youtube.com/watch?v=aQCcdRpOFvc",
"title": "How to Use Proxies With FoxyProxy | Proxy Integration Tutorial",
"view_count": "1,809",
"upload_date_relative": "2 months ago"
},
{
"pos": 14,
"url": "https://www.youtube.com/watch?v=ROet8sHU_Gw",
"title": "How to Set Up and Use Video Downloader | Decodo Product Guide",
"view_count": "147",
"upload_date_relative": "2 months ago"
},
{
"pos": 15,
"url": "https://www.youtube.com/watch?v=gSieUHJ3eG0",
"title": "How to Use Decodo AI Parser | Parse HTML Data Without Coding",
"view_count": "80",
"upload_date_relative": "2 months ago"
},
{
"pos": 16,
"url": "https://www.youtube.com/watch?v=in8LMYlfxcI",
"title": "The Websites Everyone's Scraping in 2025 (and Why It Matters for AI)",
"view_count": "234",
"upload_date_relative": "3 months ago"
},
{
"pos": 17,
"url": "https://www.youtube.com/watch?v=Ue9R9AYNx78",
"title": "Building AI Web Scraping Workflows With n8n & Decodo Scraping API",
"view_count": "327",
"upload_date_relative": "3 months ago"
},
{
"pos": 18,
"url": "https://www.youtube.com/watch?v=L_40-jijcII",
"title": "AI Agents vs. Agentic AI vs. Generative AI | What's the Difference?",
"view_count": "163",
"upload_date_relative": "3 months ago"
},
{
"pos": 19,
"url": "https://www.youtube.com/watch?v=Bkeol9GZ9z0",
"title": "What Is an API and How Does It Work | API Basics Explained",
"view_count": "279",
"upload_date_relative": "3 months ago"
},
{
"pos": 20,
"url": "https://www.youtube.com/watch?v=FGxcnqcTQ8I",
"title": "How to Set Up MCP Server | Web Scraping API Tutorial",
"view_count": "1,003",
"upload_date_relative": "3 months ago"
}
],
"country": "Lithuania",
"avatar_url": "https://yt3.googleusercontent.com/VtRQP7W-38A3T9s1F4kCaN4FUc8kc1n6TLRWsg2nnlsObpTkB2Ru5ZhMHybDnGp3eletE-g24Q=s900-c-k-c0x00ffffff-no-rj",
"view_count": "1,914,113",
"description": "Decodo (formerly Smartproxy) is the most efficient platform to run and scale your web data projects. With a vast proxy pool, web scraping infrastructure, and free antidetection tools, Decodo allows you to bypass geo-restrictions, avoid IP bans, and ensure anonymity online. Our services are invaluable for multi-accounting, web scraping, price aggregation, AI, ad tech, and SEO projects. \n\nOn this YouTube channel, we break down the world of web scraping, data gathering, and proxy technology: one expert tutorial at a time. Whether you're a developer looking to scale your scraping projects, a data analyst in need of reliable insights, or just curious about how proxies work, you're in the right place.\n",
"joined_date": "Mar 4 2019",
"video_count": 247,
"subscriber_count": "8.36K",
"parse_status_code": 12000
},
"errors": [],
"status_code": 12000,
"task_id": "7414219897040819201"
},
"headers": {},
"status_code": 200,
"query": "@decodo_official",
"task_id": "7414219897040819201",
"created_at": "2026-01-06 08:22:52",
"updated_at": "2026-01-06 08:22:56"
}
]
}
支持
需要帮助或只是想打个招呼?我们的支持团队全天候为您服务。
您也可以随时通过电子邮件 support@decodo.com 联系我们。
您也可以随时通过电子邮件 support@decodo.com 联系我们。
反馈
找不到您要找的内容?请求一篇文章!
有反馈意见?分享您对我们如何改进的想法。
有反馈意见?分享您对我们如何改进的想法。