Get the latest tweets (timeline) from a specific Twitter/X user by their username
Get the latest tweets (timeline) from a specific Twitter/X user by their username. Returns up to 20 tweets per page sorted by most recent first, with pagination support. Query params: username (string, required) - Twitter screen name; next_token (string, opti…
by twit-api-production-de12.up.railway.app · discovered, not yet claimed by its owner · updated 2026-06-11
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
Get the latest tweets (timeline) from a specific Twitter/X user by their username. Returns up to 20 tweets per page sorted by most recent first, with pagination support. Query params: username (string, required) - Twitter screen name; next_token (string, optional) - pagination cursor, e.g. GET /tweets/user?username=elonmusk. Returns X v2 API-compatible JSON.
Tags: bazaar
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/15188.jsonfor the price and payment options. - Pay. Call
GET https://twit-api-production-de12.up.railway.app/tweets/user. 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, 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.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Calls (30d)
- 1 · 1 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x9dBA414637c611a16BEa6f0796BFcbcBdc410df8 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9dBA414637c611a16BEa6f0796BFcbcBdc410df8",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"category": "api",
"discoverable": true,
"info": {
"input": {
"method": "GET",
"queryParams": {
"username": "elonmusk"
},
"type": "http"
},
"output": {
"example": {
"data": [
{
"author": {
"id": "9253672",
"name": "Hal Finney",
"username": "halfin"
},
"created_at": "2009-01-11T03:39:18.000Z",
"id": "1110302988",
"public_metrics": {
"like_count": 134000,
"quote_count": 3500,
"reply_count": 5400,
"retweet_count": 32000
},
"text": "Running bitcoin"
}
],
"meta": {
"next_token": "abc123"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"next_token": {
"description": "Pagination cursor from previous response",
"type": "string"
},
"username": {
"description": "Twitter screen name (without @)",
"type": "string"
}
},
"required": [
"username"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"twitter",
"x",
"social",
"tweets",
"timeline",
"posts",
"user",
"paginated",
"agent",
"x402"
]
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl "https://twit-api-production-de12.up.railway.app/tweets/user"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://twit-api-production-de12.up.railway.app/tweets/user");
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://twit-api-production-de12.up.railway.app/tweets/user")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- twit-api-production-de12.up.railway.app
- Endpoint
- https://twit-api-production-de12.up.railway.app/tweets/user
- Machine-readable
/resources/15188.json