RequestBeam

Documentazione

Documentazione RequestBeam

Riferimento degli endpoint YouTube

Consulta video, canali, Shorts, commenti, post della community, risultati di ricerca e metadati dei flussi YouTube tramite 34 endpoint autenticati: 32 GET e 2 POST.

Limite di concorrenza

IA e Data condividono ciascuno un pool di richieste simultanee per account: 5 IA / 2 Data per impostazione predefinita, secondo l’abbonamento. Anche i limiti degli endpoint sono vincolati al pool di categoria. Al raggiungimento di un limite viene restituito HTTP 429. Le attività asincrone occupano un posto fino al termine dell’esecuzione.

GET /v1/youtube/web/videos/related
Limite predefinito: 2
GET /v1/youtube/web/search/videos
Limite predefinito: 2
GET /v1/youtube/web/channels/id
Limite predefinito: 2
GET /v1/youtube/web/channels/id/by-url
Limite predefinito: 2
GET /v1/youtube/web/channels/url
Limite predefinito: 2
GET /v1/youtube/web/channels/info
Limite predefinito: 2
GET /v1/youtube/web/channels/shorts
Limite predefinito: 2
GET /v1/youtube/web/channels/search
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/info
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/info-v2
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/comments
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/comments/replies
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/description
Limite predefinito: 2
GET /v1/youtube/web-v2/search
Limite predefinito: 2
GET /v1/youtube/web-v2/search-v2
Limite predefinito: 2
GET /v1/youtube/web-v2/search/shorts
Limite predefinito: 2
GET /v1/youtube/web-v2/search/shorts-v2
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/id
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/url
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/videos
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/streams
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/streams-v2
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/streams/signed-url
Limite predefinito: 2
POST /v1/youtube/web-v2/videos/captions
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/captions/result
Limite predefinito: 2
GET /v1/youtube/web-v2/videos/related
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/shorts
Limite predefinito: 2
GET /v1/youtube/web-v2/search/suggestions
Limite predefinito: 2
GET /v1/youtube/web-v2/search/channels
Limite predefinito: 2
GET /v1/youtube/web-v2/channels/posts
Limite predefinito: 2
GET /v1/youtube/web-v2/posts/detail
Limite predefinito: 2
GET /v1/youtube/web-v2/posts/comments
Limite predefinito: 2
GET /v1/youtube/web-v2/posts/comments/replies
Limite predefinito: 2
POST /v1/youtube/web-v2/videos/streams-v3
Limite predefinito: 2

Invia solo i campi documentati per l’endpoint scelto. Per ogni gruppo di alternative, fornisci almeno un campo. I cursori provengono dalla risposta precedente; la paginazione non è automatica.

Le operazioni GET usano parametri di query senza corpo. Il flusso V3 usa POST con un corpo application/json e senza parametri di query; invia proxy_url solo nel corpo. Il segmento di versione seleziona l’interfaccia YouTube. Campi sconosciuti o duplicati vengono rifiutati. Conserva identificatori e cursori come stringhe, anche oltre l’intervallo intero sicuro di JavaScript.

Per le richieste sincrone: Si paga per richiesta riuscita, non per elemento restituito. Ogni pagina è una richiesta distinta. La maggior parte delle operazioni costa $0.0013. Le due varianti di ricerca V2 costano $0.0026 e la variante dei flussi V2 $0.0052. Il prezzo è indicato per ogni endpoint. I prezzi specifici dell’account hanno precedenza. Gli sconti del fornitore sui volumi non vengono trasferiti automaticamente. Un errore del fornitore libera la prenotazione; un errore di contabilizzazione non genera una seconda richiesta al fornitore.

Attività dei sottotitoli

POST https://api.requestbeam.com/v1/youtube/web-v2/videos/captions restituisce HTTP 202, un ID di attività della piattaforma e Location: /v1/jobs/\{id\}. Consultare GET https://api.requestbeam.com/v1/youtube/web-v2/videos/captions/result?job_id=\{id\} ogni 2–5 secondi. Solo il tenant proprietario può accedere. La consultazione è gratuita; la creazione costa $0.0104 a listino. Un risultato senza sottotitoli è riuscito e fatturabile. Il formato è fissato alla creazione (srt predefinito); il format opzionale della consultazione deve coincidere, altrimenti si riceve HTTP 400. data.result è null fino a COMPLETED; è possibile anche FAILED. Si recuperano sottotitoli esistenti, senza trascrizione IA.

Se l’accettazione non è certa, la richiesta non viene ripetuta e la prenotazione può rimanere fino al termine di 30 minuti dell’attività. Il risultato può restare in attesa durante la riconciliazione della fatturazione. Un errore temporaneo di consultazione non equivale a un fallimento definitivo.

json
{"success":true,"data":{"id":"9007199254740993001","status":"PROCESSING","result":null},"requestId":"example"}

Ambito e limiti

web e web-v2 selezionano la famiglia di interfacce. Il flusso V3 supporta POST con un proxy HTTP proprio a uscita fissa. I flussi restituiscono metadati e URL, non file o garanzie di download. La descrizione di un canale può richiedere una seconda richiesta fatturata con continuation_token. Nessun tentativo automatico.

web-get_relate_video

GET https://api.requestbeam.com/v1/youtube/web/videos/related

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
video_idSìstring
continuation_tokenNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/videos/related" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=LuIL5JATZsc"

web-search_video

GET https://api.requestbeam.com/v1/youtube/web/search/videos

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
search_querySìstring
language_codeNostring; default: "en"
order_byNostring; default: "this_month"
country_codeNostring; default: "us"
continuation_tokenNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/search/videos" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "search_query=Minecraft"

web-get_channel_id

GET https://api.requestbeam.com/v1/youtube/web/channels/id

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_nameSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_name=LinusTechTips"

web-get_channel_id_v2

GET https://api.requestbeam.com/v1/youtube/web/channels/id/by-url

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_urlSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/id/by-url" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_url=https://www.youtube.com/@CozyCraftYT"

web-get_channel_url

GET https://api.requestbeam.com/v1/youtube/web/channels/url

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/url" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCeu6U67OzJhV1KwBansH3Dg"

web-get_channel_info

GET https://api.requestbeam.com/v1/youtube/web/channels/info

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/info" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw"

web-get_channel_short_videos

GET https://api.requestbeam.com/v1/youtube/web/channels/shorts

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
continuation_tokenNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/shorts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw"

web-search_channel

GET https://api.requestbeam.com/v1/youtube/web/channels/search

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
search_querySìstring
language_codeNostring; default: "en"
country_codeNostring; default: "us"
continuation_tokenNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web/channels/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw" \
  --data-urlencode "search_query=AMD"

web_v2-get_video_info

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/info

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
video_idSìstring; minLength: 11; maxLength: 11
language_codeNostring; default: "zh-CN"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/info" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=oaSNBz4qMQY"

web_v2-get_video_info_v2

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/info-v2

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/info-v2" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=dQw4w9WgXcQ"

web_v2-get_video_comments

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/comments

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
video_idSìstring; minLength: 11; maxLength: 11
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
sort_byNostring; top, newest; default: "top"
continuation_tokenNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/comments" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=LuIL5JATZsc"

web_v2-get_video_comment_replies

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/comments/replies

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
continuation_tokenSìstring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/comments/replies" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "continuation_token=example"

web_v2-get_channel_description

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/description

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: channel_id, continuation_token.

CampoObbligatorioContratto
channel_idNostring
continuation_tokenNostring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/description" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCeu6U67OzJhV1KwBansH3Dg"

GET https://api.requestbeam.com/v1/youtube/web-v2/search

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
search_querySìstring; maxLength: 200
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
time_zoneNostring; default: "America/Los_Angeles"
upload_timeNostring; hour, today, week, month, year
durationNostring; short, medium, long
content_typeNostring; video, channel, playlist, movie
featureNostring; live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr, location, purchased
sort_byNostring; relevance, upload_date, view_count, rating
continuation_tokenNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "search_query=Python编程"

web_v2-get_general_search_v2

GET https://api.requestbeam.com/v1/youtube/web-v2/search-v2

Prezzo per richiesta riuscita: $0.0026.

Almeno uno: keyword, continuation_token.

CampoObbligatorioContratto
keywordNostring; maxLength: 200
continuation_tokenNostring
upload_dateNostring; last_hour, today, this_week, this_month, this_year
typeNostring; video, channel, playlist, movie
durationNostring; short, medium, long
featuresNostring
sort_byNostring; relevance, upload_date, view_count, rating
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search-v2" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "keyword=Python tutorial"

GET https://api.requestbeam.com/v1/youtube/web-v2/search/shorts

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
search_querySìstring; maxLength: 200
language_codeNostring; default: "en-US"
country_codeNostring; default: "US"
time_zoneNostring; default: "America/Los_Angeles"
upload_timeNostring; hour, today, week, month, year
sort_byNostring; relevance, upload_date, view_count, rating
continuation_tokenNostring
filter_mixed_contentNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search/shorts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "search_query=Python编程"

web_v2-get_shorts_search_v2

GET https://api.requestbeam.com/v1/youtube/web-v2/search/shorts-v2

Prezzo per richiesta riuscita: $0.0026.

Almeno uno: keyword, continuation_token.

CampoObbligatorioContratto
keywordNostring; maxLength: 200
continuation_tokenNostring
upload_dateNostring; last_hour, today, this_week, this_month, this_year
sort_byNostring; relevance, upload_date, view_count, rating
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search/shorts-v2" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "keyword=coding tips"

web_v2-get_channel_id

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/id

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_urlSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_url=https://www.youtube.com/@CozyCraftYT"

web_v2-get_channel_url

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/url

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/url" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCeu6U67OzJhV1KwBansH3Dg"

web_v2-get_channel_videos

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/videos

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
continuation_tokenNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/videos" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCJHBJ7F-nAIlMGolm0Hu4vg"

web_v2-get_video_streams

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/streams

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/streams" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=dQw4w9WgXcQ"

web_v2-get_video_streams_v2

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/streams-v2

Prezzo per richiesta riuscita: $0.0052.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/streams-v2" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=dQw4w9WgXcQ"

web_v2-get_signed_stream_url

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/streams/signed-url

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
itagSìinteger
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/streams/signed-url" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "itag=18" \
  --data-urlencode "video_id=dQw4w9WgXcQ"

web_v2-get_video_captions

POST https://api.requestbeam.com/v1/youtube/web-v2/videos/captions

Prezzo per richiesta riuscita: $0.0104.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
language_codeNostring
formatNostring; srt, xml, json3, txt; default: "srt"
bash
curl -X POST "https://api.requestbeam.com/v1/youtube/web-v2/videos/captions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"format":"srt","video_id":"dQw4w9WgXcQ"}'

web_v2-get_video_captions_result

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/captions/result

Prezzo per richiesta riuscita: $0.

CampoObbligatorioContratto
job_idSìstring; ^[1-9][0-9]{0,18}$
formatNostring; srt, xml, json3, txt; default: "srt"
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/captions/result" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "job_id=9007199254740993001"

GET https://api.requestbeam.com/v1/youtube/web-v2/videos/related

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: video_id, video_url.

CampoObbligatorioContratto
video_idNostring
video_urlNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/videos/related" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "video_id=dQw4w9WgXcQ"

web_v2-get_channel_shorts

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/shorts

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: channel_id, channel_url.

CampoObbligatorioContratto
channel_idNostring
channel_urlNostring
continuation_tokenNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/shorts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCuAXFkgsw1L7xaCfnd5JJOw"

web_v2-get_search_suggestions

GET https://api.requestbeam.com/v1/youtube/web-v2/search/suggestions

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
keywordSìstring; maxLength: 200
languageNostring; default: "en"
regionNostring; default: "US"
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search/suggestions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "keyword=Rick Astley"

web_v2-search_channels

GET https://api.requestbeam.com/v1/youtube/web-v2/search/channels

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: keyword, continuation_token.

CampoObbligatorioContratto
keywordNostring; maxLength: 200
continuation_tokenNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/search/channels" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "keyword=Rick Astley"

web_v2-get_channel_community_posts

GET https://api.requestbeam.com/v1/youtube/web-v2/channels/posts

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
channel_idSìstring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
continuation_tokenNostring
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/channels/posts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "channel_id=UCkRfArvrzheW2E7b6SVT7vQ"

web_v2-get_post_detail

GET https://api.requestbeam.com/v1/youtube/web-v2/posts/detail

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
post_idSìstring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/posts/detail" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "post_id=UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"

web_v2-get_post_comments

GET https://api.requestbeam.com/v1/youtube/web-v2/posts/comments

Prezzo per richiesta riuscita: $0.0013.

Almeno uno: post_id, continuation_token.

CampoObbligatorioContratto
post_idNostring
continuation_tokenNostring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/posts/comments" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "post_id=UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"

web_v2-get_post_comment_replies

GET https://api.requestbeam.com/v1/youtube/web-v2/posts/comments/replies

Prezzo per richiesta riuscita: $0.0013.

CampoObbligatorioContratto
continuation_tokenSìstring
language_codeNostring; default: "zh-CN"
country_codeNostring; default: "US"
need_formatNoboolean; default: true
bash
curl --get "https://api.requestbeam.com/v1/youtube/web-v2/posts/comments/replies" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "continuation_token=example"

web_v2-get_video_streams_v3

POST https://api.requestbeam.com/v1/youtube/web-v2/videos/streams-v3

Prezzo per richiesta riuscita: $0.0039.

Il flusso V3 usa POST JSON via HTTPS e costa $0.0039 per richiesta riuscita. Fornisci video_id e proxy_url (http:// con porta esplicita e host pubblico). Sono vietate destinazioni private, loopback e link-local; codifica i caratteri riservati delle credenziali. Usa un’uscita fissa o una sessione persistente. itags è ["137", "140"] per impostazione predefinita; i formati mancanti non vengono sostituiti. verify_download è false per impostazione predefinita. Scarica con la stessa sessione proxy, lo stesso IP pubblico effettivo e streams[].download_headers. L’estrazione riuscita degli URL (HTTP 200) è fatturata anche se all_selected_streams_verified o streams[].verified è false. La verifica legge piccoli campioni di byte, non l’intero file. URL e sessioni scadono indipendentemente; unisci i flussi audio e video separati nel client.

CampoObbligatorioContratto
video_idSìstring; ^[A-Za-z0-9_-]{11}$
proxy_urlSìstring; minLength: 1; maxLength: 2048; writeOnly: true
itagsNoarray; items: string ^[0-9]+$; minItems: 1; maxItems: 4; uniqueItems: true; default: ["137","140"]
verify_downloadNoboolean; default: false
bash
curl -X POST "https://api.requestbeam.com/v1/youtube/web-v2/videos/streams-v3" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"video_id":"phlZ2J3x4hI","proxy_url":"http://USERNAME:[email protected]:1000","itags":["137","140"],"verify_download":false}'

Risposte

Gli endpoint sincroni conservano la risposta JSON originale. Quelli dei sottotitoli restituiscono success, data.id, data.status, data.result e requestId. Gli esempi sono illustrativi, non risultati reali.

json
{"code":200,"data":{"channel_id":"UCXuqSBlHAE6Xw-yeJA0Tunw"}}

Errori

HTTP 400 indica parametri non validi, 401 autenticazione non valida, 402 saldo insufficiente, 403 accesso negato, 429 limiti di frequenza e 5xx errori del servizio o fornitore. Conserva X-Request-Id per la diagnosi. HTTP 200 con un codice applicativo di errore non indica successo.

Fonti

Endpoint e prezzi sono stati verificati il 2026-10-31 rispetto allo schema ufficiale e ai metadati di prezzo correnti. I metadati correnti prevalgono su indicazioni testuali contrastanti.

TikHub · OpenAPI · Prices