X account search API
Find X accounts by keyword: username, name, bio, avatar, verification, followers and posts, about 20 a page.
| Item | Value |
|---|---|
| Endpoint | GET https://api.feedmcp.com/v1/x/users/search |
| ID | x.users.search |
| Price | $0.0004 per item ($0.0004–0.008 a call) |
| Returns | A page of Account objects |
| Auth | Authorization: Bearer $FEEDMCP_API_KEY |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword |
string | yes | Search terms |
cursor |
string | no | Pagination cursor. Leave it out for the first page; pass page.next_cursor for the next. Each page is billed on its own |
Every endpoint also takes view=full to include the platform's raw data as raw, at the same price.
Returned fields
data.items is a list of Account objects, with the same fields on every platform:
| Field | Type | Description |
|---|---|---|
id |
string | Account ID, the same id the platform's account endpoints take: the username on TikTok, Instagram, X and Threads, the channel name on Telegram, the subreddit name on Reddit, the part after /in/ or /company/ on LinkedIn, the page name or number on Facebook, the UC… channel ID on YouTube, sec_user_id on Douyin, the numeric user ID on Kuaishou, v2_…@finder on WeChat Channels, the profile token on Zhihu, the user ID on Xiaohongshu, the UID on Bilibili and Weibo, the gh_… ID on WeChat |
platform |
string | Platform |
name |
string | null | Display name |
handle |
string | null | Handle: username, Douyin ID, RED ID or WeChat ID |
uid |
string | null | Numeric Douyin uid (Douyin only; the Ocean Engine creator endpoints take it) |
bio |
string | null | Bio |
avatar |
string | null | Avatar URL |
url |
string | null | Profile link |
verified |
boolean | null | Verified |
verified_reason |
string | null | Verification label or owner |
metrics.followers |
number | null | Followers |
metrics.following |
number | null | Following |
metrics.posts |
number | null | Posts |
metrics.likes |
number | null | Likes received |
metrics.views |
number | null | Total views (YouTube channels only) |
metrics.employees |
number | null | Employees (LinkedIn companies only) |
metrics.weekly_active_users |
number | null | Weekly active users (subreddits only) |
metrics.articles |
number | null | Articles (Zhihu account search only) |
private |
boolean | null | Private account (Instagram account search only) |
owner |
object | null | The registered owner: name, country, registered_at, verified_at and third_party_services (account owner endpoint only) |
metrics.ads |
number | null | Roughly how many ads (Google advertisers only) |
metrics.instagram_followers |
number | null | Followers of the linked Instagram (Meta advertisers only) |
location |
string | null | Location (LinkedIn and Facebook) |
category |
string | null | Category: Facebook page category, LinkedIn industry, or WeChat account type (Official Account, service account, Channels or mini program) |
website |
string | null | Website (LinkedIn companies and Facebook pages) |
experience |
object[] | LinkedIn: organizations shown publicly, with organization, location, start and end |
education |
object[] | LinkedIn: schools and organizations shown publicly, with school, start and end |
When you are charged
Charged per item returned: $0.0004 each, at least $0.0004 and at most $0.008 a call; meta.billing says what was charged (items is the count). An empty result costs the minimum $0.0004. Bad parameters, platform errors and timeouts are free.
Each answer carries meta.billing: what this call cost and the balance left.
Request
cURL
curl "https://api.feedmcp.com/v1/x/users/search?keyword=camping" \
-H "Authorization: Bearer $FEEDMCP_API_KEY"
Python
import os, requests
r = requests.get(
"https://api.feedmcp.com/v1/x/users/search",
params={"keyword": "camping"},
headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
timeout=30,
)
print(r.json())
JavaScript
const res = await fetch("https://api.feedmcp.com/v1/x/users/search?keyword=camping", {
headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
MCP
From an AI with FeedMCP installed, the call tool:
{
"endpoint": "x.users.search",
"params": {
"keyword": "camping"
},
"max_price": "0.008"
}
Response
The data below is made up; the shape is the real one.
{
"code": "ok",
"request_id": "req_7Qm2kXb9TzLp",
"data": {
"items": [
{
"id": "CampingWorld1",
"platform": "x",
"name": "Camping World 1",
"handle": "CampingWorld1",
"bio": "RVs and gear",
"avatar": "https://pbs.twimg.com/b.jpg",
"url": "https://x.com/CampingWorld1",
"verified": false,
"location": null,
"metrics": {
"followers": 418289,
"following": 297,
"posts": 69688
}
},
{
"id": "CampingWorld2",
"platform": "x",
"name": "Camping World 2",
"handle": "CampingWorld2",
"bio": "RVs and gear",
"avatar": "https://pbs.twimg.com/b.jpg",
"url": "https://x.com/CampingWorld2",
"verified": false,
"location": null,
"metrics": {
"followers": 418289,
"following": 297,
"posts": 69688
}
}
]
},
"page": {
"next_cursor": "eyJjdXJzb3IiOjIwfQ",
"has_more": true
},
"warnings": [],
"meta": {
"endpoint": "x.users.search",
"platform": "x",
"fetched_at": "2026-11-19T08:00:00.000Z",
"source": "FeedMCP",
"catalog_revision": "d09a736bd39e8b3f",
"billing": {
"charged": true,
"amount": "0.0008",
"currency": "USD",
"balance": "9.99",
"unit": "item",
"items": 2,
"price_per_item": "0.0004"
}
}
}
Errors are described in Errors: each says whether you were charged (charged) and whether to retry (retry).
Other X (Twitter) endpoints
- X post search:$0.002
- X post:$0.002
- X post replies:$0.002
- X profile:$0.002
- X account posts:$0.002
- X trends:$0.002
- X user followers:$0.002
- X user following:$0.002
- X post retweeters:$0.002
- X community:$0.002
- X community members:$0.002
- X community posts:$0.002
- X list posts:$0.002
- X list members:$0.002
- X list followers:$0.002
- X post quotes:$0.0003 per item ($0.0003–0.006 a call)
- X user mentions:$0.0003 per item ($0.0003–0.006 a call)
- X thread:$0.0003 per item ($0.0003–0.015 a call)
- X article:$0.002
- X video transcript:$0.002
Questions
How much does the X account search endpoint cost?
Charged per item returned: $0.0004 each, at least $0.0004 and at most $0.008 a call; meta.billing says what was charged (items is the count). An empty result costs the minimum $0.0004. Bad parameters, platform errors and timeouts are free.
Do I need a platform account?
No. Only public data is read.
Where do I find the ID or link?
A post ID is the number after /status/ in a link; an account is the username after @ (without the @).
How do I get more items?
When the answer has page.next_cursor, pass it back as cursor for the next page. Each page is billed on its own.
How do I use it from an AI?
Install the MCP server and ask; your AI calls x.users.search.