Communities
Popular X communities by topic: Twitter API list
List the most popular X (Twitter) Communities of a topic, such as Technology or Gaming. Name the topic by ID or name to get each Community. 1 credit each.
- 200
- 400
- 401
- 402
- 424
- 429
- 502
- 503
GET
Popular X communities by topic: Twitter API list
1 credit per Community returned · All plans from $0.00012/credit
GET /x/communities/popular to list the Communities X ranks highest under a topic.
Name the topic by topicId, or by topic name in any case.
Subtopics work too, such as Artificial Intelligence.
Each Community costs 1 credit.
Pick a topic
Community topics lists every topic and subtopic with its ID. Send a name, such astopic=gaming, or an ID, such as topicId=701.
topicId wins when you send both.
A missing or unknown topic returns 400 invalid_community_topic.
Its message lists the topic names to send. It costs nothing.
Query parameters
string
Topic or subtopic ID from Community topics, such as
301. Wins over topic.string
Topic or subtopic name in any case, such as
technology. Send this or topicId.string
Pagination cursor from a previous response. Omit it for the first page. A cursor X refuses or that expired returns a free
400 invalid_cursor. Start again without it.integer
Most Communities to return on this page. Your credit balance can return fewer. Aliases:
limit, count, and max_results.Headers
string
Send a full Xquik account API key.
string
Bearer xq_your_guest_key_here for paid_reads.Response
200 OK
object[]
The topic’s most popular Communities, in X’s order.
Community object fields.
string
Community ID. Pass it to the other Community endpoints.
string
Community name.
number
Total member count.
boolean
Whether X marks the Community sensitive.
object
The topic X files the Community under, with its
name.string
Banner image URL. Omitted if unavailable.
object
Banner
url, width, height, main colors, and the focus area X keeps in view. Omitted if
unavailable.object[]
Members X previews beside the member count, each with its
id and profilePicture.boolean
Whether another page of Communities follows.
string
Cursor for the next page. Empty at the end.
400 Invalid community topic or cursor
invalid_cursor:
cursor. Both answers are free.
401 Unauthenticated
Anonymous requests getWWW-Authenticate: Bearer and a guest wallet checkout action. This is not a Payment challenge.
402 Payment required
Account keys get account options. Guest keys get guest top-up only. No checkout starts automatically. Confirm any payment action.502 X API unavailable
503 Service busy
Xquik is busy. Wait forRetry-After, then retry.
429 Rate limit exceeded
Retry-After when present. Otherwise, use the JSON retryAfter field.
424 Dependency failed
The opt-in normalized contract returns 424 when the read fails. Sendxquik-api-contract: 2026-04-29 to opt in. Default v1 returns 502.
Popular X Communities questions
Which topics can I send?
Every topic and subtopic that Community topics lists, by name or ID.Are the results the same for everyone?
X ranks them, so the list can change between requests.How much does it cost?
Each returned Community costs 1 credit. An unknown topic costs nothing.Does this replace X’s official API?
No. This page documents Xquik, an independent third-party service. It does not document X’s official API.Next steps. Community details reads a Community’s rules, creator, and admin by its
id.