# X MCP server for AI agents

> Give Claude, Cursor or any MCP client X (Twitter) data: 21 endpoints from $0.0003 a call, no X login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/de/mcp/x/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| X-Postdetails: Ein Beitrag per ID oder Link: Text, Medien, Views, Likes, Reposts und Antworten. | [x.posts.get](https://okdata.online/apis/x/posts/get/) | $0.0003 per call |
| X-Postsuche: Beiträge zu einer Suchanfrage (X-Suchoperatoren funktionieren), neueste oder Top. | [x.posts.search](https://okdata.online/apis/x/posts/search/) | $0.002 per call · about 20 posts per page |
| X-Accountprofil: Ein Konto per Handle oder numerischer ID oder bis zu 100 Konten per ID in einem Aufruf: Follower, gefolgte Konten, Anzahl der Beiträge, Bio und Verifizierung. IDs ohne Treffer werden unter data.missing aufgeführt und nicht berechnet; ein Batch ganz ohne Treffer kostet ein Konto. | [x.users.get](https://okdata.online/apis/x/users/get/) | $0.0004 per account · at most $0.04 per call |
| X-Account-Posts: Die Beiträge eines Kontos, neueste zuerst. | [x.users.posts.list](https://okdata.online/apis/x/users/posts/list/) | $0.002 per call · about 20 posts per page |
| X-Trendthemen: Trendthemen weltweit oder für ein Land. | [x.trends.list](https://okdata.online/apis/x/trends/list/) | $0.009 per call · about 30 board entries per page |
| X-Postantworten: Die Antworten unter einem Post, in der Rangfolge von X, etwa 35 pro Seite. Eine Antwort ist selbst ein Post und kommt daher als Post zurück: Text, Autor, Veröffentlichungszeit, Aufrufe, Likes und eigene Antwortanzahl. | [x.posts.replies.list](https://okdata.online/apis/x/posts/replies/list/) | $0.002 per call · about 35 posts per page |
| X-Post-Zitate: Beiträge, die einen Beitrag zitieren, neueste oder beliebteste zuerst, 20 pro Seite: was ergänzt wurde, wer es geschrieben hat und welche Reichweite es erzielte. | [x.posts.quotes.list](https://okdata.online/apis/x/posts/quotes/list/) | $0.0003 per post · at most $0.006 per call |
| X-Post-Retweeter: Die Accounts, die einen Post retweetet haben, etwa 100 pro Seite: Handle, Name, Bio und Followerzahl. | [x.posts.retweeters.list](https://okdata.online/apis/x/posts/retweeters/list/) | $0.002 per call · about 100 accounts per page |
| X-Artikel: Der Langform-Artikel zu einem Post, per Post-ID: Titel, vollständiger Text, Autor, Veröffentlichungszeit, Aufrufe, Likes und Antworten. | [x.posts.article.get](https://okdata.online/apis/x/posts/article/get/) | $0.002 per call |
| X-Thread: Die Posts eines Threads, ausgehend von der ID eines beliebigen Posts darin: der Ausgangspost, die Folgeposts des Autors und die Antworten dazwischen. X legt die Seitengröße fest, bis etwa 50. | [x.threads.posts.list](https://okdata.online/apis/x/threads/posts/list/) | $0.0003 per post · at most $0.015 per call |
| X-Accountsuche: Konten passend zu Keywords, 20 pro Seite: Handle, Name, Bio, Follower, gefolgte Konten, Anzahl der Beiträge und Verifizierung. | [x.users.search](https://okdata.online/apis/x/users/search/) | $0.0004 per account · at most $0.008 per call |
| X-Account-Follower: Die Follower eines Accounts, neueste zuerst, 200 pro Seite: Handle, Name, Bio, Follower und Anzahl der Posts. | [x.users.followers.list](https://okdata.online/apis/x/users/followers/list/) | $0.0001 per account · at most $0.02 per call |
| X-Account: Gefolgt: Die Accounts, denen ein Account folgt, zuletzt gefolgte zuerst, 200 pro Seite: Handle, Name, Bio, Follower und Anzahl der Posts. | [x.users.following.list](https://okdata.online/apis/x/users/following/list/) | $0.0001 per account · at most $0.02 per call |
| X-Account-Erwähnungen: Beiträge, die ein Konto erwähnen, neueste zuerst, 20 pro Seite: Text, Autor, Veröffentlichungszeit, Views, Likes und Reposts. | [x.users.mentions.list](https://okdata.online/apis/x/users/mentions/list/) | $0.0003 per post · at most $0.006 per call |
| X-Listen-Posts: Die Timeline einer Liste, neueste zuerst, etwa 100 Posts pro Seite: Text, Autor, Veröffentlichungszeit, Aufrufe, Likes und Reposts. | [x.lists.posts.list](https://okdata.online/apis/x/lists/posts/list/) | $0.002 per call · about 100 posts per page |
| X-Listen-Mitglieder: Die Accounts einer Liste, 20 pro Seite: Handle, Name, Bio, Follower und Verifizierung. | [x.lists.members.list](https://okdata.online/apis/x/lists/members/list/) | $0.0004 per account · at most $0.008 per call |
| X-Listen-Follower: Bis zu 20 Accounts, die einer Liste folgen: Handle, Name, Bio, Follower und Verifizierung. Nur eine Seite; es gibt keine nächste Seite. | [x.lists.followers.list](https://okdata.online/apis/x/lists/followers/list/) | $0.0004 per account · at most $0.008 per call |
| X-Community-Profil: Eine Community per ID: Name, Beschreibung, Mitgliederzahl, Erstellungsdatum und unter ext Moderatoren, Beitrittsart und Thema. | [x.communities.get](https://okdata.online/apis/x/communities/get/) | $0.0004 per call |
| X-Community-Posts: Beiträge in einer Community, neueste zuerst, 20 pro Seite: Text, Autor, Veröffentlichungszeit, Views, Likes und Reposts. | [x.communities.posts.list](https://okdata.online/apis/x/communities/posts/list/) | $0.0003 per post · at most $0.006 per call |
| X-Community-Mitglieder: Die Accounts, die einer Community beigetreten sind, 20 pro Seite: Handle, Name, Bio, Follower und Verifizierung. | [x.communities.members.list](https://okdata.online/apis/x/communities/members/list/) | $0.0004 per account · at most $0.008 per call |
| X-Videotranskript: Was im Video eines X-Posts gesagt wird, per Post-ID oder Link: der gesamte Text und zeitgestempelte Segmente, per Spracherkennung aus dem Ton des Videos transkribiert. Videos bis 30 Minuten; längere werden abgelehnt, bevor etwas für die Erkennung berechnet wird. Erneute Anfragen zum selben Video liefern das bereits erstellte Transkript. | [x.posts.transcript.get](https://okdata.online/apis/x/posts/transcript/get/) | $0.042 per call |

## Two calls

1. `find {"query":"x posts"}`: free
2. `call {"capability":"x.posts.search","query":"\"claude code\" lang:zh"}`: $0.002 per call · about 20 posts per page

## Skill package

- `okdata-x`: https://okdata.online/.well-known/agent-skills/okdata-x/SKILL.md · https://okdata.online/skills/okdata-x.zip

[Every X (Twitter) endpoint](https://okdata.online/apis/x/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
