YouTube channel community posts by id or username
scrapecreators.x.v1-youtube-channel-community-postsFetches community posts from a YouTube channel's Posts tab, including post ID, URL, content, images, attached video, like count, publish time, channel info, and a continuationToken when YouTube has more results.
- Price
- $0.00188/callAl 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
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-community-posts?channelId=UCX6OQ3DkcsbYNE6H8uQQuVAPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
handle | cadena | Opcional | YouTube channel handle | MrBeast |
channelId | cadena | Opcional | YouTube channel ID | UCX6OQ3DkcsbYNE6H8uQQuVA |
continuationToken | cadena | Opcional | Continuation token to get more community posts. Get 'continuationToken' from previous response. | 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB |
- Parámetros de consulta
handlecadenaOpcionalYouTube channel handle
Ejemplo:
MrBeastchannelIdcadenaOpcionalYouTube channel ID
Ejemplo:
UCX6OQ3DkcsbYNE6H8uQQuVAcontinuationTokencadenaOpcionalContinuation token to get more community posts. Get 'continuationToken' from previous response.
Ejemplo:
4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-community-posts?channelId=UCX6OQ3DkcsbYNE6H8uQQuVA' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-community-posts?channelId=UCX6OQ3DkcsbYNE6H8uQQuVA",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-channel-community-posts?channelId=UCX6OQ3DkcsbYNE6H8uQQuVA", {
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.00188/call, incluida la tarifa de servicio.