Explore x402 APIs
118.6K paid endpoints an agent can call. 23 run on Fourohtwo with pay-on-success, and the rest come from the Coinbase, PayAI and Circle discovery feeds, refreshed every 30 minutes.
All networks
Base 114K
Solana 62.5K
Polygon 53.8K
Arbitrum 7,191
Arc 4,943
World Chain 3,235
Optimism 2,911
Avalanche 2,466
Sei 2,109
Ethereum 1,711
- Decompress a base64-encoded gzip payloadGzip decompress0.001agent402.tools/api/gunzip
Base
Polygon
+9Answering
- Strip all HTML tags and return plain textHTML strip to text0.001agent402.tools/api/html-strip
Base
Polygon
+9Answering
- agent402.tools/api/npvNet present value (NPV)0.001Compute the net present value of a stream of cashflows at a given discount rate. Index 0 is treated as t=0 (today, not discounted); indices 1..n are discounted by (1+rate)^t. Matches Excel's NPV but with the conventional t=0 treatment most finance textbooks use (Excel itself starts discounting at t=1 - see notes). Use for capital-budgeting decisions: positive NPV = creates value at the discount ra
Base
Polygon
+9Answering
- agent402.tools/api/readabilityReadability0.001Flesch Reading Ease and Flesch-Kincaid grade level for English text, the two classic readability numbers, with word, sentence and syllable counts.
Base
Polygon
+9Answering
- agent402.tools/api/readability-scoreReadability score0.001Compute Flesch-Kincaid Grade Level, Flesch Reading Ease, Gunning Fog Index, and Automated Readability Index from text. Returns all 4 scores plus word, sentence, and syllable counts.
Base
Polygon
+9Answering
- agent402.tools/api/token-countToken count0.001Count exact LLM tokens for a string using the real OpenAI BPE (o200k_base for gpt-4o/o-series, cl100k_base for gpt-4/gpt-3.5). Deterministic, offline - budget context windows without calling a model.
Base
Polygon
+9Answering
- agent402.tools/api/xml-to-jsonXML to JSON0.002Parse XML into a JSON object tree (attributes under _attrs, text under _text; repeated elements become arrays).
Base
Polygon
+9Answering
- Base58 encode or decode text (Bitcoin/IPFS alphabet)Base580.001agent402.tools/api/base58
Base
Polygon
+9Answering
- Compress a string with Brotli (RFC 7932) and return it as base64Brotli compress0.001agent402.tools/api/brotli-compress
Base
Polygon
+9Answering
- agent402.tools/api/hidden-text-scanHidden text scan0.001Check an email or web page for text a person reading it would not see but an AI reading it would: HTML comments, display:none or hidden elements, white-on-white or off-screen text, zero-width and tag characters, base64 that decodes to a directive, and directives in alt, title, aria-label, data or meta attributes.
Base
Polygon
+9Answering
- Encode text to Morse code or decode it backMorse code0.001agent402.tools/api/morse
Base
Polygon
+9Answering
- Markdown to HTML and backSkill: Markdown to HTML0.003agent402.tools/api/skill/markdown-convert
Base
Polygon
+9Answering
- agent402.tools/api/slugifySlugify0.001Turn any text into a URL-safe slug (lowercase, hyphenated, diacritics stripped).
Base
Polygon
+9Answering
- Convert subtitles between SRT, WebVTT, plain text, and JSON cuesSubtitle convert (SRT/VTT)0.002agent402.tools/api/srt-convert
Base
Polygon
+9Answering
- Split text into overlapping chunks for RAG ingestionText chunk (RAG)0.001agent402.tools/api/text-chunk
Base
Polygon
+9Answering
- agent402.tools/api/truncateTruncate0.001Truncate text to a maximum length, adding an ellipsis (or custom suffix). Optionally break on word boundaries.
Base
Polygon
+9Answering
- Compute future value of a principal under compound interestCompound interest0.002agent402.tools/api/compound-interest
Base
Polygon
+9Answering
- Text analyze skillSkill: Text analysis0.004agent402.tools/api/skill/text-analyze
Base
Polygon
+9Answering
- Turn a wall of dirty textSkill: Text hygiene0.009agent402.tools/api/skill/text-hygiene
Base
Polygon
+9Answering
- Due-diligence a DeFi protocol in one workflowSkill: DeFi protocol scanner0.02agent402.tools/api/skill/defi-protocol-scanner
Base
Polygon
+9Answering
- A research one-pager for a single ticker in one passSkill: Financial research0.01agent402.tools/api/skill/financial-research
Base
Polygon
+9Answering
- Macro backdrop snapshotSkill: Macro backdrop snapshot0.03agent402.tools/api/skill/macro-context
Base
Polygon
+9Answering
- agent402.tools/v1/token-riskToken & contract risk report0.60Hand over a token contract address (and chain) and get one evidence-based, model-backed on-chain risk report: whether the source is verified, holder concentration (top-1 / top-10 share of supply, distinguishing pools/contracts from wallets), and supply + market context, with a top-holders appendix.
Base
Polygon
+6Answering
- GatewayWalletBatched0.10Fetch image-text search V3
Ethereum
Base
+6Answering
- Structured data from an invoiceSiteCheck0.005api.sitecheck-api.workers.dev/api/invoice/extract
Base
Solana
+7Answering
- Speech to text from a media linkSiteCheck0.0065api.sitecheck-api.workers.dev/api/media/transcript
Base
Solana
+7Answering
- Structured data from a CV or resumeSiteCheck0.005api.sitecheck-api.workers.dev/api/resume/parse
Base
Solana
+7Answering
- api.sitecheck-api.workers.dev/api/youtube/transcriptSiteCheck0.01A YouTube video's captions as plain text and timestamped segments, with the video's title, channel, duration, views, publish date, chapters and the list of caption languages. Accepts watch, youtu.be, shorts, embed and live links or the 11-character id; pick a language with lang (default English, else the first track). Auto-generated captions contain recognition errors. A video without captions is
Base
Solana
+7Answering
- agent402.tools/api/image-gen-premiumImage generation (Premium)0.15Generate a larger image from a text prompt using GPT Image 2 (medium quality): 1536x1024 landscape by default, 1024x1536 portrait or 1024x1024 square via orientation. No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 4000 chars. A render takes 25 to 50 s; use a client timeout of at least 75 s.
Base
Polygon
+5Answering
- Fetch a PDF from a URL and extract its text contentPDF to text0.001agent402.tools/api/pdf
Base
Polygon
+9Answering
Indexed from Coinbase, PayAI, Circle. Prices are in the provider's stablecoin, usually USDC. Agents pay these providers directly, outside Fourohtwo.
