R
$0.01
per call · USD Coin on Base
Search for tweets by query (optional product filter; paginate with cursor). Example: GET /api/search/tweets?q=typescript
Endpoint
GET https://readx.sh/api/search/tweets154
Calls / 30d
5
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://readx.sh/api/search/tweets", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://readx.sh/api/search/tweets" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"code": 0,
"data": {
"tweets": [
{
"attribution": null,
"available": true,
"card": null,
"hasThread": false,
"history": null,
"id": "22",
"isAI": false,
"isAd": false,
"location": "",
"media": null,
"mediaTags": null,
"note": null,
"pinned": false,
"poll": null,
"quote": null,
"reply": [],
"replyId": "0",
"retweet": null,
"source": "",
"stats": {
"likes": 42,
"quotes": 0,
"replies": 0,
"retweets": 0,
"views": 0
},
"text": "... typescript ...",
"threadId": "20",
"time": 1142974214,
"tombstone": "",
"user": {
"banner": "",
"bio": "",
"followers": 599,
"following": 307,
"fullname": "Someone",
"id": "99",
"joinDate": 1142974214,
"likes": 0,
"location": "",
"media": 0,
"pinnedTweet": "0",
"protected": false,
"suspended": false,
"tweets": 30000,
"userPic": "",
"username": "someone",
"verifiedType": "Blue",
"website": ""
}
}
]
},
"pagination": {
"has_more": true,
"next_cursor": "DAABCgABG...cursor"
}
}Payment details
Pay to
0x13e060adcc6f4b731da8382b333027b8b2bff707Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana
Schemesexact
Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from ReadX & similar services
R
ReadX · Following
readx.sh
Accounts a user follows (~200 per page; paginate with cursor until has_more is false). Example: GET /api/jack/following
GETBaseSocial & Community
$0.01 / call184 calls / 30d
R
ReadX · Followers
readx.sh
A user's followers (~200 per page; paginate with cursor until has_more is false). Example: GET /api/jack/followers
GETBaseSocial & Community
$0.01 / call182 calls / 30d
R
ReadX · With Replies
readx.sh
A user's timeline including their replies. Example: GET /api/jack/with_replies
GETBaseSocial & Community
$0.01 / call33 calls / 30d