ScavioScavio
产品定价文档
登录开始使用
  1. 首页
  2. 解决方案
  3. API YouTube
解决方案

API YouTube

YouTube YouTube YouTube API

免费开始API文档

问题所在

YouTube YouTube YouTube API

Scavio 解决方案

Scavio YouTube API YouTube

之前

YouTube 2 10 YouTube API

之后

API 5 50 $0.005/

适用人群

YouTube

核心优势

  • 5 50 2
  • YouTube API
  • Google
  • $0.005/

Python 示例

Python
import requests, os

API_KEY = os.environ["SCAVIO_API_KEY"]
H = {"x-api-key": API_KEY, "Content-Type": "application/json"}

def find_influencers(niche: str, min_results: int = 10) -> list:
    """Find YouTube influencers in a niche."""
    resp = requests.post(
        "https://api.scavio.dev/api/v1/search",
        headers=H,
        json={"query": f"{niche} tutorial 2026", "platform": "youtube", "country_code": "us"},
        timeout=15,
    )
    data = resp.json()
    videos = data.get("video_results", [])[:min_results]
    influencers = {}
    for v in videos:
        channel = v.get("channel", {}).get("name", "Unknown")
        if channel not in influencers:
            influencers[channel] = {
                "channel": channel,
                "videos": [],
                "total_views": 0,
            }
        influencers[channel]["videos"].append(v.get("title", ""))
        influencers[channel]["total_views"] += v.get("views", 0)
    return sorted(influencers.values(), key=lambda x: x["total_views"], reverse=True)

# Find top fitness YouTube influencers
results = find_influencers("home workout")
for r in results[:5]:
    print(f"{r['channel']}: {r['total_views']:,} views across {len(r['videos'])} videos")

JavaScript 示例

JavaScript
const H = {'x-api-key': process.env.SCAVIO_API_KEY, 'Content-Type': 'application/json'};

async function findInfluencers(niche, minResults=10) {
  const r = await fetch('https://api.scavio.dev/api/v1/search', {method:'POST', headers:H, body:JSON.stringify({query:niche+' tutorial 2026', platform:'youtube', country_code:'us'})});
  const videos = (await r.json()).video_results || [];
  const map = {};
  for (const v of videos.slice(0,minResults)) {
    const ch = v.channel?.name || 'Unknown';
    if (!map[ch]) map[ch] = {channel:ch, videos:[], totalViews:0};
    map[ch].videos.push(v.title||'');
    map[ch].totalViews += v.views||0;
  }
  return Object.values(map).sort((a,b)=>b.totalViews-a.totalViews);
}

const results = await findInfluencers('home workout');
for (const r of results.slice(0,5)) {
  console.log(r.channel+': '+r.totalViews+' views, '+r.videos.length+' videos');
}

使用的平台

YouTube

包含转录和元数据的视频搜索

Google

包含知识图谱、PAA和AI概览的网页搜索

常见问题

YouTube YouTube YouTube API

Scavio YouTube API YouTube

YouTube

可以。Scavio免费套餐注册即送50个积分,无需信用卡。足以在您的工作流程中验证此解决方案。

相关资源

Best Of

2026 年最佳 YouTube 影响者研究工具,无需抓取

Read more
Workflow

YouTube 网红 SERP 研究工作流

Read more
Best Of

2026年深度研究Agent最佳搜索API

Read more
Use Case

YouTube 影响者数据通过 API 而不是抓取

Read more
Tutorial

如何构建 YouTube 影响者发现渠道

Read more
Tutorial

如何使用搜索 API 构建 YouTube 频道分析器

Read more

API YouTube

Scavio YouTube API YouTube

获取您的API密钥阅读文档
ScavioScavio

面向AI智能体的实时搜索API。搜索所有平台,不仅仅是Google。

产品

  • 功能
  • 定价
  • 控制台
  • 联盟计划

开发者

  • 文档
  • API参考
  • 快速开始
  • MCP集成
  • Python SDK

替代方案

  • Tavily替代方案
  • SerpAPI替代方案
  • Firecrawl替代方案
  • Exa替代方案

工具

  • JSON格式化
  • cURL转代码
  • Token计数器
  • 全部工具

© 2026 Scavio. 保留所有权利。

Featured on TAAFT
服务条款隐私政策