Token导航 LogoToken导航

Agent Skill · 研究检索

tubelab-api(tubelab API 搜索)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

tubelab-api 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 6,395。

总安装 22,320周安装 930GitHub Stars 1下载 7,440核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.4

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tubelab-api(tubelab API 搜索)
来源仓库:https://github.com/antoniojps/tubelab-api
安装命令:
openclaw skills install tubelab-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tubelab-api

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

tubelab-api 提供 YouTube 数据分析与研究功能的接口封装与使用说明。适用于 OpenClaw 中搜索频道、发现异常流量或分析竞品策略等场景。支持视频详情、脚本提取与评论情感分析等多维度数据获取。

安装命令为 openclaw skills install tubelab-api,需 YouTube Data API v3 密钥授权。建议限制高频请求以符合平台速率限制政策避免账号封禁风险。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tubelab-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tubelab-api 怎么安装?

在终端执行 openclaw skills install tubelab-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tubelab-api 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tubelab-api 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

tubelab-api 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tubelab-api 用的人多吗?

公开数据是累计安装 22,320 次,近一周安装 930 次,下载 7,440 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tubelab-api 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tubelab-api

tubelab API 搜索 · 本页

22,3201接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
tubelab
description
YouTube analytics and research API. Search channels, find video outliers, get video details/transcripts/comments, and run scans. Use for YouTube niche research, competitor analysis, and channel analytics.
metadata
{"openclaw":{"emoji":"📊","requires":{"bins":["curl","jq"],"env":["TUBELAB_API_KEY"]},"primaryEnv":"TUBELAB_API_KEY"}}

TubeLab API

YouTube analytics and research API. Discover profitable niches, find viral outlier videos, analyze channels, get transcripts and comments, and run automated scans - all through REST endpoints returning JSON.

  • Base URL: https://public-api.tubelab.net/v1
  • Auth: API key in header
  • Rate limit: 10 requests/minute per API key
  • Format: JSON request/response
  • Docs: https://tubelab.net/docs/api/introduction

Authentication

Every request requires an Authorization header with your API key:

Authorization: Api-Key $TUBELAB_API_KEY

Get your API key at https://tubelab.net/developers - requires an active subscription.

Rate Limits & Credits

Rate limited to 10 requests per minute per API key. Exceeding this returns 429 Too Many Requests.

Most endpoints cost credits. Cached responses (same request within a short window) are free.

EndpointCost
GET /search/channels10 credits
GET /search/channels/related10 credits
GET /search/outliers5 credits
GET /search/outliers/related5 credits
GET /channel/videos/{id}free
GET /channel/shorts/{id}free
GET /video/{id}free
GET /video/transcript/{id}free
GET /video/comments/{id}free
POST /scan50–100 credits
GET /scan/{id}free

Scan cost depends on mode: Fast = 50 credits, Standard = 100 credits.

Search Endpoints

Search for YouTube channels and viral videos (outliers). All search endpoints support pagination, sorting, and 30+ filters.

GET /search/channels

Channels Search for channels directly from the YouTube Niche Finder with AI enhanced data and 30+ filters. Cost: 10 credits per request.

curl -s "https://public-api.tubelab.net/v1/search/channels?query=minecraft%20adventures" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Query parameters:

NameTypeRequiredDescription
querystring[]noSearch queries
seedstring \number \nullnoRandomize search results by passing a random seed
filterBy"video" \"short"noFilter by statistics of each content kind
contentKind"video" \"short" \"long-form" \"short-form"noFilter by type of content created by channel: - video - channel has videos; - short - channel has shorts; - long-form - channel has more...
publishedAtFromstringnoFilter by a channel's last parsed video upload date (from a sample of 100 videos) - Expects an ISO date time string.
publishedAtTostringno
averageViewsFromintegerno
averageViewsTointegerno
medianViewsFromintegerno
medianViewsTointegerno
languagestring[]noISO 639-1 language codes
avgViewsToSubscribersRatioFromnumbernoFilter by the outlier score of a channel
avgViewsToSubscribersRatioTonumberno
subscribersFromintegerno
subscribersTointegerno
videosCountFromintegerno
videosCountTointegerno
viewVariationCoefficientFromnumberno
viewVariationCoefficientTonumberno
revenueMonthlyEstimationFromnumberno
revenueMonthlyEstimationTonumberno
rpmEstimationFromnumberno
rpmEstimationTonumberno
avgDurationFromintegernoAverage duration of videos in seconds
avgDurationTointegerno
monetizationAdsensebooleannoFilter by whether the channel has AdSense enabled or not
excludeNichestring[]noExclude niches from search results by keywords
classificationQuality"negative" \"neutral" \"positive"noAI classification of a channel quality.
classificationIsFacelessbooleannoAI classification wether channel content has faceless potential or not
fromintegernoPage to fetch
sizeintegernoNumber of items per page
sortBy"subscribers" \"averageViews" \"avgViewsToSubscribersRatio" \"viewVariationCoefficient" \"revenueMonthly" \"rpm" \"foundAt" \"recency"noSort results by a specific metric: Beaware when using semantic search (applying a query with the by parameter set to semantic) the sorting...
sortOrder"asc" \"desc"noSorting order of results, where asc is ascending and desc is descending

Response shape (abbreviated):

{
  "pagination": { "total": 100, "from": 0, "size": 20 },
  "hits": [
    {
      "id": "UChn5jutPQB_bRjnG80pzl5w",
      "snippet": { "handle": "@tubelabhq", "title": "TubeLab", "contentKind": ["video","long-form"] },
      "statistics": { "subscribers": 15000, "averageViews": 5000, "avgViewsToSubscribersRatio": 0.33 },
      "language": { "code": "en" },
      "monetization": { "adsense": true },
      "classification": { "quality": "positive", "isFaceless": false }
    }
  ]
}

GET /search/channels/related

Similar Channels Search for YouTube channels with related content to another channel. Cost: 10 credits per request.

curl -s "https://public-api.tubelab.net/v1/search/channels/related?relatedChannelId=UChn5jutPQB_bRjnG80pzl5w" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Query parameters:

NameTypeRequiredDescription
relatedChannelIdstring[]yes
filterBy"video" \"short"noFilter by statistics of each content kind
contentKind"video" \"short" \"long-form" \"short-form"noFilter by type of content created by channel: - video - channel has videos; - short - channel has shorts; - long-form - channel has more...
publishedAtFromstringnoFilter by a channel's last parsed video upload date (from a sample of 100 videos) - Expects an ISO date time string.
publishedAtTostringno
averageViewsFromintegerno
averageViewsTointegerno
medianViewsFromintegerno
medianViewsTointegerno
languagestring[]noISO 639-1 language codes
avgViewsToSubscribersRatioFromnumbernoFilter by the outlier score of a channel
avgViewsToSubscribersRatioTonumberno
subscribersFromintegerno
subscribersTointegerno
videosCountFromintegerno
videosCountTointegerno
viewVariationCoefficientFromnumberno
viewVariationCoefficientTonumberno
revenueMonthlyEstimationFromnumberno
revenueMonthlyEstimationTonumberno
rpmEstimationFromnumberno
rpmEstimationTonumberno
avgDurationFromintegernoAverage duration of videos in seconds
avgDurationTointegerno
monetizationAdsensebooleannoFilter by whether the channel has AdSense enabled or not
excludeNichestring[]noExclude niches from search results by keywords
classificationQuality"negative" \"neutral" \"positive"noAI classification of a channel quality.
classificationIsFacelessbooleannoAI classification wether channel content has faceless potential or not
fromintegernoPage to fetch
sizeintegernoNumber of items per page

Response shape (abbreviated):

{
  "pagination": { "total": 50, "from": 0, "size": 20 },
  "hits": [
    {
      "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
      "snippet": { "handle": "@example", "title": "Example Channel", "contentKind": ["video"] },
      "statistics": { "subscribers": 25000, "averageViews": 8000 },
      "language": { "code": "en" }
    }
  ]
}

GET /search/outliers

Outliers Search for videos directly from the YouTube Outliers Finder library with AI enhanced data and 30+ filters. Cost: 5 credits per request.

curl -s "https://public-api.tubelab.net/v1/search/outliers?query=minecraft%20adventures&type=video" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Query parameters:

NameTypeRequiredDescription
querystring[]noSearch queries
seedstring \number \nullnoRandomize search results by passing a random seed
sortBy"views" \"zScore" \"averageViewsRatio" \"publishedAt" \"revenue" \"rpm"noSort results by a specific metric: Beaware when using semantic search (applying a query with the by parameter set to semantic) the sorting...
sortOrder"asc" \"desc"noSorting order of results, where asc is ascending and desc is descending
type"video" \"short"no
averageViewsRatioFromnumberno
averageViewsRatioTonumberno
zScoreFromnumberno
zScoreTonumberno
viewCountFromintegerno
viewCountTointegerno
languagestring[]noISO 639-1 language codes
durationFromintegerno
durationTointegerno
publishedAtFromstring \stringno
publishedAtTostringno
subscribersCountFromintegerno
subscribersCountTointegerno
channelAvgViewsFromnumberno
channelAvgViewsTonumberno
channelVideoCountFromintegerno
channelVideoCountTointegerno
channelIdstringno
channelAvgViewsToSubscribersRatioFromnumberno
channelAvgViewsToSubscribersRatioTonumberno
titlePatternstringno
referenceIdstringno
rpmEstimationFromnumberno
rpmEstimationTonumberno
revenueEstimationFromnumberno
revenueEstimationTonumberno
channelMonetizationAdsensebooleanno
classificationQuality"negative" \"neutral" \"positive"no
classificationIsFacelessbooleanno
excludeKeywordstring[]no
fromintegernoPage to fetch
sizeintegernoNumber of items per page
by"semantic" \"lexical"noSearch by semantics (meaning of words) or lexical (exact words)

Response shape (abbreviated):

{
  "pagination": { "total": 100, "from": 0, "size": 20 },
  "hits": [
    {
      "id": "SVeXR66hcIg",
      "kind": "video",
      "snippet": { "channelId": "UChn5jutPQB_bRjnG80pzl5w", "title": "Video Title", "channelTitle": "Channel Name", "publishedAt": "2025-01-15T00:00:00Z" },
      "statistics": { "viewCount": 500000, "zScore": 4.2, "averageViewsRatio": 10.5, "likeCount": 15000, "commentCount": 1200 },
      "classification": { "quality": "positive", "isFaceless": false }
    }
  ]
}

GET /search/outliers/related

Similar Outliers Search for YouTube outliers with related content to another outlier(s). Cost: 5 credits per request.

curl -s "https://public-api.tubelab.net/v1/search/outliers/related?title=minecraft%20survival%20tutorial&type=video&by=semantic" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Query parameters:

NameTypeRequiredDescription
titlestring[]no
videoIdstring[]no
thumbnailVideoIdstringnoA unique YouTube video identifier
relatedChannelIdstring[]no
type"video" \"short"no
averageViewsRatioFromnumberno
averageViewsRatioTonumberno
zScoreFromnumberno
zScoreTonumberno
viewCountFromintegerno
viewCountTointegerno
languagestring[]noISO 639-1 language codes
durationFromintegerno
durationTointegerno
publishedAtFromstring \stringno
publishedAtTostringno
subscribersCountFromintegerno
subscribersCountTointegerno
channelAvgViewsFromnumberno
channelAvgViewsTonumberno
channelVideoCountFromintegerno
channelVideoCountTointegerno
channelIdstringno
channelAvgViewsToSubscribersRatioFromnumberno
channelAvgViewsToSubscribersRatioTonumberno
titlePatternstringno
referenceIdstringno
rpmEstimationFromnumberno
rpmEstimationTonumberno
revenueEstimationFromnumberno
revenueEstimationTonumberno
channelMonetizationAdsensebooleanno
classificationQuality"negative" \"neutral" \"positive"no
classificationIsFacelessbooleanno
excludeKeywordstring[]no
fromintegernoPage to fetch
sizeintegernoNumber of items per page
by"semantic" \"lexical"noSearch by semantics (meaning of words) or lexical (exact words)

Response shape (abbreviated):

{
  "pagination": { "total": 50, "from": 0, "size": 20 },
  "hits": [
    {
      "id": "dQw4w9WgXcQ",
      "kind": "video",
      "snippet": { "channelId": "UChn5jutPQB_bRjnG80pzl5w", "title": "Similar Video", "publishedAt": "2025-02-01T00:00:00Z" },
      "statistics": { "viewCount": 120000, "zScore": 3.1, "averageViewsRatio": 5.2 }
    }
  ]
}

Channel & Video Endpoints

Get detailed information about specific channels and videos.

GET /channel/videos/{id}

Channel Videos Get videos from a YouTube channel with sampled metrics. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/channel/videos/UChn5jutPQB_bRjnG80pzl5w" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringA unique YouTube channel identifier

Response shape (abbreviated):

{
  "id": "UChn5jutPQB_bRjnG80pzl5w",
  "time": "2025-06-15T12:00:00Z",
  "item": {
    "id": "UChn5jutPQB_bRjnG80pzl5w",
    "kind": "channel",
    "snippet": { "title": "TubeLab", "handle": "@tubelabhq" },
    "videos": [{ "id": "SVeXR66hcIg", "title": "Video Title", "viewCount": 50000, "publishedAt": "2025-01-15T00:00:00Z" }],
    "statistics": { "subscribers": 15000, "totalViews": 500000, "videoCount": 120 }
  }
}

GET /channel/shorts/{id}

Channel Shorts Get shorts from a YouTube channel with sampled metrics. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/channel/shorts/UChn5jutPQB_bRjnG80pzl5w" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringA unique YouTube channel identifier

Response shape (abbreviated):

{
  "id": "UChn5jutPQB_bRjnG80pzl5w",
  "time": "2025-06-15T12:00:00Z",
  "item": {
    "id": "UChn5jutPQB_bRjnG80pzl5w",
    "kind": "channel",
    "snippet": { "title": "TubeLab", "handle": "@tubelabhq" },
    "shorts": [{ "id": "abc123", "title": "Short Title", "viewCount": 100000, "publishedAt": "2025-03-01T00:00:00Z" }],
    "statistics": { "subscribers": 15000, "totalViews": 500000 }
  }
}

GET /video/{id}

Video Details Get details of a YouTube video. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/video/SVeXR66hcIg" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringA unique YouTube video identifier

Response shape (abbreviated):

{
  "ids": ["SVeXR66hcIg"],
  "time": "2025-06-15T12:00:00Z",
  "items": [
    {
      "id": "SVeXR66hcIg",
      "kind": "video",
      "snippet": { "channelId": "UChn5jutPQB_bRjnG80pzl5w", "title": "Video Title", "publishedAt": "2025-01-15T00:00:00Z" },
      "statistics": { "viewCount": 50000, "likeCount": 2000, "commentCount": 300 }
    }
  ]
}

GET /video/transcript/{id}

Video Transcript Get the transcript of a YouTube video. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/video/transcript/SVeXR66hcIg" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringA unique YouTube video identifier

Response shape (abbreviated):

{
  "ids": ["SVeXR66hcIg"],
  "items": [
    {
      "id": "SVeXR66hcIg",
      "events": [{ "startMs": 0, "durationMs": 5000, "endMs": 5000, "text": "Hello and welcome..." }],
      "transcript": "Hello and welcome to this video..."
    }
  ]
}

GET /video/comments/{id}

Video Comments Get the last 100 comments of a YouTube video. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/video/comments/SVeXR66hcIg" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringA unique YouTube video identifier

Response shape (abbreviated):

{
  "ids": ["SVeXR66hcIg"],
  "time": "2025-06-15T12:00:00Z",
  "items": [
    {
      "id": "SVeXR66hcIg",
      "comments": [{ "authorText": "User", "text": "Great video!", "likesCount": 42, "replyCount": 3, "publishedAt": "2025-01-16T00:00:00Z" }],
      "statistics": { "count": 300 }
    }
  ]
}

Scanning Endpoints

Start YouTube scans to discover channels and outlier videos in any niche. Scans run asynchronously - start one, then poll for status.

POST /scan

Scan Start a YouTube scan to search for outliers and channels on any given topic. Cost: 50–100 credits per request.

curl -s -X POST "https://public-api.tubelab.net/v1/scan" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"findBy":"query","query":["UCUyeluBRhGPCW4rPe_UvBZQ","UCX6OQ3DkcsbYNE6H8uQQuVA"],"mode":"standard"}'

Body parameters:

NameTypeRequiredDefaultDescription
findBy"channels" \"query"noqueryStart the scan from queries (search results) or channels
querystring[]yesSearch queries or YouTube channel ids
mode"fast" \"standard"nofast- Fast: 1000 outliers or 100 channels - Standard: 2500 outliers or 250 channels

Response shape (abbreviated):

{
  "id": "2a5e56f5-75f3-4f01-ac85-6e796f5cde87",
  "name": "minecraft, gaming",
  "status": "Queued",
  "input": { "query": ["minecraft", "gaming"], "threshold": 1000 },
  "endedAt": null,
  "createdAt": "2025-06-15T12:00:00Z",
  "updatedAt": "2025-06-15T12:00:00Z"
}

GET /scan/{id}

Scan Get a scan by id. Cost: free per request.

curl -s "https://public-api.tubelab.net/v1/scan/2a5e56f5-75f3-4f01-ac85-6e796f5cde87" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Path parameters:

NameTypeDescription
idstringScan id

Response shape (abbreviated):

{
  "id": "2a5e56f5-75f3-4f01-ac85-6e796f5cde87",
  "name": "minecraft, gaming",
  "status": "Completed",
  "input": { "query": ["minecraft", "gaming"], "threshold": 1000 },
  "endedAt": "2025-06-15T13:30:00Z",
  "createdAt": "2025-06-15T12:00:00Z",
  "updatedAt": "2025-06-15T13:30:00Z"
}

Scan Workflow

Scans run asynchronously. Here's the typical flow:

  1. Start a scan with POST /scan - returns a scan ID and status Queued
  2. Poll for status with GET /scan/{id} - status progresses: Queued → Running → Completed
  3. Search results with GET /search/outliers?referenceId={scanId} - returns discovered outlier videos
# 1. Start scan
SCAN_ID=$(curl -s -X POST "https://public-api.tubelab.net/v1/scan" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":["minecraft","gaming"],"mode":"fast"}' | jq -r '.id')

# 2. Poll until complete
curl -s "https://public-api.tubelab.net/v1/scan/$SCAN_ID" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '.status'

# 3. Search results once completed
curl -s "https://public-api.tubelab.net/v1/search/outliers?referenceId=$SCAN_ID" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"
ModeOutliers LimitChannels LimitCostEst. Time
Fast1,00010050 credits30 min – 2 hrs
Standard2,500250100 credits2 – 4 hrs

Common Patterns

Pagination

Search endpoints return pagination.total, pagination.from, and pagination.size. Use from and size query params to paginate:

# Page 1 (items 0-19)
curl -s "https://public-api.tubelab.net/v1/search/outliers?query=minecraft%20adventures&type=video&from=0&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

# Page 2 (items 20-39)
curl -s "https://public-api.tubelab.net/v1/search/outliers?query=minecraft%20adventures&type=video&from=20&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Range Filters

Many numeric fields support From/To suffixes for range filtering:

# Channels with 10k-100k subscribers and avg views > 5000
curl -s "https://public-api.tubelab.net/v1/search/channels?query=cooking%20healthy%20recipes&subscribersFrom=10000&subscribersTo=100000&averageViewsFrom=5000" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Sorting

Use sortBy and sortOrder params. Available sort fields vary by endpoint.

Important: When using query, omit sortBy to get the default relevance-based ranking. Adding a sort like sortBy=views overrides relevance and returns results ordered by that field, which usually produces worse matches. Only add sortBy when you don't use query (e.g. filter-only searches).

# Filter-only search (no query) — sorting makes sense here
curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&classificationQuality=positive&sortBy=views&sortOrder=desc" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Array Parameters

Array params use repeated keys:

# Multiple search queries
curl -s "https://public-api.tubelab.net/v1/search/channels?query=minecraft%20adventures&query=gaming%20tutorials" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Search Recipes

Ready-to-use filter combinations for common research tasks. Date filters use ISO 8601 format - compute relative dates with date or substitute directly.

Tip - queries: Search is semantic — longer, descriptive queries return much better results than single keywords. Use query=minecraft adventures or query=cooking healthy recipes instead of just query=minecraft or query=cooking. Think 2-4 words that describe the niche.

Tip - sorting: When using query, do NOT add sortBy — the default sort is by relevance and gives the best matches. Only use sortBy for filter-only searches (no query), e.g. sorting by foundAt or views.

Tip - averageViewsRatio: When searching outliers, prefer averageViewsRatioFrom=1 to find videos that outperformed the channel's average. A ratio of 2 means the video got 2x the channel's usual views. Values above 5 are very rare and indicate extreme virality - only use higher thresholds when you want to narrow results significantly.

Tip - content type: When searching outliers, prefer type=video to focus on long-form videos. Shorts tend to have inflated view counts and skew results. Only use type=short when specifically researching short-form content.

Profitable channels (recently found)

Monetized channels found in the last year with estimated monthly revenue above $1,000 and at least 1,000 subscribers. Sorted by discovery date.

ONE_YEAR_AGO=$(date -u -d "1 year ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-1y +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/channels?monetizationAdsense=true&revenueMonthlyEstimationFrom=1000&subscribersFrom=1000&publishedAtFrom=$ONE_YEAR_AGO&language=en&language=de&language=fr&excludeNiche=music&excludeNiche=song&excludeNiche=lofi&excludeNiche=movies&excludeNiche=kids&excludeNiche=news&excludeNiche=politic&sortBy=foundAt&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Trending channels

Channels with high engagement (avg views/subscribers ratio above 1) and at least 10,000 average views, found in the last 6 months. Good for spotting rising creators.

SIX_MONTHS_AGO=$(date -u -d "6 months ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-6m +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/channels?avgViewsToSubscribersRatioFrom=1&averageViewsFrom=10000&subscribersFrom=100&publishedAtFrom=$SIX_MONTHS_AGO&language=en&language=de&language=fr&excludeNiche=music&excludeNiche=song&excludeNiche=lofi&excludeNiche=movies&sortBy=foundAt&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Faceless viral videos

AI-classified faceless videos with positive quality published in the last month. Useful for finding faceless niche ideas.

ONE_MONTH_AGO=$(date -u -d "1 month ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-1m +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&classificationIsFaceless=true&classificationQuality=positive&publishedAtFrom=$ONE_MONTH_AGO&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

High authenticity videos

Videos classified as positive quality by AI. Filters out low-effort and spammy content.

curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&classificationQuality=positive&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Monetized channel videos

Outlier videos from channels with AdSense enabled. Useful for researching niches that generate ad revenue.

curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&channelMonetizationAdsense=true&size=20" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY"

Error Handling

All errors return JSON with an error object:

StatusMeaningResponse
400Validation error{ "error": { "errors": [{ "code": "...", "message": "...", "path": ["param"] }] } }
401Invalid/missing API key{ "error": { "message": "Unauthorized" }, "status": "error" }
402Insufficient credits{ "error": { "message": "Insufficient credits" }, "status": "error" }
429Rate limited{ "error": { "message": "Rate limit exceeded", "rateLimit": { "limit": 10, "current": 11, "remaining": 0 } } }

jq Recipes

# Profitable channels: extract name, subs, revenue, and views
ONE_YEAR_AGO=$(date -u -d "1 year ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-1y +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/channels?monetizationAdsense=true&revenueMonthlyEstimationFrom=1000&subscribersFrom=1000&publishedAtFrom=$ONE_YEAR_AGO&sortBy=foundAt&size=10" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '[.hits[] | {title: .snippet.title, handle: .snippet.handle, subs: .statistics.subscribers, avgViews: .statistics.averageViews}]'

# Trending channels: list titles with engagement ratio
SIX_MONTHS_AGO=$(date -u -d "6 months ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-6m +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/channels?avgViewsToSubscribersRatioFrom=1&averageViewsFrom=10000&subscribersFrom=100&publishedAtFrom=$SIX_MONTHS_AGO&sortBy=foundAt&size=10" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '[.hits[] | {title: .snippet.title, subs: .statistics.subscribers, ratio: .statistics.avgViewsToSubscribersRatio}]'

# Faceless viral videos: extract title, views, and z-score
ONE_MONTH_AGO=$(date -u -d "1 month ago" +%Y-%m-%dT00:00:00Z 2>/dev/null || date -u -v-1m +%Y-%m-%dT00:00:00Z)
curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&classificationIsFaceless=true&classificationQuality=positive&publishedAtFrom=$ONE_MONTH_AGO&size=10" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '[.hits[] | {title: .snippet.title, views: .statistics.viewCount, zScore: .statistics.zScore, channel: .snippet.channelTitle}]'

# High-quality outliers: get top videos by views
curl -s "https://public-api.tubelab.net/v1/search/outliers?type=video&classificationQuality=positive&sortBy=views&sortOrder=desc&size=10" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '[.hits[] | {title: .snippet.title, views: .statistics.viewCount, channel: .snippet.channelTitle}]'

# Get full transcript as plain text
curl -s "https://public-api.tubelab.net/v1/video/transcript/SVeXR66hcIg" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq -r '.items[0].transcript'

# Poll scan status until complete
curl -s "https://public-api.tubelab.net/v1/scan/2a5e56f5-75f3-4f01-ac85-6e796f5cde87" \
  -H "Authorization: Api-Key $TUBELAB_API_KEY" | jq '{status: .status, endedAt: .endedAt}'

平台分布

OpenClaw

91.27%
按下载量换算6,790

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills