Tweets from X (Twitter) for one account or a search query
Tweets from X (Twitter) for one account or a search query. {"mode":"profile","query":"nasa"} returns that account's tweets, mode search takes keywords, and limit is 1-20. Each tweet has text, createdAt, url, lang, likeCount, retweetCount, replyCount, quoteCou…
by agdata.shveik.dev · discovered, not yet claimed by its owner · updated 2026-10-04
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Tweets from X (Twitter) for one account or a search query. {"mode":"profile","query":"nasa"} returns that account's tweets, mode search takes keywords, and limit is 1-20. Each tweet has text, createdAt, url, lang, likeCount, retweetCount, replyCount, quoteCount, viewCount, isReply, isRetweet and an author object with userName, name, followers and isBlueVerified. No X developer account needed; pay per call in USDC.
Tags: twitter · x · tweets · social-media · social-listening · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-04
{
"limit": 5,
"mode": "profile",
"query": "elonmusk"
}{
"author": {},
"bookmarkCount": 54,
"createdAt": "Mon Sep…",
"id": "21046956…",
"isReply": false,
"isRetweet": false,
"lang": "en",
"likeCount": 1210,
"quoteCount": 11,
"replyCount": 59,
"retweetCount": 141,
"text": "On Monda…",
"url": "https://…",
"viewCount": 352841
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/34820.jsonfor the price and payment options. - Pay. Call
GET https://agdata.shveik.dev/x402/twitter. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.0164 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon
- Demand
- 3 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.0164 | 0xbBa594F5549392DF7A8182049291b605948F5F86 | 120s |
| exact | Polygon eip155:137 | USDC | $0.0164 | 0x5893209222F2C959Eb5D4C6CD2828b06845e57BE | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xbBa594F5549392DF7A8182049291b605948F5F86",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "16400",
"amountUsd": 0.0164,
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x5893209222F2C959Eb5D4C6CD2828b06845e57BE",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "16400",
"amountUsd": 0.0164,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"example": {
"author": {},
"bookmarkCount": 54,
"createdAt": "Mon Sep…",
"id": "21046956…",
"isReply": false,
"isRetweet": false,
"lang": "en",
"likeCount": 1210,
"quoteCount": 11,
"replyCount": 59,
"retweetCount": 141,
"text": "On Monda…",
"url": "https://…",
"viewCount": 352841
},
"type": "json"
}Example shape — generated from the schema, not a captured live response
{
"author": {},
"bookmarkCount": 54,
"createdAt": "Mon Sep…",
"id": "21046956…",
"isReply": false,
"isRetweet": false,
"lang": "en",
"likeCount": 1210,
"quoteCount": 11,
"replyCount": 59,
"retweetCount": 141,
"text": "On Monda…",
"url": "https://…",
"viewCount": 352841
}Examples
curl "https://agdata.shveik.dev/x402/twitter"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agdata.shveik.dev/x402/twitter");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agdata.shveik.dev/x402/twitter")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agdata.shveik.dev
- Endpoint
- https://agdata.shveik.dev/x402/twitter
- Machine-readable
/resources/34820.json