API para YouTube: Post da comunidade
Obtenha um único post da comunidade do YouTube pela URL (texto, imagens, canal, data de publicação).
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"channelHandle": "alex_rivera",
"channelId": "a1b2c3d4",
"channelTitle": "Example title",
"content": "A short example description of this item.",
"createdUtc": 12.5,
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"images": [
"https://example.com/image.jpg"
],
"likeCount": 12500,
"publishedTime": "2024-01-15T09:30:00Z"
},
"found": true,
"reason": "not_found"
}interface YoutubeCommunityPostResponse {
data: {
channelHandle: string;
channelId?: string;
channelTitle: string;
content: string;
createdUtc?: number;
id: string;
image?: string;
images?: string[];
likeCount?: number;
publishedTime: string;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/youtube.community_post \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/post/Ugkx1LonSRBBUqASv-J8j9_FesxwlMAhT3_e"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://www.youtube.com/post/Ugkx1LonSRBBUqASv-J8j9_FesxwlMAhT3_e"URL do post da comunidade do YouTube. |
| Resposta | ||
| data | object | |
| data.channelHandle | string | Populated whenever the provider has data for the entity. |
| data.channelId | string | YouTube channel ID of the channel that published the post. |
| data.channelTitle | string | Populated whenever the provider has data for the entity. |
| data.content | string | Populated whenever the provider has data for the entity. |
| data.createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.id | string | Populated whenever the provider has data for the entity. |
| data.image | string | URL of the post's primary image. |
| data.images | string[] | URLs of every image attached to the post. |
| data.likeCount | integer | Number of likes on the post. |
| data.publishedTime | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Post da comunidade da API para YouTube
O endpoint Post da comunidade da AnyAPI para YouTube retorna dados de YouTube em JSON normalizado com uma chamada POST para /v1/run/youtube.community_post. Obtenha um único post da comunidade do YouTube pela URL (texto, imagens, canal, data de publicação). A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Post da comunidade da API para YouTube feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,4 segundos, em 4 chamadas medidas.