$ man user-tweets
/user-tweets
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
user-tweets — fetches the latest public tweets from any x username, with text, timestamps, metrics, pagination token, and author profile
SYNOPSIS
POST https://x402.agentutility.ai/user-tweets
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
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.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| mode | string | Use 'user_tweets' for public timeline lookup. enum: user_tweets | optional |
| username | string | X/Twitter handle, with or without @. | required |
| max_results | number | Number of recent posts to fetch. Clamped to 5-50. Default 10. | optional |
| pagination_token | string | Optional X pagination token for the next page. | optional |
| include_retweets | boolean | Include retweets when true. Defaults false. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| mode | string | — |
| username | string | — |
| result_count | string | — |
| tweets | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/user-tweets \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the user-tweets tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probeusertweetsuser-tweets
- methods
- POST
- cluster
- webprobe
- price
- $0.01 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| b2b-lead-enrich | Enriches B2B leads from caller-supplied email/name/domain/company into a public-data profile with inferred name, company, domain, MX reco… | $0.01 |
| company-enrich | Enrich a company from its domain or an email address. | $0.01 |
| contact-enrich | Enriches a contact from email, name, domain, or company into a normalized public-data record with inferred display name, company/domain c… | $0.01 |
| domain-enrich | Enrich any domain, website URL, or email into company facts. | $0.01 |
| google-search | Ranked Google organic results for any query — title, URL, snippet, domain, and an optional recency filter, via Decodo Google Search. | $0.01 |
| lead-enrich | Enriches a lead from an email, name, domain, or company into a normalized public-data person record. | $0.01 |
| ncbi-taxonomy-lookup | Taxonomy lookup for resolving a common or scientific organism name into its NCBI TaxID, rank, and full ancestor lineage. | $0.01 |
| people | Looks up a person from an email, name, domain, or company and returns a normalized public-data record (alias of people-enrich). | $0.01 |
SEE ALSO