# 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/ko/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 게시물 상세: ID나 링크로 게시물 하나를 조회합니다: 본문, 미디어, 조회수, 좋아요, 리포스트, 답글. | [x.posts.get](https://okdata.online/apis/x/posts/get/) | $0.0003 per call |
| X 게시물 검색: 검색어와 일치하는 게시물(X 검색 연산자 사용 가능)을 최신순 또는 인기순으로 제공합니다. | [x.posts.search](https://okdata.online/apis/x/posts/search/) | $0.002 per call · about 20 posts per page |
| X 계정 프로필: 핸들이나 숫자 ID로 계정 하나, 또는 ID로 한 번에 최대 100개 계정을 조회: 팔로워, 팔로잉, 게시물 수, 소개, 인증. 계정을 찾지 못한 ID는 data.missing에 나열되며 과금되지 않습니다. 하나도 찾지 못한 배치는 계정 1개 요금이 부과됩니다. | [x.users.get](https://okdata.online/apis/x/users/get/) | $0.0004 per account · at most $0.04 per call |
| X 계정 게시물: 계정의 게시물, 최신순. | [x.users.posts.list](https://okdata.online/apis/x/users/posts/list/) | $0.002 per call · about 20 posts per page |
| X 트렌드 주제: 전 세계 또는 국가별 인기 주제. | [x.trends.list](https://okdata.online/apis/x/trends/list/) | $0.009 per call · about 30 board entries per page |
| X 게시물 답글: 게시물의 답글을 X가 정한 순서대로 페이지당 약 35개씩 반환합니다. 답글도 게시물이므로 각각 게시물 형태로 반환됩니다: 본문, 작성자, 게시 시간, 조회수, 좋아요, 답글 수. | [x.posts.replies.list](https://okdata.online/apis/x/posts/replies/list/) | $0.002 per call · about 35 posts per page |
| X 게시물 인용: 게시물을 인용한 게시물을 최신순 또는 인기순으로 페이지당 20개 제공합니다: 덧붙인 내용, 작성자 정보, 확산 범위. | [x.posts.quotes.list](https://okdata.online/apis/x/posts/quotes/list/) | $0.0003 per post · at most $0.006 per call |
| X 게시물 리트윗 사용자: 게시물을 리트윗한 계정을 페이지당 약 100개씩 반환합니다: 핸들, 이름, 소개, 팔로워 수. | [x.posts.retweeters.list](https://okdata.online/apis/x/posts/retweeters/list/) | $0.002 per call · about 100 accounts per page |
| X 아티클: 게시물에 첨부된 장문 아티클을 게시물 ID로 조회합니다: 제목, 전체 본문, 작성자, 게시 시간, 조회수, 좋아요, 답글. | [x.posts.article.get](https://okdata.online/apis/x/posts/article/get/) | $0.002 per call |
| X 스레드: 스레드에 속한 아무 게시물의 ID로 스레드의 게시물을 조회합니다: 시작 게시물, 작성자의 후속 게시물, 그 사이의 답글. 페이지 크기는 X가 정하며 최대 약 50개입니다. | [x.threads.posts.list](https://okdata.online/apis/x/threads/posts/list/) | $0.0003 per post · at most $0.015 per call |
| X 계정 검색: 키워드와 일치하는 계정, 페이지당 20개: 핸들, 이름, 소개, 팔로워, 팔로잉, 게시물 수, 인증. | [x.users.search](https://okdata.online/apis/x/users/search/) | $0.0004 per account · at most $0.008 per call |
| X 계정 팔로워: 계정의 팔로워를 최신 팔로워 순으로 페이지당 200개씩 반환합니다: 핸들, 이름, 소개, 팔로워 수, 게시물 수. | [x.users.followers.list](https://okdata.online/apis/x/users/followers/list/) | $0.0001 per account · at most $0.02 per call |
| X 계정 팔로잉: 계정이 팔로우하는 계정을 최근 팔로우 순으로 페이지당 200개씩 반환합니다: 핸들, 이름, 소개, 팔로워 수, 게시물 수. | [x.users.following.list](https://okdata.online/apis/x/users/following/list/) | $0.0001 per account · at most $0.02 per call |
| X 계정 멘션: 계정을 언급한 게시물을 최신순으로 페이지당 20개 제공합니다: 본문, 작성자, 게시 시각, 조회수, 좋아요, 리포스트. | [x.users.mentions.list](https://okdata.online/apis/x/users/mentions/list/) | $0.0003 per post · at most $0.006 per call |
| X 리스트 게시물: 리스트의 타임라인을 최신순으로 페이지당 약 100개 게시물씩 반환합니다: 본문, 작성자, 게시 시간, 조회수, 좋아요, 리포스트. | [x.lists.posts.list](https://okdata.online/apis/x/lists/posts/list/) | $0.002 per call · about 100 posts per page |
| X 리스트 멤버: 리스트를 구성하는 계정을 페이지당 20개씩 반환합니다: 핸들, 이름, 소개, 팔로워 수, 인증 여부. | [x.lists.members.list](https://okdata.online/apis/x/lists/members/list/) | $0.0004 per account · at most $0.008 per call |
| X 리스트 팔로워: 리스트를 팔로우하는 계정 최대 20개: 핸들, 이름, 소개, 팔로워 수, 인증 여부. 한 페이지만 있으며 다음 페이지는 없습니다. | [x.lists.followers.list](https://okdata.online/apis/x/lists/followers/list/) | $0.0004 per account · at most $0.008 per call |
| X 커뮤니티 프로필: ID로 조회하는 커뮤니티: 이름, 설명, 멤버 수, 생성 시기, 그리고 ext에 운영자, 가입 방식, 주제. | [x.communities.get](https://okdata.online/apis/x/communities/get/) | $0.0004 per call |
| X 커뮤니티 게시물: 커뮤니티 게시물을 최신순으로 페이지당 20개 제공합니다: 본문, 작성자, 게시 시각, 조회수, 좋아요, 리포스트. | [x.communities.posts.list](https://okdata.online/apis/x/communities/posts/list/) | $0.0003 per post · at most $0.006 per call |
| X 커뮤니티 멤버: 커뮤니티에 가입한 계정을 페이지당 20개씩 반환합니다: 핸들, 이름, 소개, 팔로워 수, 인증 여부. | [x.communities.members.list](https://okdata.online/apis/x/communities/members/list/) | $0.0004 per account · at most $0.008 per call |
| X 동영상 스크립트: X 게시물 속 동영상에서 말한 내용을 게시물 ID 또는 링크로 조회합니다: 음성 인식으로 동영상 소리를 받아 적은 전체 텍스트와 시간별 구간. 최대 30분 동영상까지 지원하며, 더 긴 동영상은 인식 비용이 청구되기 전에 거부됩니다. 같은 동영상을 다시 요청하면 이미 만든 스크립트를 반환합니다. | [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/)
