X post search
GET
/v1/x/posts/search
Find X posts by search terms, most popular or newest first; the terms may use X's own search operators, such as from:handle.
Standard: $0.002
Request Parameters
| Param | Required | Description | Example / Enum |
|---|---|---|---|
| query | Yes | — | weather forecast |
| sort | Optional | Most popular first, or newest first | popular | latest |
cURL
curl -s "https://onefeedapi.com/v1/x/posts/search?query=weather%20forecast" \ -H "Authorization: Bearer $ONEFEED_API_KEY" \ -H "X-Max-Price: 0.002"
MCP Tool Call
{
"tool": "call",
"arguments": {
"capability": "x.posts.search",
"params": {
"query": "weather forecast"
}
}
}
More X (Twitter) Endpoints
$0.0006/item
X community posts
GET /v1/x/communities/posts/list
$0.002/call
X list posts
GET /v1/x/lists/posts/list
$0.004/call
X article detail
GET /v1/x/posts/article/get
$0.0003–$0.0067/call
X post detail
GET /v1/x/posts/get
$0.0006/item
X post quotes
GET /v1/x/posts/quotes/list
$0.002/call
X post replies
GET /v1/x/posts/replies/list