X community members API

Get a page of the accounts that have joined an X community, by the community's ID, about 20 a page: handle, name, bio, follower count, verification. Up to 20 items a call; $0.0004 per item returned, at least $0.0004 and at most $0.0080 a call. Errors and timeouts are not charged; an empty result is charged $0.0004.

GEThttps://api.dataxapi.com/v1/x/communities/members/list
Also known astwitter community membersaccounts in a communityIn Chinese: X 社群成员 API
Price$0.0004/ item · Errors and timeouts are not charged
Returns20 a pagea page, with a cursor for the next
When an upstream failsRetried for youon the same route, or a backup route; never charged

Try it

Change a value and the request on the right follows.
Run · $0.0004

Sign in to run it; it runs on your own balance.

Used to call POST /v1/x/communities/members? It is this address now. What changed for old endpoints

The first 5 rows of a response recorded 2026-10-12 21:37 UTC.
FieldValue
verifiedfalse
created_at2022-01-23 14:06 UTC
metrics.followers34,714
metrics.following128
metrics.posts624
curl -G "https://api.dataxapi.com/v1/x/communities/members/list" \
  --data-urlencode "id=1539231166569410560" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
{
  "code": "ok",
  "request_id": "43df73da-a811-4be1-be90-4649b4bfd246",
  "data": {
    "items": [
      {
        "id": "133282385620031106",
        "username": "hannah_w_photo",
        "name": "Hannah Weiss",
        "url": "https://x.com/hannah_w_photo",
        "bio": "Making things and sharing the process.",
        "avatar_url": "https://pbs.twimg.com/profile_images/1828104144827814959/Nx-g-WOM_normal.jpg",
        "verified": false,
        "created_at": "2022-01-23T14:06:13.000Z",
        "metrics": { "followers": 34714, "following": 128, "posts": 624 }
      },
      // … 16 more
    ]
  },
  "page": {
    "next_cursor": "c1.YMKaxlcTvqjrcTWeyj4NpxSEAwg-9ZJj0R-yY6qR",
    "cursor_expires_at": "2026-10-12T22:37:54.000Z",
    "has_more": true,
    "returned": 17
  },
  "warnings": [],
  "meta": {
    "capability": "x.communities.members.list",
    "result_status": "complete",
    "fetched_at": "2026-10-12T21:37:54.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {},
    "billing": {
      "amount": "0.0068",
      "currency": "USD",
      "balance_after": "9.9932"
    }
  }
}

From a response recorded 2026-10-12 21:37 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

Size as sent: 7.1 KB in the standard view (4.6 KB compact, 7.1 KB full).

{
  "code": "ok",
  "request_id": "f3852e51-07ae-4981-8c54-9e17a98e914a",
  "data": { "items": [] },
  "page": {
    "next_cursor": null,
    "cursor_expires_at": null,
    "has_more": false,
    "returned": 0
  },
  "warnings": [],
  "meta": {
    "capability": "x.communities.members.list",
    "result_status": "empty",
    "fetched_at": "2026-10-12T21:37:56.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {},
    "billing": {
      "amount": "0.0004",
      "currency": "USD",
      "balance_after": "9.9996"
    }
  }
}

From a response recorded 2026-10-12 21:37 UTC. The request ID and balance are made up.

Size as sent: 409 B in the standard view (409 B compact, 409 B full).

This example as a JSON file

curl -G "https://api.dataxapi.com/v1/x/communities/members/list" \
  --data-urlencode "id=1539231166569410560" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.x.communities.members.list(id="1539231166569410560")
print(result["data"]["items"])
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.x.communities.members.list({ id: "1539231166569410560" });
console.log(result.data.items);
dataxapi call x.communities.members.list id=1539231166569410560
{
  "mcpServers": {
    "dataxapi": {
      "type": "http",
      "url": "https://api.dataxapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DATAXAPI_API_KEY}"
      }
    }
  }
}

Add this to your MCP client, then ask your agent to call x.communities.members.list.

Parameters

idtextrequired

Community ID, a string of digits. Example: 1539231166569410560.

cursortext

Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

Return only these fields. Each by its path, such as author.name.

Known limits

  • 20 items a page. The page size is the platform's; limit is not accepted.
  • For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.

Returned fields

data.items is a list of account objects. Stable: fields are only ever added.

idtextcompact

ID

usernametextcompact

Handle

nametextcompact

Display name

urllinkcompact

Link to the profile

biotextcompact

Bio

Long text: the compact view keeps the first 500 characters and says so in warnings.

avatar_urllinkstandard

Avatar

Show all 15 fields →
verifiedyes/nostandard

Whether the account is verified

created_attimestandard

When the account was created

metricsobjectcompact

Account counts

metrics.followersintegercompact

Followers

metrics.followingintegercompact

Following

metrics.postsintegercompact

Posts published

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

Approximate, or a lower boundapproximatelower_bound

Typical size of one item: compact 252 B, standard 400 B, full 400 B (measured on the response recorded 2026-10-12 21:37 UTC).

When you are charged

A result with data$0.0004 for each valid item returned, at least $0.0004 a call
An empty result$0.0004
Invalid parameters, a failure of ours or of the data source, a timeoutnot charged
CaseCharged
Each further pagecharged as a call of its own
The most one call can cost$0.0080 (send X-Max-Price to refuse anything above your own limit)

Prices as read 2026-10-21 09:10 UTC, under price book 2, in effect since 2026-10-17 11:00 UTC; the Playground reads the price in force before a run.

If the object does not exist

A community that does not exist cannot be told from a community without members: both return an empty result, not a 404, and are charged as an empty result is.

Errors

What this endpoint can answer with; codes all endpoints share are on the full list.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixNo
400cursor_mismatchThe cursor was issued for another endpoint or other parametersRetry: After a fixNo
402insufficient_balanceThe balance is too lowRetry: After a fixNo
410cursor_expiredThe cursor expired; start again from the first pageRetry: NoNo
502upstream_failedThe data source failedRetry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

How much does the X community members API cost?

$0.0004 per item returned, at least $0.0004 and at most $0.0080 a call. The most one call can cost is $0.0080.

When am I not charged?

Errors and timeouts are not charged; an empty result is charged $0.0004.

How many items does one call return, and how do I get the next page?

20 items a page. The page size is the platform's; limit is not accepted. For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.

What happens if the object does not exist?

A community that does not exist cannot be told from a community without members: both return an empty result, not a 404, and are charged as an empty result is.

All 21 X (Twitter) endpoints

X Communities endpoints
X Lists endpoints
X (Twitter) endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_••••; use it for every DataXAPI call.
DataXAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://dataxapi.com/apis/x/communities/members/list.md and help me use the DataXAPI endpoint x.communities.members.list (X community members).
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call x.communities.members.list.Other clients →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
Show the text
Use the DataXAPI endpoint x.communities.members.list (X community members). Get a page of the accounts that have joined an X community, by the community's ID, about 20 a page: handle, name, bio, follower count, verification.
Call GET https://api.dataxapi.com/v1/x/communities/members/list with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code.
Parameters:
- id (required): Community ID, a string of digits. Example: 1539231166569410560.
- cursor: Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.
- view: How much of each item to return. All three cost the same. Values: compact, standard (default), full.
- fields: Return only these fields. Each by its path, such as author.name.
Price: $0.0004 per item returned, at least $0.0004 and at most $0.0080 a call. Errors and timeouts are not charged; an empty result is charged $0.0004.
The answer is JSON: data.items holds account; meta.billing.amount is what this call was charged.
Example:
curl -G "https://api.dataxapi.com/v1/x/communities/members/list" \
  --data-urlencode "id=1539231166569410560" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
Full reference in Markdown: https://dataxapi.com/apis/x/communities/members/list.md

Names and identifiers

In Chinese
X 社群成员 API
Endpoint ID
x.communities.members.list
Endpoint
GET /v1/x/communities/members/list
Last checked 2026-10-21 09:10 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free