YouTube channel community posts by channel id
tikhub.x.youtube-web-v2-get-channel-community-postsYoutube: get channel community posts (web_v2)
- Price
- $0.001/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-channel-community-posts?channel_id=UCkRfArvrzheW2E7b6SVT7vQ&country_code=US&language_code=zh-CNPreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
channel_id | cadena | Obligatorio | Channel ID | UCkRfArvrzheW2E7b6SVT7vQ |
need_format | booleano | Opcional | Whether to clean and format the data | true |
country_code | cadena | Opcional | Country code | US |
language_code | cadena | Opcional | Language code | zh-CN |
continuation_token | cadena | Opcional | Pagination token for next page | |
- Parámetros de consulta
channel_idcadenaObligatorioChannel ID
Ejemplo:
UCkRfArvrzheW2E7b6SVT7vQneed_formatbooleanoOpcionalWhether to clean and format the data
Ejemplo:
truecountry_codecadenaOpcionalCountry code
Ejemplo:
USlanguage_codecadenaOpcionalLanguage code
Ejemplo:
zh-CNcontinuation_tokencadenaOpcionalPagination token for next page
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-channel-community-posts?channel_id=UCkRfArvrzheW2E7b6SVT7vQ&country_code=US&language_code=zh-CN' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-channel-community-posts?channel_id=UCkRfArvrzheW2E7b6SVT7vQ&country_code=US&language_code=zh-CN",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-channel-community-posts?channel_id=UCkRfArvrzheW2E7b6SVT7vQ&country_code=US&language_code=zh-CN", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.001/success, incluida la tarifa de servicio.