Skip to main content
GET https://xquik.com/api/v1/x/communities/popular
1 credit per Community returned · All plans from $0.00012/credit
Use GET /x/communities/popular to list the Communities X (Twitter) 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 as topic=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

Choose fields

Headers

Response

200 OK

400 Invalid community topic or cursor

{ "error": "invalid_community_topic", "message": "Unknown topic. Use Sports, Technology, or Art. You can also send a subtopic from GET /x/communities/topics." } The real message lists every topic name. A cursor X can’t read returns invalid_cursor. { "error": "invalid_cursor", "message": "Cursor invalid or expired. Start again without cursor, then use next_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.

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.

Response examples

  • 400 { "error": "invalid_input", "message": "Invalid input. Check the request body." }
  • 401 { "error": "unauthenticated", "message": "Authentication required." }
  • 402 { "error": "insufficient_credits", "message": "Insufficient credits. Top up or subscribe to continue." }
  • 403 { "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." }
  • 424 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }
  • 502 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 503 { "error": "x_api_unavailable", "message": "Xquik is busy right now. Retry shortly." }