Skip to main content

GET /v1/youtube/web_v2/get_general_search

General search (raw data, recommend V2)

stable · 2 credits per success

YouTube comprehensive search with multiple filter options for precise result filtering;**search_query**: Search keyword;**language_code**: Language code (zh-CN for Chinese, en-US for English);**country_code**: Country code affecting regional relevance;**time_zone**: Time zone setting;Filter Options (select one value for each);Upload Time (upload_time);`hour`: Uploaded in the past hour;`today`: Up…

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/youtube/web_v2/get_general_search?feature=live&sort_by=relevance&duration=short&time_zone=America%2FLos_Angeles&upload_time=hour&content_type=video&country_code=US&search_query=Python%E7%BC%96%E7%A8%8B&language_code=zh-CN&continuation_token=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
header{ 1 item }
topbar{ 1 item }
contents{ 1 item }
targetId:"search-page"
trackingParams:"CAAQvGkiEwi22KySobyWAxUnS0gAHQQOJUbKAQTFM2nC"
responseContext{ 5 items }
estimatedResults:"2474962"
}
meta{
endpoint:"youtube.web_v2.get_general_search"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    featurestringqueryno特征过滤 | Feature filterlive
    sort_bystringqueryno排序方式 | Sort byrelevance
    durationstringqueryno视频时长过滤 | Duration filtershort
    time_zonestringqueryno时区(如AmericaAmerica/Los_Angeles
    upload_timestringqueryno上传时间过滤 | Upload time filterhour
    content_typestringqueryno内容类型过滤 | Content type filtervideo
    country_codestringqueryno国家代码(如US, CN等)US
    search_querystringqueryyes搜索关键字Python编程
    language_codestringqueryno语言代码(如zh-CN, en-US等)zh-CN
    continuation_tokenstringqueryno翻页令牌demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All YouTube endpoints →

    Search

    Search endpoints and docs