# X Communities API

> 3 X (Twitter) Communities endpoints, from $0.0003 to $0.0004 a call: community profile, community posts, community members. A failed call is free.

Canonical page: https://okdata.online/apis/x/communities/

## Every Communities endpoint

- [X community profile](https://okdata.online/apis/x/communities/get/) `x.communities.get`: $0.0004 per call
- [X community posts](https://okdata.online/apis/x/communities/posts/list/) `x.communities.posts.list`: $0.0003 per post · at most $0.006 per call
- [X community members](https://okdata.online/apis/x/communities/members/list/) `x.communities.members.list`: $0.0004 per account · at most $0.008 per call

[All X (Twitter) endpoints](https://okdata.online/apis/x/)
[X (Twitter) API pricing](https://okdata.online/pricing/x/)

## Questions

### What does the X (Twitter) Communities API cost?

Each endpoint has its own price, from $0.0003 to $0.0004 a call. The cheapest is X community posts at $0.0003. You pay per call from a prepaid balance, and a failed call is not charged.

### Do I need a Communities account?

No. You call https://api.okdata.online with one okdata key; no platform account, cookie or login is involved.

### Can an AI agent call these endpoints?

Yes. Connect the MCP server at https://api.okdata.online/mcp; its find tool lists these 3 endpoints and its call tool runs them at the prices shown here.

## Other groups

- [X Lists API](https://okdata.online/apis/x/lists/)
