Skip to main content
GET
Find X communities by keyword with the Twitter API
1 credit per Community returned · All plans from $0.00012/credit
Use GET /x/communities/find to find the X Communities that match a keyword. Each Community costs 1 credit. A page without Communities costs nothing. To search the posts inside 1 Community, use Community tweet search.

Find a Community, then read it

  1. Send a keyword as q, such as artificial intelligence.
  2. Pick a Community from the list by its name and member_count.
  3. Pass its id to Community details for its rules, creator, and admin.
  4. Pass the same id to Community tweets or Community media.
Results keep X’s order. X may order them differently for each request. Follow next_cursor for more Communities.

Query parameters

string
required
Keyword to find Communities by, such as ai. Alias: query.
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[]
Communities that match the keyword, 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 Missing keyword or invalid cursor

Send a keyword as q. A cursor X can’t read returns invalid_cursor:
Start again without cursor. Both answers are free.

401 Unauthenticated

Anonymous requests get WWW-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

The read failed. Retry after a short delay.

503 Service busy

Xquik is busy. Wait for Retry-After, then retry.

429 Rate limit exceeded

Use Retry-After when present. Otherwise, use the JSON retryAfter field.

424 Dependency failed

The opt-in normalized contract returns 424 when the read fails. Send xquik-api-contract: 2026-04-29 to opt in. Default v1 returns 502.

Find X Communities questions

How do I find Twitter Communities about a topic?

Send the topic as q, such as q=web3. Or list the most popular Communities of a topic with Popular communities. This endpoint returns Communities. Community tweet search returns posts inside 1 Community you already know.

How much does it cost?

Each returned Community costs 1 credit. A page without Communities 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.