Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Twitter Community info

Documentazione API
https://api.sandbase.ai/v1/api/twitter/web/community-info

Get community info on Twitter. Returns the platform data as structured JSON.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
Community ID
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Twitter Community info API

Returns the profile of one Twitter community: its name, description, member count, banner images and rules. It needs a community_id.

Use cases

  • Show a community's name, description and member count in a dashboard.
  • Track the growth of a community by saving member_count over time.
  • Check a community's rules before posting or moderating.
  • Flag communities marked as NSFW with is_nsfw before showing them to users.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/community-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"community_id": "1493290339532222469"}'

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

Parameters

NameTypeRequiredDescription
community_idstringYesCommunity ID

Example response

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

{
  "created_at": 1644863135598,
  "custom_banner_media": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
  "default_banner_media": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
  "description": "XRP community",
  "id": "1493290339532222469",
  "is_nsfw": false,
  "last_cursor": "",
  "member_count": 123243,
  "name": "XRP",
  "primary_topic": null,
  "rules": [
    {
      "description": "You should be respectful towards others.",
      "name": "Be Respectful"
    }
  ],
  "status": "failed"
}

Response fields

FieldMeaning
idCommunity ID. It matches the community_id you sent.
nameDisplay name of the community.
descriptionShort text that describes the community.
member_countNumber of members in the community.
created_atCreation time of the community as a number. The value looks like a Unix time in milliseconds.
is_nsfwtrue if the community is marked as NSFW, otherwise false.
custom_banner_media / default_banner_mediaURLs of the community banner images.
rules[].name / rules[].descriptionTitle and full text of each community rule.
primary_topicMain topic of the community. It is null when none is set.
statusStatus string in the response. The sample shows failed, so check this field in your own code.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
X (Twitter)$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON

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

Domande

FAQ

Come uso l'API Twitter Community info?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/twitter/web/community-info con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Twitter Community info?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Twitter Community info?

Richiesti: community_id (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Twitter Community info?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API X (Twitter)?

No. Twitter Community info funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API X (Twitter).