Explore x402 APIs
117.9K 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 113.3K
Solana 62.2K
Polygon 53.3K
Arbitrum 6,901
Arc 4,841
World Chain 3,012
Optimism 2,837
Avalanche 2,393
Sei 2,036
Ethereum 1,711
- Convert an integer between number bases (radix 2-36), e.gBase / radix convert0.001agent402.tools/api/base-convert
Base
Polygon
+9Answering
- Break-even point for a productBreak-even analysis0.001agent402.tools/api/break-even
Base
Polygon
+9Answering
- Mint a stateless captcha challenge to gate your OWN endpointCaptcha generate0.001agent402.tools/api/captcha-generate
Base
Polygon
+9Answering
- Country facts by name or ISO codeCountry info0.001agent402.tools/api/country-info
Base
Polygon
+9Answering
- Two finance formulas behind one op switchFinance0.001agent402.tools/api/finance
Base
Polygon
+9Answering
- Simple exponential smoothing (SES)Forecast0.001agent402.tools/api/forecast-ses
Base
Polygon
+9Answering
- agent402.tools/api/geo-distanceGeo distance (haversine)0.001Great-circle distance between two latitude/longitude points using the haversine formula. Returns kilometers and miles. Deterministic.
Base
Polygon
+9Answering
- 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
- Check whether a year is a leap year and get related infoLeap year check0.001agent402.tools/api/leap-year
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/openapi-extractOpenAPI endpoint extractor0.001Flatten an OpenAPI 3.x or Swagger 2.x spec into a structured list of callable endpoints - one row per operation with method, path, operationId, summary, tags, parameters (name / in / required / type), JSON-body flag, and documented response codes. Includes per-method and per-tag counts so an agent can pick what to call next without parsing the full spec. Output is sorted by path then method for st
Base
Polygon
+9Answering
- agent402.tools/api/openapi-resolve-refsOpenAPI $ref resolver0.001Inline every local `$ref` in an OpenAPI 3.x or Swagger 2.x document so downstream tools see a self-contained spec. Resolves `#/components/...` (OpenAPI) and `#/definitions/...` (Swagger) JSON-pointer refs anywhere in the document, including inside components themselves. Per-branch cycle detection: if A→B→A, the second A is left as a `$ref` and recorded under `circular`. External refs (http://, fil
Base
Polygon
+9Answering
- agent402.tools/api/outliersOutlier detection0.001Flag outliers in a numeric series using either the IQR rule (Tukey fences at 1.5·IQR - robust, default) or z-score (|z| > threshold - assumes normality). Returns the outlier values + their indices + the thresholds used so you can decide whether to trust them.
Base
Polygon
+9Answering
- Score a password's strengthPassword strength0.001agent402.tools/api/password-strength
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
- Stats with percentile cut points for an array of numbersStatistics0.001agent402.tools/api/stats
Base
Polygon
+9Answering
- agent402.tools/api/stats-summaryStats summary0.001Compute the full descriptive-stats panel for an array of numbers in one call: count, sum, mean, median, mode, stddev (sample), variance, min, max, range, q1, q3, IQR. Beats calling 12 separate tools when you already have the array in front of you.
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
- Price a fixed-coupon bond at a required annual rateBond price0.001agent402.tools/api/bond-price
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/business-daysBusiness days0.001Count business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end. Optional list of holiday dates to skip.
Base
Polygon
+9Answering
- agent402.tools/api/correlationCorrelation (Pearson)0.001Pearson correlation coefficient between two equal-length numeric series. Returns r (the correlation, -1 to 1), r² (variance explained), n (sample size). Use this to ask things like: is a stock's daily return correlated with a macro indicator? Are two FRED series moving together?
Base
Polygon
+9Answering
- agent402.tools/api/effective-annual-rateEffective annual rate0.001Convert a nominal annual rate (APR) compounded m times per year into the effective annual rate (EAR / APY): (1 + apr/m)^m - 1. Set continuous:true for e^apr - 1.
Base
Polygon
+9Answering
- Holt's linear trend methodForecast (Holt linear trend)0.001agent402.tools/api/forecast-holt
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
- HMAC signature of a message with a shared keyHMAC0.001agent402.tools/api/hmac
Base
Polygon
+9Answering
Indexed from Coinbase, PayAI, Circle. Prices are in the provider's stablecoin, usually USDC. Agents pay these providers directly, outside Fourohtwo.
