Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

X (Twitter) Twitter Community

Docs da API
https://api.sandbase.ai/v1/api/twitter/community

Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.

Preço
A partir de $0.0001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Community URL (e.g. https://x.com/i/communities/1926186499399139650).
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

X (Twitter) Twitter Community API

Returns the public details of one X (Twitter) community: name, description, member count, join policy, creator handle and rules. It needs the community URL as the url parameter.

Use cases

  • Check the size and join policy of a community before you decide to join or promote in it.
  • Track memberCount for a list of communities to see which ones grow.
  • Read the rules of a community before you plan posts for it.
  • Find the creator of a community and start outreach from their handle.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/community" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://x.com/i/communities/1926186499399139650"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesCommunity URL (e.g. https://x.com/i/communities/1926186499399139650).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "createdUtc": 1748073622,
    "creatorHandle": "carsonrmccann",
    "description": "This community is for creators and builders who are growing to their first 1,000…",
    "id": "1926186499399139650",
    "joinPolicy": "Open",
    "memberCount": 5626,
    "name": "The First Thousand",
    "nsfw": false,
    "rules": [
      {
        "name": "No Empty Platitudes"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.nameDisplay name of the community.
data.descriptionText the community uses to describe its purpose.
data.memberCountNumber of members in the community.
data.joinPolicyHow people can join. The sample value is Open.
data.creatorHandleX handle of the user who created the community.
data.createdUtcCreation time as a Unix timestamp in seconds (UTC).
data.rules[].nameTitle of each community rule, in the order returned.
data.nsfwtrue if the community is marked as adult content, otherwise false.
data.idNumeric community ID as a string. It matches the ID at the end of the input URL.
foundtrue when the community was found. A lookup that finds nothing returns false.

Notes

Pricing

Billed at the actual cost of each call, about $0.0001 for the request above. Failed calls are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
X (Twitter)A partir de $0.0001 por chamadaJSON
X (Twitter)A partir de $0.00054 por chamadaJSON
TwitterA partir de $0.0006 por chamadaJSON assíncrono
X (Twitter)A partir de $0.0036 por chamadaJSON
X (Twitter)A partir de $0.00045 por chamadaJSON
X (Twitter)A partir de $0.00045 por chamadaJSON

Guias:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Perguntas

FAQ

Como eu uso a API X (Twitter) Twitter Community?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/twitter/community com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API X (Twitter) Twitter Community?

A partir de $0.0001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API X (Twitter) Twitter Community aceita?

Obrigatórios: url (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API X (Twitter) Twitter Community retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor X (Twitter) ou de uma chave de API?

Não. X (Twitter) Twitter Community funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do X (Twitter) separadamente.