API para X / Twitter: Tweets da comunidade
Liste os tweets recentes publicados em uma comunidade do Twitter/X pela URL.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,0021 por requisição1 resultadoUS$ 0,000210 resultadosUS$ 0,001120 resultadosUS$ 0,0021 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
Teste
Faça sua primeira requisição
{
"data": {
"tweets": [
{
"authorHandle": "alex_rivera",
"authorName": "Alex Rivera",
"authorVerified": true,
"createdUtc": 12.5,
"favoriteCount": 12500,
"id": "a1b2c3d4",
"lang": "en",
"quoteCount": 12500,
"replyCount": 12500,
"retweetCount": 12500,
"text": "A short example description of this item.",
"views": 12500
}
]
},
"found": true,
"reason": "not_found"
}interface TwitterCommunityTweetsResponse {
data: {
tweets: {
authorHandle: string;
authorName?: string;
authorVerified?: boolean;
createdUtc: number;
favoriteCount: number;
id: string;
lang?: string;
quoteCount: number;
replyCount: number;
retweetCount: number;
text: string;
views?: number;
}[];
} | 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/twitter.community_tweets \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://x.com/i/communities/1926186499399139650"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://x.com/i/communities/1926186499399139650"URL da comunidade (ex.: https://x.com/i/communities/1926186499399139650). |
| Resposta | ||
| data | object | |
| data.tweets | object[] | Populated whenever the provider has data for the entity. |
| data.tweets[].authorHandle | string | Populated whenever the provider has data for the entity. |
| data.tweets[].authorName | string | Display name of the account that posted. |
| data.tweets[].authorVerified | boolean | Whether the posting account carries an X blue verification badge. |
| data.tweets[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.tweets[].favoriteCount | integer | |
| data.tweets[].id | string | Populated whenever the provider has data for the entity. |
| data.tweets[].lang | string | Two-letter language code X detected for the post. |
| data.tweets[].quoteCount | integer | |
| data.tweets[].replyCount | integer | |
| data.tweets[].retweetCount | integer | |
| data.tweets[].text | string | Populated whenever the provider has data for the entity. |
| data.tweets[].views | integer | View count of the post. |
| 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,0005 |
| Preço /mil req. | USD | US$ 0,50 |
Dúvidas frequentes
Sobre o endpoint Tweets da comunidade da API para X / Twitter
O endpoint Tweets da comunidade da AnyAPI para X / Twitter retorna dados de X / Twitter em JSON normalizado com uma chamada POST para /v1/run/twitter.community_tweets. Liste os tweets recentes publicados em uma comunidade do Twitter/X pela URL. A AnyAPI distribui cada requisição entre 4 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,50 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Tweets da comunidade da API para X / Twitter feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,3 segundos, em 21 chamadas medidas.