Fetches the latest public tweets from any X username, with text, timestamps, metrics, pagi
Fetches the latest public tweets from any X username, with text, timestamps, metrics, pagination token, and author profile. Read-only X API v2 route: resolves a public username, fetches that user's recent public posts, and excludes retweets by default. No posting, replying, liking, following, DM access, or account mutation. Use it as a user tweets API, X user timeline, or Twitter user posts endpoint.
10000 (raw units)
price
4
calls / 30d
1
unique payers
2026-09-15
updated
Provider
x402.agentutility.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"input": {
"body": {
"max_results": 10,
"mode": "user_tweets",
"username": "bankrbot"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"mode": "user_tweets",
"result_count": 10,
"source": "X API v2 user tweets timeline",
"tweets": [
{
"author": {
"username": "bankrbot"
},
"id": "123",
"text": "x402 payments are live"
}
],
"username": "bankrbot"
},
"type": "json"
}
},
"related": [
"/social-profile-pack",
"/x-account-slop-check"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"include_retweets": {
"description": "Include retweets when true. Defaults false.",
"type": "boolean"
},
"max_results": {
"description": "Number of recent posts to fetch. Clamped to 5-50. Default 10.",
"type": "number"
},
"mode": {
"description": "Use 'user_tweets' for public timeline lookup.",
"enum": [
"user_tweets"
],
"type": "string"
},
"pagination_token": {
"description": "Optional X pagination token for the next page.",
"type": "string"
},
"username": {
"description": "X/Twitter handle, with or without @.",
"type": "string"
}
},
"required": [
"username"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"mode": {
"type": "string"
},
"result_count": {
"type": "integer"
},
"source": {
"type": "string"
},
"tweets": {
"items": {
"properties": {
"author": {
"properties": {
"username": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_awpbwsy3"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://x402.agentutility.ai/user-tweets" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.agentutility.ai/user-tweets");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.agentutility.ai/user-tweets")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5196.json, and this resource appears in /discovery/resources and /discovery/search.