x402 API docs

37 pay-per-call endpoints on Base. No signup, no API key — call, get 402, pay USDC, retry with X-PAYMENT. Every endpoint has a free daily trial per IP.

⬇ Postman collection (v2.1) prices $0.0008 – $1.00 USDC/call

All endpoints

IDWhat it doesPriceFree trialHost
tokenpriceReal-time crypto token prices$0.000810/daycontabotry
defiDeFi token intelligence: TVL, yields, and protocol data$0.000810/dayihtry
newsLatest crypto and blockchain news headlines$0.000810/dayihtry
fxratesForeign exchange rates for 160+ currencies$0.000810/dayihtry
weatherCurrent weather by latitude/longitude$0.00110/daycontabotry
perpfundingPerpetual futures funding rates across exchanges$0.00110/daycontabotry
gastrackerLive Base and Ethereum gas prices$0.00110/dayihtry
randomRandom facts, coin flips, and dice rolls$0.00110/daycontabotry
defiyieldLive DeFi yield rates across protocols$0.00110/dayihtry
markdownConvert any URL to clean, LLM-ready markdown$0.00210/daycontabotry
chainRead ERC20 balances and EVM chain data$0.00210/daycontabotry
sec8kLatest SEC 8-K filings by ticker$0.00210/daycontabotry
pdfExtract text from any PDF$0.00210/dayihtry
chainreadCheck balances, transactions, and gas on Base + Ethereum$0.00210/daycontabotry
macroKey macroeconomic indicators$0.00210/dayihtry
stocksReal-time US stock quotes$0.0035/daycontabotry
academicSearch academic papers with abstracts and citations$0.0045/dayihtry
rugcheckToken safety check: detect rug pulls before you buy$0.0055/daycontabotry
dnswhoisDNS and WHOIS lookup for any domain$0.0055/daycontabotry
polymarketPolymarket prediction market odds and volume$0.0065/dayihtry
tokenscreenerScreen new DEX token pairs by liquidity and volume$0.0085/daycontabotry
agentrecommendRecommend the right API for your agent's task$0.0085/dayihtry
websearchWeb search via Google, formatted for AI agents$0.0105/daycontabotry
marketdataLive crypto + stock market overview in one call$0.015/daycontabotry
ksearchMultilingual knowledge search over 2,400 curated chunks$0.015/daycontabotry
aisearchWeb search with AI-generated summaries$0.0152/daycontabotry
aiverdictAI verdict: structured analysis on any topic$0.0152/daycontabotry
sentimentNews sentiment scoring for any symbol or topic$0.032/daycontabotry
sbscoreAI score 0-100 for any stock or crypto$0.052/daycontabotry
13fintel13F hedge-fund holdings with AI summary$0.102/daycontabotry
researchmemoAI investment memo: bull/bear case in one call$0.102/daycontabotry
trendsintelGoogle Trends intelligence + AI interpretation$0.102/daycontabotry
docextractDocument AI: PDF/image to structured JSON$0.301/daycontabotry
earningspackEarnings prep pack: date, consensus, AI preview$0.351/daycontabotry
amlscreenCheck before you pay$0.751/daycontabotry
contractauditAI smart contract audit: vulnerability scan$1.001/daycontabotry
gpubrokerRent a spot GPU per job — pay USDC, get SSH$1.001/daycontabotry

Quick start

  1. Pick an endpoint above and open its doc page.
  2. Copy the curl example — no key needed.
  3. Your first calls each day are free (quota shown per endpoint). When the trial runs out, pay $price USDC on Base and retry with the X-PAYMENT header.

Import the Postman collection to try every endpoint with one click. Base URLs are pre-set as variables base_url_contabo and base_url_ih.