Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man twitter-x-api

/twitter-x-api

agentutility / web-probe / twitter-x-api
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
twitter-x-api twitter x api / x api v2 wrapper / tweet search and username lookup / social data api
SYNOPSIS
POST https://x402.agentutility.ai/twitter-x-api
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Twitter X API / X API v2 wrapper / tweet search and username lookup / social data API. Read-only endpoint with mode='search' for recent public posts or mode='user' for public profile lookup. Uses X_BEARER_TOKEN or TWITTER_BEARER_TOKEN. No posting, replying, liking, following, DM access, or account mutation.

INPUTrequest schema
propertytypedescriptionreq?
modestringLookup mode. Defaults to 'search' unless username is supplied without query.
enum: search · user
optional
querystringRecent-search query for mode='search'.optional
usernamestringHandle for mode='user', with or without @.optional
max_resultsnumberSearch result count, clamped to 10-50.optional
languagestringOptional two-letter language filter for search.optional
OUTPUTresponse shape
fieldtypedescription
modestring
result_countstring
sourcestring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/twitter-x-api \
  -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 twitter-x-api tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probetwitterxapitwitter-x-api
methods
POST
cluster
webprobe
price
$0.01 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
company-enrichCompany enrichment API / domain enrichment / organization enrichment / firmographic lite.$0.01
domain-enrichDomain enrichment API / company enrichment / firmographic lite.$0.01
lead-enrichLead enrichment API / person enrichment / people enrich / email enrichment lite.$0.01
people-enrichPeople enrichment API / person enrichment / email enrichment / lead enrichment lite / Apollo alternative for agents.$0.01
people-searchPeople search API / lead lookup / lightweight people enrichment.$0.01
person-enrichPerson enrichment API / people enrichment / email-to-person profile lite.$0.01
pubmed-searchPubMed search / biomedical literature search / medical journal lookup / NIH paper search / clinical-research finder / MeSH-term query / N…$0.01
searchSearch API / web search API / SERP search / agent search endpoint.$0.01
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org