{"openapi":"3.1.0","info":{"title":"zato: Ethereum & Base data API for agents (x402)","version":"2.3.0","summary":"Ethereum & Base on-chain data for agents: block height, token balances, wallet balance, total supply, Transfer logs, contracts, transactions, ENS – from $0.001 USDC via x402.","description":"Latest Ethereum block height, ERC-20 token balance, wallet balance (ETH + tokens), token total supply, ERC-20 Transfer logs, address nonce, contract & tx lookup on Ethereum and Base, from $0.001 in USDC via x402.\n\nAlso: web tools (URL to Markdown, page metadata, product price, sitemaps, DNS/SSL), weather and crypto prices. No signup and no API key: every paid endpoint answers `402 Payment Required` with an x402 v2 challenge (USDC on Base, eip155:8453). Pay with any x402 client, retry with `PAYMENT-SIGNATURE`, get the result plus a `PAYMENT-RESPONSE` header. Failed requests (4xx/5xx) are not settled.\n\n## Use cases\n- **/format** ($0.001) – Pretty-print a JSON string with configurable indentation (0-8 spaces) and also return the minified form.\n- **/x402/check** ($0.001) – Use when you are about to pay for an x402 endpoint or list one: probes a URL with GET then POST and validates the 402 payment challenge (version, accepted price, network, payTo, resource, Bazaar discovery extension) and reports compliance hints.\n- **/web/markdown** ($0.002) – Use when an agent needs a web page as clean LLM-ready text: fetches one public page (robots.txt respected, max 2 MB, 10 s) and returns its main content as Markdown with title, description and absolute links. No AI involved.\n- **/text/keywords** ($0.001) – Use when you need the main terms of a public web page for tagging or SEO: fetches one page (robots.txt respected) and returns top keywords with word frequency counts from the page text. Deterministic, no AI, no API key.\n- **/text/readability** ($0.001) – Use when you need to judge how hard a public web page is to read before summarising or quoting it: fetches one page (robots.txt respected) and returns word count, sentence count, average sentence length, reading time at 200 wpm and a Flesch reading-ease score. No AI involved.\n- **/base/wallet** ($0.001) – Use when you need an on-chain snapshot of a Base (eip155:8453) address: ETH and USDC balance, transaction count, whether it is a contract or wallet, plus name, symbol, decimals and balance for up to 5 ERC-20 tokens. Public read-only RPC lookup, no key.\n- **/web/meta** ($0.001) – Use when you need link-preview or SEO metadata of a public page: fetches one page (robots.txt respected) and returns title, meta description, language, canonical URL, H1, Open Graph and Twitter card tags, icons, manifest, alternates and JSON-LD count. No AI.\n- **/domain/check** ($0.001) – Use when you are about to trust or link a domain: checks its DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA) and the live TLS certificate (issuer, validity, days left, SANs, protocol, trusted or not) of a public domain. No AI, no key.\n- **/web/sitemap** ($0.001) – Use when you need the URLs a site publishes: reads a public site's robots.txt (sitemap lines, crawl rules) and its XML sitemap or sitemap index (.xml.gz supported), returning URL counts, child sitemaps and up to 500 URLs with lastmod. No AI, respects robots.txt.\n- **/base/contract** ($0.001) – Use when you need to know what a Base (eip155:8453) address is: contract or wallet, bytecode size, proxy detection (EIP-1967, EIP-1167), owner(), ERC-165 interfaces (ERC-721/1155) and ERC-20 token name, symbol, decimals and total supply. Public RPC reads only, no key.\n- **/base/tx** ($0.001) – Use when you need to check a Base (eip155:8453) transaction hash: returns status, block number, from and to addresses, value in ETH, gas used and the count of ERC-20 transfer logs. Public RPC lookup only, no key, no AI.\n- **/base/wallets** ($0.003) – Use when you need balances for many Base addresses at once: batch check of up to 25 Base (eip155:8453) addresses returning ETH balance, USDC balance, transaction count and whether each address is a contract or a wallet. One paid call, public RPC data only, no key.\n- **/eth/wallet** ($0.001) – Use when you need the Ethereum mainnet balance of an address: native ETH, balances of the top ERC-20 tokens (USDC, USDT, DAI, WETH, WBTC, LINK, UNI and up to 10 extra), transaction count and whether it is a contract or a wallet. Public RPC reads only, no key.\n- **/eth/token-balance** ($0.001) – Use when you need the ERC-20 token balance of an Ethereum address for one token (USDC, USDT, DAI or any ERC-20 contract address): returns balance, token name, symbol, decimals and total supply. Ethereum mainnet, public RPC reads only, no key.\n- **/eth/contract** ($0.001) – Use when you need to inspect an Ethereum mainnet address to see whether it is a contract or a wallet: bytecode size, proxy type (EIP-1967, EIP-1167, legacy OpenZeppelin), owner(), ERC-165 support for ERC-721/1155 and ERC-20 token facts. Public RPC reads, no key.\n- **/eth/tx** ($0.001) – Use when you need an Ethereum mainnet transaction by hash: returns status (success, failed or pending), block, from and to addresses, ETH value, gas used, effective gas price, fee in ETH and the count of ERC-20 Transfer events. Public RPC reads, no key.\n- **/weather** ($0.001) – Use when you need the current weather and a 24-hour hourly forecast for a place given as lat/lon or city name: temperature, feels-like, wind, humidity, pressure, cloud cover, precipitation and conditions. Data from MET Norway (CC BY 4.0), geocoding OpenStreetMap (ODbL).\n- **/crypto/price** ($0.001) – Use when you need the live spot price in USD of a cryptocurrency symbol (ETH, BTC, USDC, SOL and others) with timestamp and source. Source: Coinbase public spot price, fallback Kraken public ticker. No key.\n- **/web/product** ($0.003) – Use when you need the price, currency, availability, brand, SKU or GTIN of a product from a public product page URL, read from schema.org Product/Offer JSON-LD or Microdata with OpenGraph fallback. Respects robots.txt; no logins, no bot-protection bypass.\n- **/eth/block** ($0.001) – Latest Ethereum block height: current chain tip, block number via eth_blockNumber, plus the block header: timestamp, age in seconds, base fee (gwei), gas used/limit and transaction count. Keywords: Ethereum block height API, latest block number, eth_blockNumber, chain tip, block header lookup, eth_getBlockByNumber, Ethereum block explorer API, block timestamp, gas used, base fee. Use it to check the Ethereum chain tip or a block before reading balances or transactions. Example: POST {} for the latest block, or {\"block\": 20000000} for a specific height. $0.001 per call, no API key, no signup. Ethereum mainnet, public RPC data.\n- **/eth/network-info** ($0.001) – Ethereum network info: chain ID, latest block number, gas price and base fee (eth_chainId, eth_blockNumber, eth_gasPrice, base fee via public RPC). Keywords: eth network status, current gas price API, eth base fee, latest block number, chain id check, network health. Use before sending a transaction to pick a gas price, or to confirm the node is live. $0.001 per call, no API key, read-only. Example: POST {} .\n- **/eth/nonce** ($0.001) – Ethereum address transaction count (nonce). Ethereum nonce lookup (eth_getTransactionCount, pending-safe) for wallets, bots and transaction builders: returns the next transaction nonce for any Ethereum mainnet address, plus a contract-or-wallet flag and chain id. Use it before building or signing a transaction so you never reuse or skip a nonce. Keywords: Ethereum nonce API, eth_getTransactionCount, next transaction nonce, pending nonce for wallet bots, next nonce for wallet, next nonce, transaction nonce lookup, wallet nonce, bot transaction builder, pending nonce, EVM nonce checker. Example: POST {\"address\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"} returns {\"nonce\": <next nonce>, \"isContract\": false}. Also works as GET ?address=0x... $0.001 per call, no API key, no signup, public Ethereum mainnet RPC data (eth_getTransactionCount + eth_getCode).\n- **/eth/token-supply** ($0.001) – Total supply of an ERC-20 or ERC-721 token contract via totalSupply (eth_call), with name, symbol and decimals and the human-readable amount. Keywords: ERC-20 total supply API, token supply lookup, totalSupply eth_call, token metadata, ERC-721 supply. Example: pass a token contract address, get supply in raw and human units. Also fits: token market cap inputs, circulating supply checks, ERC-20 decimals lookup. Response includes raw totalSupply, decimals and formatted amount so agents can compute market cap without another call. Pair with /eth/token-balance for holder checks (Ethereum mainnet, public RPC, no key) and /eth/contract to confirm the address is a contract first. Returns the same 18-decimal-aware fields as Ethereum JSON-RPC eth_call, no API key needed. Read-only: no transaction is sent, no wallet needed. Input: a 0x-prefixed token contract address. Ethereum mainnet, $0.003 per call, public RPC data.\n- **/eth/transfer-logs** ($0.002) – ERC-20 Transfer logs via eth_getLogs: recent Transfer events for a token contract, optionally filtered by a wallet (sender or receiver), decoded (from, to, amount, block, tx hash). Searches up to the last 2,000 blocks, max 100 events. Keywords: ERC-20 transfer history API, token transfer events, eth_getLogs Transfer, wallet token activity, ERC-20 transfer lookup. Example: pass a token contract and optional wallet, get decoded transfers. $0.002 per call, Ethereum mainnet, public RPC data.\n- **/eth/ens** ($0.003) – ENS resolve. ENS name to address (and address to ENS name) on Ethereum mainnet, read live from the ENS registry and resolver. Send {\"name\":\"vitalik.eth\"} for the address, or {\"address\":\"0x...\"} for the name. $0.003 per call, no API key, no signup. Keywords: ENS resolver, vitalik.eth lookup, ENS to address, address to ENS name, reverse resolution, ENS lookup API, ENS name resolution, Ethereum name service. Returns name, address, resolver, direction. Not supported: wildcard or offchain (CCIP-read) names such as *.base.eth. Typical use: wallet and dApp name lookups, resolving vitalik.eth before a transfer.\n- **/eth/tx-by-hash** ($0.001) – Ethereum transaction details by hash (eth_getTransactionByHash, public RPC). Keywords also: tx lookup, transaction status API, eth tx sender and recipient, tx value in ETH, pending or mined check, wallet payment verification. Returns from, to, value in wei and ETH, nonce, input data size, block number, and pending/mined status. Use it to check who sent a transaction, how much ETH moved, and whether it is mined or pending. Pair with /eth/tx-receipt for gas used and event logs. Works on any EVM RPC-backed Ethereum mainnet tx. Typical buyers: wallet monitors, payment verification bots, explorer front-ends. Good for wallet monitoring, payment verification and explorer-style lookups. Keywords: Ethereum transaction by hash, eth_getTransactionByHash, tx details API, look up transaction, tx value, tx sender recipient, tx status checker. Example: POST {\"hash\":\"0x...\"} or GET /eth/tx-by-hash?hash=0x... $0.001 per call, no API key, read-only.\n- **/eth/tx-receipt** ($0.001) – Ethereum transaction receipt lookup by transaction hash (eth_getTransactionReceipt and eth_getTransactionByHash, public RPC). Returns status (success/failed/pending/not_found), block number, gas used, from, to, contract address if created, and log count. Keywords: Ethereum transaction receipt API, tx status by hash, eth_getTransactionReceipt, check transaction status, tx hash lookup, transaction confirmed, Ethereum tx checker, payment confirmation check, did my tx succeed, failed transaction status, contract address from deploy tx. Example: POST {\"hash\":\"0x...\"} returns status and block. Typical buyers: payment confirmation bots, checkout verification, deploy-tx trackers. $0.002 per call, no API key, read-only.\n- **/base64/encode**, **/base64/decode** (free) – Base64 helpers.\n\n## Free tier\nTry before you pay: 3 free calls per day per client on /api/chain/* and /eth/* – send the header `X-Free-Trial: 1`. Remaining calls are returned in `X-Free-Calls-Remaining`. Without the header (and after the 3 calls) the normal x402 402 applies. Counters are kept in memory only, no IP is stored.\n\n## Free demos\nEvery paid endpoint has a free demo with a fixed example input: `GET https://api.zato.org/demo/<path>` (e.g. https://api.zato.org/demo/web/markdown).\n\n## Limits\n- Rate limits per client: 120 paid calls / 60 s; 1200 unpaid 402 probes, metadata and demo requests / 60 s (`RateLimit-*` headers, `429` + `Retry-After`).\n- Per-endpoint timeouts and size limits: see `x-limits` on each operation.\n- Web endpoints: public http(s) only, no private/local addresses, robots.txt respected, max 3 redirects.\n\n## Errors\nAll errors are JSON `{ \"success\": false, \"error\": \"…\", \"requestId\": \"…\" }`; every response carries `X-Request-Id`.\n\n## Service level\nBest effort, no uptime guarantee. Live self-test at /status and /health.","contact":{"name":"api.zato.org","url":"https://api.zato.org"},"license":{"name":"Commercial – pay per call","url":"https://api.zato.org/terms"},"termsOfService":"https://api.zato.org/terms","x-privacy":"https://api.zato.org/privacy","x-logo":{"url":"https://api.zato.org/icon-512.png","backgroundColor":"#0b1020","altText":"api.zato.org"}},"servers":[{"url":"https://api.zato.org","description":"Production – payments in USDC on Base mainnet (eip155:8453)"}],"tags":[{"name":"web","description":"Fetch and understand public web pages (SSRF-safe, robots.txt aware)."},{"name":"onchain","description":"Public on-chain data from Base mainnet (eip155:8453)."},{"name":"x402-tools","description":"Tools for builders of x402 APIs."},{"name":"data","description":"Live data: weather forecasts and crypto prices."},{"name":"utility","description":"Small developer utilities."},{"name":"free","description":"Free endpoints, no payment required."}],"x-discovery":{"ownershipProofs":[],"ownershipProofStatus":"pending – signature of \"https://api.zato.org\" by payTo 0x7BFaBAE4E0103B84298Ecf5ee88141219862d745 not yet published"},"paths":{"/base64/encode":{"post":{"operationId":"base64_encode","summary":"Use when you need to Base64-encode a UTF-8 text string for free. Input: JSON {text}. Output: {success, encoded}. No payment.","tags":["free","utility"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to encode","example":"hello world"}},"required":["text"]}}}},"responses":{"200":{"description":"Successfully encoded","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"original":{"type":"string"},"encoded":{"type":"string"},"length":{"type":"integer"},"service":{"type":"string"}}}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/base64/decode":{"post":{"operationId":"base64_decode","summary":"Decode Base64 to text","tags":["free","utility"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"encoded":{"type":"string","description":"Base64 string to decode","example":"aGVsbG8gd29ybGQ="}},"required":["encoded"]}}}},"responses":{"200":{"description":"Decoded","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"encoded":{"type":"string"},"decoded":{"type":"string"},"length":{"type":"integer"}}}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/format":{"post":{"operationId":"json_format","summary":"Format JSON with indentation","tags":["utility"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":["x402"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"json":{"type":"string","description":"JSON text to pretty-print"},"indent":{"type":"integer","minimum":0,"maximum":8,"default":2,"description":"Spaces per indentation level"}},"required":["json"]},"example":{"json":"{\"a\":1}","indent":2}}}},"responses":{"200":{"description":"Formatted JSON","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"formatted":{"type":"string"},"minified":{"type":"string"},"stats":{"type":"object"}},"required":["success","formatted"]},"example":{"success":true,"formatted":"{\n  \"a\": 1,\n  \"b\": [\n    1,\n    2\n  ]\n}","minified":"{\"a\":1,\"b\":[1,2]}"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2 payment needed","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON challenge with payment details","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"maxBodyBytes":10485760,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/format","description":"Pretty-print a JSON string with configurable indentation (0-8 spaces) and also return the minified form."}},"/api/chain/block-number":{"get":{"operationId":"compat_block-number","summary":"Latest Ethereum block height","description":"Use when you need the latest Ethereum block height (chain tip) for a quick check, via eth_blockNumber. Same path, params and response as the top seller.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/erc20-balance":{"get":{"operationId":"compat_erc20-balance","summary":"ERC20 token balance for any Ethereum wallet","description":"Use when you need the ERC20 token balance of an Ethereum wallet for any token contract (USDC, USDT, DAI or others), via balanceOf.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/live-balance":{"get":{"operationId":"compat_live-balance","summary":"Live wallet balance - native ETH plus ERC20 tokens","description":"Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens (param tokens=0x..,0x..; default: USDT, USDC, DAI, WETH, WBTC, LINK, UNI) in one bounded RPC batch. Cheaper drop-in: same path, params and response.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"},{"name":"tokens","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated ERC-20 contracts (max 20)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/erc20-transfers":{"get":{"operationId":"compat_erc20-transfers","summary":"ERC20 Transfer logs via eth_getLogs","description":"Use when you need raw ERC20 Transfer event logs for a token contract or a wallet from the last 800 blocks (max 100 logs), via eth_getLogs.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":false,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/contract/{address}":{"get":{"operationId":"compat_contract__address","summary":"Contract introspection via batched RPC","description":"Use when you need to check whether an Ethereum address is a contract and detect its token standard (ERC20, ERC721, ERC1155, ERC165) plus token metadata, via batched RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/ens/{input}":{"get":{"operationId":"compat_ens__input","summary":"ENS resolve - name to address or address to name","description":"Use when you need to resolve an ENS name (.eth) to an address, or an address to its primary .eth name, via on-chain resolvers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"input","in":"path","required":true,"schema":{"type":"string"},"description":"ENS name (vitalik.eth) or address","example":"vitalik.eth"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/total-supply":{"get":{"operationId":"compat_total-supply","summary":"Total supply of an ERC20 or ERC721 token contract","description":"Use when you need the total supply of an ERC20 or ERC721 token contract on Ethereum, via totalSupply (eth_call).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/nonce/{address}":{"get":{"operationId":"compat_nonce__address","summary":"Next transaction nonce for any Ethereum wallet","description":"Use when you need the next transaction nonce for any Ethereum wallet, via eth_getTransactionCount.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0x6cf19308c22fc82ea620fa0b3e94948d20f27b96"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/block/{number}":{"get":{"operationId":"compat_block__number","summary":"Ethereum block header and transaction hashes","description":"Use when you need an Ethereum block header and its transaction hashes by number, tag (latest) or hash.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"description":"block number, hex, \"latest\" or block hash","example":"latest"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/tx/{hash}":{"get":{"operationId":"compat_tx__hash","summary":"Full Ethereum transaction details by hash","description":"Use when you need an Ethereum transaction by hash: sender, recipient, value, input data and block number.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/network-info":{"get":{"operationId":"compat_network-info","summary":"EVM network info - chain ID, block height, gas price, head age","description":"Use when you need the current Ethereum network status: chain ID, latest block number, gas price and base fee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/receipt/{hash}":{"get":{"operationId":"compat_receipt__hash","summary":"Ethereum transaction receipt: status, gas used and event logs","description":"Transaction receipt via eth_getTransactionReceipt - status, gas used, effective gas price and event logs of a mined Ethereum transaction. Cheaper drop-in: same path, params and response.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/code/{address}":{"get":{"operationId":"compat_code__address","summary":"Is this Ethereum address a contract? Deployed bytecode via eth_getCode","description":"Check if an Ethereum address is a contract via eth_getCode - returns deployed bytecode, its length and is_contract. Cheaper drop-in: same path, params and response.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/chain-id":{"get":{"operationId":"compat_chain-id","summary":"Ethereum chain ID (EIP-155) via eth_chainId","description":"Use when you need the EVM chain ID of the network this API reads from (Ethereum mainnet), e.g. to check a wallet or a signing setup.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/allowance":{"get":{"operationId":"compat_allowance","summary":"ERC-20 allowance: how much a spender may move from an owner wallet","description":"ERC-20 allowance via allowance(owner, spender) (eth_call) - how much a spender is approved to move from an owner wallet, with token name, symbol and decimals. Cheaper drop-in: same path, params and response.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"owner","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"spender","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum address (0x…)","example":"0x6b175474e89094c44da98b954eedeac495271d0f"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/events":{"get":{"operationId":"compat_events","summary":"Ethereum contract event logs filtered by contract, topic and block range","description":"Query Ethereum contract event logs via eth_getLogs - filter by contract, optional topic0 (event signature hash) and block range (max 800 blocks; default: last 100 blocks). Cheaper drop-in: same path, params and response.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"contract address that emitted the events","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"topic0","in":"query","required":false,"schema":{"type":"string"},"description":"optional event signature hash (topic0)"},{"name":"from_block","in":"query","required":false,"schema":{"type":"string"},"description":"optional start block (decimal or hex); default latest-99"},{"name":"to_block","in":"query","required":false,"schema":{"type":"string"},"description":"optional end block (decimal, hex or latest)"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns":{"get":{"operationId":"compat__api_dns","summary":"DNS lookup: A, AAAA, MX, NS, TXT, CNAME, CAA, SOA plus SPF and DMARC read out","description":"Use when an agent needs the DNS records of a domain in one call - e.g. to check where a site or mail is hosted, or verify SPF/DMARC before sending mail: A, AAAA, MX, NS, TXT, CNAME, CAA and SOA, plus the SPF policy and DMARC policy parsed. Resolved live via public resolvers (Cloudflare, Google, Quad9).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name, e.g. example.com","example":"example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/email-check":{"get":{"operationId":"compat__api_email-check","summary":"Email address check: syntax, MX, SPF, DMARC, role and disposable domain - no mailbox contact","description":"Use when an agent is about to send to or store an email address and wants a quick plausibility check: syntax, whether the domain has mail servers (MX), SPF and DMARC, role addresses (info@, sales@ ...) and a built-in list of common disposable-mail domains. Never contacts the mailbox (no SMTP probe), so deliverability is not guaranteed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string"},"description":"email address to check","example":"jane@example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402-check":{"get":{"operationId":"compat__api_x402-check","summary":"Check an x402 endpoint before paying it: payment terms, price, network, payTo, Bazaar metadata","description":"Use when an agent is about to pay an x402 endpoint and wants to inspect its terms first: makes one unpaid call (GET, then POST), decodes the 402 payment requirements (v1 body or v2 header) and reports version, price, network, asset, payTo, resource and Bazaar metadata with compliance hints. Never pays anything.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"x402 endpoint URL (https)","example":"https://api.zato.org/api/chain/payto-check"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/weather":{"get":{"operationId":"compat__api_weather","summary":"Weather now and forecast for any city worldwide (MET Norway data)","description":"Use when an agent needs current weather and the next hours/days for a place anywhere in the world: give a city name (e.g. Berlin or Goshen, IN); returns temperature, wind, precipitation and conditions from the Norwegian Meteorological Institute (MET Norway, CC BY 4.0), geocoded via OpenStreetMap Nominatim.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"location","in":"query","required":true,"schema":{"type":"string"},"description":"city or place name, e.g. Berlin or Goshen, IN","example":"Berlin"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/payto-check":{"get":{"operationId":"compat_payto-check","summary":"Pay-to check: facts about an unknown payTo wallet before an agent pays it (Base or Ethereum)","description":"Use when an agent is about to pay an unknown payTo address: measurable facts in one call, no score. Contract or EOA, nonce, ETH and USDC balance, USDC transfers in and out over the last ~1 h (count, unique senders), and optionally whether the seller's domain declares this address in its /.well-known/paycheck.json or x402.json. Base (default) or Ethereum.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"payTo address to check (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\"","example":"base"},{"name":"domain","in":"query","required":false,"schema":{"type":"string"},"description":"optional seller domain, e.g. api.example.com: we GET its /.well-known/paycheck.json and /.well-known/x402.json (3 s timeout, public hosts only) and report whether the address is declared there","example":"api.zato.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-report":{"get":{"operationId":"compat_wallet-report","summary":"Wallet report on Ethereum or Base: ETH and ERC-20 token balances, nonce and recent transfers in one call","description":"Wallet report API. Use when an agent needs a wallet balance, token balances, a portfolio overview or a counterparty check before paying: one GET returns native balance, top ERC-20 balances (USDC, USDT, DAI, WETH ...), nonce, contract flag and recent transfers on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche, Linea, Scroll, zkSync, Gnosis or Celo (network=). Accepts ENS and Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Wallet or contract address to report on (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"Network: ethereum (default), base, arbitrum, optimism, polygon, bnb, avalanche, linea, scroll, zksync, gnosis or celo","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/base-wallet-report":{"get":{"operationId":"compat_base-wallet-report","summary":"Base wallet report: ETH, USDC and top token balances, nonce and recent transfers in one call","description":"Base wallet report API. Use when an x402 agent on Base needs a wallet balance, USDC and token balances or a counterparty check before paying: ETH, USDC, USDbC, WETH, DAI, cbETH, cbBTC and AERO balances, nonce, contract flag and recent token transfers (about 30 min) in one GET. Accepts ENS and Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Base wallet or contract address to report on (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum-wallet-report":{"get":{"operationId":"compat_arbitrum-wallet-report","summary":"Arbitrum wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Arbitrum - e.g. to check a counterparty wallet before paying it: native balance (ETH), nonzero balances of top Arbitrum tokens (USDC, USDC.e, USDT, WETH, ARB, DAI, WBTC), nonce, contract flag and recent ERC-20 transfers of those tokens (~15 min). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Arbitrum wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism-wallet-report":{"get":{"operationId":"compat_optimism-wallet-report","summary":"Optimism wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Optimism - e.g. to check a counterparty wallet before paying it: native balance (ETH), nonzero balances of top Optimism tokens (USDC, USDC.e, USDT, WETH, OP, DAI, WBTC), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Optimism wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon-wallet-report":{"get":{"operationId":"compat_polygon-wallet-report","summary":"Polygon wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Polygon - e.g. to check a counterparty wallet before paying it: native balance (POL), nonzero balances of top Polygon tokens (USDC, USDC.e, USDT, WETH, WPOL, DAI, WBTC), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Polygon wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/multichain-wallet-report":{"get":{"operationId":"compat_multichain-wallet-report","summary":"Multichain wallet report: one address on 12 EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche ...) in one call","description":"Use when an agent needs to know where a wallet holds funds across chains - e.g. before paying a counterparty or for a portfolio check: for Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Linea, Scroll, zkSync Era, Gnosis and Celo (or a chains= subset) in parallel it returns native and top token balances, nonce, contract flag and recent token transfers. Chains that time out are marked instead of failing the call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.008"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"chains","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated subset, e.g. ethereum,base,bnb (default: all 12 chains)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb-wallet-report":{"get":{"operationId":"compat_bnb-wallet-report","summary":"BNB Chain wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on BNB Chain - e.g. to check a counterparty wallet before paying it: native balance (BNB), nonzero balances of top tokens (USDT, USDC, WBNB, ETH, BTCB, FDUSD), nonce, contract flag and recent ERC-20 transfers of those tokens (~15 min). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"BNB Chain wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche-wallet-report":{"get":{"operationId":"compat_avalanche-wallet-report","summary":"Avalanche C-Chain wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Avalanche C-Chain - e.g. to check a counterparty wallet before paying it: native balance (AVAX), nonzero balances of top tokens (USDC, USDT, WAVAX, WETH.e, BTC.b), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Avalanche C-Chain wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea-wallet-report":{"get":{"operationId":"compat_linea-wallet-report","summary":"Linea wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Linea - e.g. to check a counterparty wallet before paying it: native balance (ETH), nonzero balances of top tokens (USDC, USDT, WETH), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Linea wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll-wallet-report":{"get":{"operationId":"compat_scroll-wallet-report","summary":"Scroll wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Scroll - e.g. to check a counterparty wallet before paying it: native balance (ETH), nonzero balances of top tokens (USDC, USDT, WETH), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Scroll wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync-wallet-report":{"get":{"operationId":"compat_zksync-wallet-report","summary":"zkSync Era wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on zkSync Era - e.g. to check a counterparty wallet before paying it: native balance (ETH), nonzero balances of top tokens (USDC, USDC.e, USDT, WETH, ZK), nonce, contract flag and recent ERC-20 transfers of those tokens (~30 min). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"zkSync Era wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis-wallet-report":{"get":{"operationId":"compat_gnosis-wallet-report","summary":"Gnosis wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Gnosis - e.g. to check a counterparty wallet before paying it: native balance (xDAI), nonzero balances of top tokens (USDC, USDT, WETH, GNO, WXDAI), nonce, contract flag and recent ERC-20 transfers of those tokens (~1 h). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Gnosis wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo-wallet-report":{"get":{"operationId":"compat_celo-wallet-report","summary":"Celo wallet report: native and top token balances, nonce and recent transfers in one call","description":"Use when an agent needs a one-call overview of a wallet on Celo - e.g. to check a counterparty wallet before paying it: native balance (CELO), nonzero balances of top tokens (USDC, USDT, USDm, CELO), nonce, contract flag and recent ERC-20 transfers of those tokens (~30 min). One GET replaces four lookups; the response also lists related endpoints.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Celo wallet or contract address (0x + 40 hex chars) or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/approvals-report":{"get":{"operationId":"compat_approvals-report","summary":"Approvals report: which contracts can still spend a wallet's top tokens (open ERC-20 allowances)","description":"Use when an agent wants to check which contracts can still spend a wallet's tokens: finds Approval events of the wallet for the top tokens in a recent block window (Ethereum ~10 h, Base ~24 h), then reads the CURRENT allowance of each spender and returns only open ones, unlimited flag and known spender names. No indexer: older approvals outside the window are not covered.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet (owner) address or ENS/Basename (vitalik.eth, name.base.eth)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/gas":{"get":{"operationId":"compat__api_gas","summary":"Gas price and fee estimate on Ethereum or Base (base fee, priority fee, transfer cost)","description":"Use when an agent needs the current gas price before sending a transaction or quoting costs: base fee, suggested priority fee (median of the last 10 blocks), gas price and the estimated cost of a plain ETH transfer and an ERC-20 transfer, on Ethereum (default) or Base. Live from public RPCs.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/token-info":{"get":{"operationId":"compat__api_token-info","summary":"ERC-20 token metadata: name, symbol, decimals and total supply (Ethereum or Base)","description":"Use when an agent meets an unknown token contract and needs its basics before showing amounts or trading decisions: name, symbol, decimals and total supply (raw and formatted), read live from the contract on Ethereum (default) or Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract address","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/nft-owner":{"get":{"operationId":"compat__api_nft-owner","summary":"NFT owner and tokenURI for an ERC-721 token (Ethereum or Base)","description":"Use when an agent needs to know who holds a specific NFT or where its metadata lives: current owner (ownerOf) and tokenURI of an ERC-721 token, plus the collection name and symbol, read live from the contract on Ethereum (default) or Base. Does not fetch the metadata file.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-721 collection contract","example":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"},{"name":"token_id","in":"query","required":true,"schema":{"type":"string"},"description":"token id (decimal)","example":"1"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/contract-type":{"get":{"operationId":"compat__api_contract-type","summary":"What kind of contract is this? ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address and must decide how to talk to it: checks if it is a contract, which standards it supports (ERC-165 supportsInterface for ERC-721 and ERC-1155, ERC-20 by decimals/totalSupply/symbol) and whether it is an EIP-1967 proxy (implementation address). Ethereum (default) or Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/keccak":{"get":{"operationId":"compat__api_keccak","summary":"Hashes of a text: keccak-256 (Ethereum), function selector, SHA-256, SHA-512, SHA-1, MD5","description":"Use when an agent needs a hash or an Ethereum function/event selector without running code: keccak-256 of the text (plus the 4-byte selector, e.g. for \"transfer(address,uint256)\"), SHA-256, SHA-512, SHA-1 and MD5 as hex. Pure computation, nothing stored.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text to hash (UTF-8, max 10000 chars)","example":"transfer(address,uint256)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/ssl-check":{"get":{"operationId":"compat__api_ssl-check","summary":"SSL/TLS certificate check: issuer, validity dates, days left, SANs, protocol","description":"Use when an agent must check a website certificate before trusting or monitoring a domain: issuer, subject, valid from/to, days until expiry, subject alternative names, TLS protocol and cipher, and whether the chain validates for that host name. One TLS handshake on port 443, public hosts only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"host name, e.g. example.com","example":"example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security-headers":{"get":{"operationId":"compat__api_security-headers","summary":"HTTP security headers audit of a URL (HSTS, CSP, X-Frame-Options, ...) with grade","description":"Use when an agent needs to assess the HTTP security headers of a public web page: fetches the URL once (GET, redirects followed, public hosts only) and reports status, server, HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and cookies flags, with a simple count-based grade.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"https URL","example":"https://example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/rdap":{"get":{"operationId":"compat__api_rdap","summary":"Domain registration data via RDAP (modern WHOIS): registrar, created/expires, status, nameservers","description":"Use when an agent needs to know how old a domain is or when it expires - e.g. to judge a new seller or counterparty site: registrar, creation, last-changed and expiry dates, domain age in days, EPP status and nameservers from the registry RDAP service. Contact data is deliberately not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"registered domain, e.g. example.com","example":"example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/holidays":{"get":{"operationId":"compat__api_holidays","summary":"Public holidays of a country for a year (Nager.Date)","description":"Use when an agent schedules deliveries, meetings or deadlines and must skip public holidays: all public holidays of a country for a year with date, local and English name, and whether nationwide or regional. Data: Nager.Date (open source).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO 3166-1 alpha-2 country code, e.g. DE, US","example":"DE"},{"name":"year","in":"query","required":false,"schema":{"type":"string"},"description":"year, e.g. 2026 (default: current year)","example":"2026"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/holidays/check":{"get":{"operationId":"compat__api_holidays_check","summary":"Is a given date a public holiday in a country? (Nager.Date)","description":"Use when an agent must decide if a single date is a public holiday before booking a delivery, meeting or deadline: returns whether the date is a public holiday in a country (ISO 3166-1 alpha-2), the holiday name and whether it is nationwide or regional. Data: Nager.Date (open source).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO 3166-1 alpha-2 country code, e.g. DE, US","example":"DE"},{"name":"date","in":"query","required":true,"schema":{"type":"string"},"description":"date YYYY-MM-DD","example":"2026-12-25"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fx":{"get":{"operationId":"compat__api_fx","summary":"Currency exchange rates (ECB euro reference rates) with conversion","description":"Use when an agent needs an official daily exchange rate or a currency conversion: European Central Bank euro foreign exchange reference rates for about 30 currencies, cross rates for any base, optional amount conversion. Source: ECB (updated on working days around 16:00 CET).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"base","in":"query","required":false,"schema":{"type":"string"},"description":"base currency, e.g. USD (default EUR)","example":"USD"},{"name":"symbols","in":"query","required":false,"schema":{"type":"string"},"description":"comma-separated target currencies, e.g. EUR,GBP (default: all)","example":"EUR,GBP,JPY"},{"name":"amount","in":"query","required":false,"schema":{"type":"string"},"description":"optional amount to convert","example":"100"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/estimate-gas":{"get":{"operationId":"compat_estimate-gas","summary":"eth_estimateGas for a transaction (from, to, data, value) with cost in ETH at the current fee","description":"Use when an agent wants to know how much gas a specific contract call or transfer will cost before sending it: runs eth_estimateGas for from/to/data/value on Ethereum (default) or Base and converts the result to ETH at the current base fee plus median priority fee. Read-only, nothing is sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"target address","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"sender address (optional)","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"data","in":"query","required":false,"schema":{"type":"string"},"description":"calldata hex (optional, 0x...)","example":"0xa9059cbb00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001"},{"name":"value","in":"query","required":false,"schema":{"type":"string"},"description":"value in wei, decimal or hex (optional)","example":"0"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/erc1155-balance":{"get":{"operationId":"compat_erc1155-balance","summary":"ERC-1155 balanceOf(address, token_id) read via eth_call","description":"Use when an agent needs how many units of an ERC-1155 token id a wallet holds (multi-edition NFTs, game items, semi-fungible tokens) on Ethereum (default) or Base. Read-only eth_call to balanceOf(address,uint256); returns the raw integer balance. Payment in USDC on Base via x402.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"holder wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-1155 contract address","example":"0x76be3b62873462d2142405439777e971754e8e77"},{"name":"token_id","in":"query","required":true,"schema":{"type":"string"},"description":"token id (decimal)","example":"1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/uuid":{"get":{"operationId":"compat__api_uuid","summary":"Random UUID v4 values (1-100) from a cryptographic RNG","description":"Use when an agent needs unique identifiers for records, requests or test data: returns 1 to 100 random RFC 4122 version-4 UUIDs generated with crypto.randomUUID (cryptographically secure). No input data is stored or logged.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"count","in":"query","required":false,"schema":{"type":"string"},"description":"how many UUIDs, 1-100 (default 1)","example":"3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/random":{"get":{"operationId":"compat__api_random","summary":"Cryptographically secure random integers in a range (1-1000)","description":"Use when an agent needs unbiased random integers, e.g. picking a winner, sampling or test data: returns 1 to 1000 integers uniformly drawn from [min, max] with crypto.randomInt (cryptographically secure). Nothing is stored or logged.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"min","in":"query","required":false,"schema":{"type":"string"},"description":"lower bound, integer (default 1)","example":"1"},{"name":"max","in":"query","required":false,"schema":{"type":"string"},"description":"upper bound, integer, inclusive (default 100)","example":"100"},{"name":"count","in":"query","required":false,"schema":{"type":"string"},"description":"how many integers, 1-1000 (default 1)","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price":{"get":{"operationId":"compat__api_price","summary":"Spot price of a crypto asset in USD (Coinbase public prices)","description":"Use when an agent needs the current USD price of a crypto asset (ETH, BTC, USDC, SOL, ...): returns the live Coinbase spot price with timestamp and source; falls back to Kraken public ticker. Read-only, no key needed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string"},"description":"ticker symbol, 2-10 letters/digits, e.g. ETH","example":"ETH"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/business-days":{"get":{"operationId":"compat__api_business-days","summary":"Business days between two dates (weekends and public holidays excluded)","description":"Use when an agent computes deadlines, delivery times or SLA days: counts the business days between two dates (from inclusive, to exclusive) for a country, skipping Saturdays, Sundays and that country's public holidays (Nager.Date). Returns the count and the holidays that were skipped.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO 3166-1 alpha-2 country code, e.g. DE, US","example":"DE"},{"name":"from","in":"query","required":true,"schema":{"type":"string"},"description":"start date YYYY-MM-DD (inclusive)","example":"2026-01-01"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"end date YYYY-MM-DD (exclusive)","example":"2026-01-31"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/supply-cap":{"get":{"operationId":"compat_supply-cap","summary":"ERC-20 totalSupply and decimals for a token contract (Ethereum or Base), raw and formatted","description":"Use when an agent needs the current total supply of an ERC-20 token before quoting market size, checking dilution or sizing an amount: reads totalSupply() and decimals() live from the contract on Ethereum (default) or Base and returns the raw and human-readable supply. Read-only, facts only, no price or score.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract address","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or base","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/block-by-time":{"get":{"operationId":"compat_block-by-time","summary":"Nearest block number at or before a unix timestamp (Ethereum or Base)","description":"Use when an agent must map a date or unix time to an on-chain block, e.g. before reading balances or logs at that moment: returns the last block whose timestamp is at or before the given time (binary search over RPC headers), with its timestamp and hash. Read-only, Ethereum (default) or Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds, e.g. 1735689600","example":"1735689600"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or base","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/time":{"get":{"operationId":"compat__api_time","summary":"Current time in any IANA time zone with UTC offset, unix time and weekday","description":"Use when an agent needs the exact current local time somewhere (scheduling, opening hours, deadlines): local date/time, UTC offset, abbreviation, weekday, ISO week and unix timestamp for an IANA time zone such as Europe/Berlin or America/New_York. Server clock is NTP-synced.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"tz","in":"query","required":false,"schema":{"type":"string"},"description":"IANA time zone, e.g. Europe/Berlin (default UTC)","example":"Europe/Berlin"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/nft-metadata":{"get":{"operationId":"compat_nft-metadata","summary":"NFT metadata: tokenURI plus the fetched metadata JSON (name, image, attributes) for ERC-721/1155","description":"Use when an agent needs what an NFT actually is: reads tokenURI (ERC-721) or uri(id) (ERC-1155) on Ethereum (default) or Base and fetches the metadata JSON (ipfs:// via public gateway, https, or data: URIs) - name, description, image, attributes. Fetch is SSRF-safe, max 9 s and 200 KB per gateway.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"NFT collection contract","example":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"},{"name":"token_id","in":"query","required":true,"schema":{"type":"string"},"description":"token id (decimal)","example":"1"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/call":{"get":{"operationId":"compat_call","summary":"Read-only contract call (eth_call): raw result plus simple decodings - never sends a transaction","description":"Use when an agent needs to read a contract value that no dedicated route covers: runs eth_call with your calldata against the latest block on Ethereum (default) or Base and returns the raw result plus simple decodings (uint256, address, string). Read-only: nothing is signed or sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"data","in":"query","required":true,"schema":{"type":"string"},"description":"calldata hex, e.g. 0x18160ddd for totalSupply()","example":"0x18160ddd"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/erc721-tokens":{"get":{"operationId":"compat_erc721-tokens","summary":"NFTs an address holds in one ERC-721 collection: count and token ids (enumerable collections)","description":"Use when an agent needs to know which NFTs of a given collection a wallet owns: balanceOf plus the token ids via ERC721Enumerable (up to 50) on Ethereum (default) or Base. Honest limit: no indexer - collections that are not enumerable return only the count.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"owner","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x46efbaedc92067e6d60e84ed6395099723252496"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-721 collection contract","example":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/storage":{"get":{"operationId":"compat_storage","summary":"Raw contract storage slot value (eth_getStorageAt) with simple decodings","description":"Use when an agent needs a raw storage value of a contract - e.g. a proxy slot, an owner or a packed variable: eth_getStorageAt for a slot (decimal or hex) at the latest block on Ethereum (default) or Base, plus the value as uint256 and as address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"slot","in":"query","required":true,"schema":{"type":"string"},"description":"slot number or 32-byte hex","example":"0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/proxy":{"get":{"operationId":"compat_proxy","summary":"Proxy detection: EIP-1967 / legacy / beacon / EIP-1167 clone / EIP-7702 delegation with target addresses","description":"Use when an agent must know which code really runs behind an address: detects EIP-1967 proxies (implementation, admin, beacon), legacy ZeppelinOS proxies, EIP-1167 minimal clones and EIP-7702 delegated EOAs on Ethereum (default) or Base, and returns the target addresses and whether they hold code.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-tax-facts":{"get":{"operationId":"compat_token-tax-facts","summary":"Token tax facts (not a score): contract code size, owner() present, transfer/fee function selectors present","description":"Use when an agent checks a token contract before trading: facts only, no verdict. Returns whether the address has contract code and its size in bytes, whether owner() responds, whether common transfer and fee/tax-related function selectors exist in the bytecode (heuristic string match on 4-byte selectors), and token name/symbol if available. Ethereum (default) or Base. Data: public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-label-facts":{"get":{"operationId":"compat_wallet-label-facts","summary":"Address facts: EOA or contract, code size, ENS name if any (no third-party labels)","description":"Use when an agent needs to classify an address before acting: is it an externally owned account (EOA) or a smart contract, how many bytes of code it has, and the ENS reverse name if one is set. Facts only from public RPC, no third-party label database, no personal data. Ethereum (default) or Base. Example: a Base USDC contract returns is_contract true with its code size.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet or contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/tokens-facts":{"get":{"operationId":"compat_tokens-facts","summary":"Batch ERC-20 facts: name, symbol and decimals for up to 10 token contracts in one call","description":"Use when an agent needs token metadata for several contracts at once (wallet portfolios, transfer logs, price lists): returns name, symbol and decimals for each ERC-20 address, up to 10 per request, from public RPC on Ethereum (default) or Base. Contracts without these getters return null fields. Example: USDC on Base returns name USD Coin, symbol USDC, decimals 6.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"contracts","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated token contract addresses, max 10","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/address-screen-facts":{"get":{"operationId":"compat_address-screen-facts","summary":"Address facts for screening: EOA or contract, code size, balance, transaction count","description":"Use when an agent needs basic facts about an address before acting on it: externally owned account or contract, code size in bytes, native balance and transaction count. Facts only from public RPC. This is NOT a sanctions or risk screen and gives no verdict or label. Ethereum (default) or Base. Example: a Base USDC contract returns is_contract true with its code size.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address to check","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/balances-facts":{"get":{"operationId":"compat_balances-facts","summary":"Native ETH balances for up to 10 addresses in one call","description":"Use when an agent needs native balances for several wallets at once (treasury checks, multi-wallet portfolios): returns the ETH or native-token balance of up to 10 addresses from public RPC on Ethereum (default) or Base, plus the block number used. Facts only; no token balances here (use the token-balance route for ERC-20).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses, max 10","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/name-resolve":{"get":{"operationId":"compat_name-resolve","summary":"ENS name to address: resolves a .eth name to its address via the ENS registry and resolver","description":"Use when an agent has an ENS name (e.g. vitalik.eth) and needs the address it points to. Forward resolution through the ENS registry and public resolver on Ethereum mainnet, from public RPC. Returns null address if the name is unregistered or has no address record. Pair with ens-reverse to verify the name.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"ENS name, e.g. vitalik.eth","example":"vitalik.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/pending":{"get":{"operationId":"compat_pending","summary":"Pending block snapshot: pending tx count, gas used, base fee vs. latest block (Ethereum, Base)","description":"Use when an agent wants to know how busy the chain is right now before sending or timing a transaction: the pending block as seen by public RPC nodes (transaction count, gas used/limit, base fee) next to the latest block and its age, on Ethereum (default) or Base. Node views of pending state can differ.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/sanctions-check":{"get":{"operationId":"compat_sanctions-check","summary":"OFAC sanctions check for a crypto address (EVM, Bitcoin, Tron, Solana and more)","description":"Use before an agent pays or accepts funds from an address: checks it against the U.S. Treasury OFAC SDN list of sanctioned digital currency addresses (EVM chains, Bitcoin, Tron, Solana, Litecoin and more), refreshed every 12 h. Returns match yes/no and on which list. A non-match is not legal advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"crypto address (any chain)","example":"0x0330070FD38Ec3bB94F58FA55D40368271E9e54A"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/address-transactions":{"get":{"operationId":"compat_address-transactions","summary":"Recent transactions of an address: hash, time, from/to, value, method, status (Ethereum, zkSync, Celo)","description":"Use when an agent needs the recent activity of a wallet or contract - e.g. to see whom a counterparty pays or how active it is: the latest 25 transactions with hash, time, from, to, value, method, fee and status, via the public Blockscout API for Ethereum (default), zkSync Era or Celo. Accepts ENS names.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS name","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), zksync or celo","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/contract-info":{"get":{"operationId":"compat_contract-info","summary":"Contract info: verified source?, name, compiler, creator and creation tx, proxy hint","description":"Use when an agent is about to interact with an unknown contract and wants basic provenance: whether the source is verified, contract name, compiler version, creator address and creation transaction, token info and proxy implementation if known, via the public Blockscout API for Ethereum (default), zkSync Era or Celo.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), zksync or celo","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/balance-at":{"get":{"operationId":"compat_balance-at","summary":"Historical balance: ETH and USDC of an address at a past date or block (Ethereum, Base, Optimism)","description":"Use when an agent needs what a wallet held in the past - e.g. at a payment date, for accounting or a dispute: native ETH and USDC balance at a given date (UTC, finds the block) or block number, read from archive state on Ethereum (default), Base or Optimism. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"ISO date/time (UTC), e.g. 2025-01-01","example":"2025-01-01"},{"name":"block","in":"query","required":false,"schema":{"type":"string"},"description":"or a block number instead of date"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), base or optimism","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/usdc-balance":{"get":{"operationId":"compat_usdc-balance","summary":"USDC balance of an address on 12 EVM chains (or one) in one call","description":"Use when an agent only needs to know how much USDC a wallet holds - e.g. before requesting a payment: native USDC balance on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Linea, Scroll, zkSync Era, Gnosis and Celo in parallel, or on one chain with network=. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional single chain, e.g. base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/basename":{"get":{"operationId":"compat_basename","summary":"Basename/ENS lookup both ways: name -> address, address -> primary name (Base and Ethereum)","description":"Use when an agent needs a human-readable identity for a wallet or the wallet behind a name: resolves a Basename (name.base.eth) or ENS name to its address, or an address to its primary Basename (Base) and primary ENS name (Ethereum); reverse results are checked forward so they match. On-chain only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"name to resolve, e.g. jesse.base.eth","example":"jesse.base.eth"},{"name":"address","in":"query","required":false,"schema":{"type":"string"},"description":"or an address for reverse lookup"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/address-validate":{"get":{"operationId":"compat__api_address-validate","summary":"Validate a crypto address and detect its network: EVM (EIP-55 checksum), Bitcoin, Solana, Tron","description":"Use before an agent sends funds or stores an address, to catch typos: validates the format and checksum of EVM addresses (EIP-55), Bitcoin (base58check P2PKH/P2SH, bech32/bech32m SegWit and Taproot), Tron (base58check) and Solana (32-byte base58), and returns the detected type and the checksummed form. Pure computation.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address to validate","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/address":{"get":{"operationId":"compat__api_btc_address","summary":"Bitcoin address: balance, received/sent, tx count and recent transactions","description":"Use when an agent needs facts about a Bitcoin address - e.g. before accepting BTC or checking a counterparty: confirmed and unconfirmed balance, total received and sent, number of transactions and the 10 most recent transactions with time and amount, from public explorers (mempool.space, Blockstream fallback).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Bitcoin address","example":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-markdown":{"get":{"operationId":"compat__api_page-markdown","summary":"Web page to clean Markdown (GET): title, description, main content, absolute links - robots.txt respected","description":"Use when an agent needs the readable content of a public web page for an LLM: fetches the URL (robots.txt respected, max 2 MB, 10 s) and returns title, description and the main content as clean Markdown with absolute links. No AI involved. GET variant of POST /web/markdown.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.0015"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://example.com"},{"name":"max_chars","in":"query","required":false,"schema":{"type":"string"},"description":"optional max characters (default 20000)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web-batch":{"get":{"operationId":"compat__api_web-batch","summary":"Web pages to clean Markdown for up to 5 URLs in one call (robots.txt respected)","description":"Use when an agent needs the readable content of several public web pages at once: returns the same output as /api/page-markdown for each URL (up to 5, comma-separated) in one call. Each URL is fetched separately with robots.txt respected; a URL that fails is marked with an error instead of failing the batch. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"urls","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated public page URLs, max 5","example":"https://example.com,https://www.iana.org/domains/reserved"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-meta":{"get":{"operationId":"compat__api_page-meta","summary":"Web page metadata (GET): title, description, OpenGraph/Twitter tags, canonical, language, icons","description":"Use when an agent needs to know what a link is before opening or sharing it: fetches the page (robots.txt respected) and returns title, description, OpenGraph and Twitter card tags, canonical URL, language, favicon/manifest and H1. GET variant of POST /web/meta.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://github.com/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/ens-reverse":{"get":{"operationId":"compat_ens-reverse","summary":"Primary ENS name of an Ethereum address (reverse record), forward-verified","description":"Use when an agent holds a wallet address and needs its human-readable ENS name: reads the ENS reverse record (addr.reverse) from the ENS registry and resolver on Ethereum mainnet, then checks that the name resolves back to the same address. Returns the name or null. Read-only, facts only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana/balance":{"get":{"operationId":"compat_solana_balance","summary":"Solana SOL balance of an address","description":"Use when an agent only needs the SOL balance of a Solana address (in SOL and lamports) plus whether the account exists and is a program; one fast call via public Solana RPC. Payment is USDC on Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Solana address (base58)","example":"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana/token-balance":{"get":{"operationId":"compat_solana_token-balance","summary":"Solana SPL token balance of a wallet for one mint (e.g. USDC)","description":"Use when an agent needs how much of one SPL token (by mint, e.g. USDC) a Solana wallet holds: sums all token accounts of that mint (Token and Token-2022 programs), with decimals; via public Solana RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Solana wallet (base58)","example":"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"},{"name":"mint","in":"query","required":true,"schema":{"type":"string"},"description":"SPL token mint, e.g. USDC EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana/token-info":{"get":{"operationId":"compat_solana_token-info","summary":"Solana SPL mint info: decimals, supply, mint and freeze authority","description":"Use when an agent meets an unknown Solana token: decimals, total supply and - important for risk - whether a mint authority (can create more tokens) and a freeze authority (can freeze holders) are still set, plus the token program. Via public Solana RPC; facts only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"mint","in":"query","required":true,"schema":{"type":"string"},"description":"SPL token mint (base58)","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana/tx":{"get":{"operationId":"compat_solana_tx","summary":"Solana transaction by signature: status, fee, time, SOL and token balance changes","description":"Use when an agent must confirm a Solana payment or inspect a transaction: status, slot, time, fee, signers, programs called and the SOL and token balance changes per account, for a transaction signature via public Solana RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"signature","in":"query","required":true,"schema":{"type":"string"},"description":"transaction signature (base58)","example":"3dBWdjyUz5muZWB7dqy4tB8XWoCYeYwQZAS7kBuYczLBVLTKDFh4bHZJFxDw4ZKKMfVdVRGejUTdW3Qem3R3SLu9"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/tx":{"get":{"operationId":"compat__api_btc_tx","summary":"Bitcoin transaction by txid: status, confirmations, fee, inputs and outputs","description":"Use when an agent must confirm a Bitcoin payment or inspect a transaction: confirmed?, block height and time, confirmations, fee and fee rate, size, and the input and output addresses with amounts in BTC, from public explorers (mempool.space, Blockstream fallback).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"txid","in":"query","required":true,"schema":{"type":"string"},"description":"Bitcoin transaction id (64 hex)","example":"f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/fees":{"get":{"operationId":"compat__api_btc_fees","summary":"Bitcoin fee estimates (sat/vB) and mempool size","description":"Use when an agent is about to send Bitcoin and needs a fee rate: recommended sat/vB for next block, ~30 min, ~1 h and economy, plus current mempool transaction count and size, from mempool.space.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/tip":{"get":{"operationId":"compat__api_btc_tip","summary":"Bitcoin chain tip: latest block height, hash, time and age","description":"Use when an agent needs the current Bitcoin block height (e.g. to count confirmations or check timing): latest block height, hash, timestamp, age in seconds and transaction count, from public explorers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/utxos":{"get":{"operationId":"compat__api_btc_utxos","summary":"Bitcoin UTXOs of an address (spendable outputs) with values and confirmation status","description":"Use when an agent needs the spendable outputs of a Bitcoin address - e.g. to build a transaction or verify funds: up to 100 UTXOs with txid, output index, value in BTC and confirmation height, plus the total, from public explorers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Bitcoin address","example":"bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/timezone-convert":{"get":{"operationId":"compat__api_timezone-convert","summary":"Convert a date/time from one time zone to another (IANA zones, DST-aware)","description":"Use when an agent schedules across regions and must convert a local time: converts a date-time given in one IANA time zone (e.g. America/New_York) to another (e.g. Europe/Berlin), DST-aware, and returns both local times, offsets and the UTC instant.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"time","in":"query","required":true,"schema":{"type":"string"},"description":"local date-time, e.g. 2026-12-01T15:00","example":"2026-12-01T15:00"},{"name":"from","in":"query","required":true,"schema":{"type":"string"},"description":"source IANA zone","example":"America/New_York"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"target IANA zone","example":"Europe/Berlin"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/holidays/next":{"get":{"operationId":"compat__api_holidays_next","summary":"Next public holidays of a country (upcoming 365 days)","description":"Use when an agent plans a delivery, payout or meeting and needs the next public holidays in a country: upcoming holidays with date, local and English name and days from today, for an ISO country code. Data: Nager.Date (open source).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO 3166-1 alpha-2 code, e.g. DE, US","example":"DE"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-age":{"get":{"operationId":"compat_wallet-age","summary":"Wallet age: when did this address first become active (Ethereum, Base, Optimism)","description":"Use when an agent checks a counterparty and wants to know if a wallet is brand new or long-standing: finds the block of the first outgoing transaction (or contract creation) by binary search over archive state on Ethereum, Base and Optimism, with date and age in days. Receive-only wallets show no age. Arbitrum is not covered (no free archive RPC). Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet/contract address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"chains","in":"query","required":false,"schema":{"type":"string"},"description":"optional subset: ethereum,base,optimism (default all three)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana-wallet-report":{"get":{"operationId":"compat_solana-wallet-report","summary":"Solana wallet report: SOL balance, SPL token balances and recent signatures in one call","description":"Use when an agent needs a one-call overview of a Solana wallet - e.g. to check a counterparty before paying: SOL balance, all nonzero SPL token balances (well-known mints named: USDC, USDT, JUP, BONK, WIF, PYTH, mSOL, JitoSOL), and the 10 most recent transaction signatures with time and status. Public Solana RPC; payment is USDC on Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Solana wallet address (base58) or ENS/Basename (vitalik.eth, name.base.eth)","example":"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/counterparty-report":{"get":{"operationId":"compat_counterparty-report","summary":"Counterparty report: pay-to facts + wallet age + presence on 12 EVM chains in one call","description":"Use when an agent is about to pay or trust an unknown address and wants one answer: pay-to facts on Base or Ethereum (contract?, nonce, ETH/USDC balance, recent USDC flow, optional domain declaration), wallet age (first activity on Ethereum/Base/Optimism) and on which of 12 EVM chains the address is active. Facts only, no score. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\" for the pay-to facts","example":"base"},{"name":"domain","in":"query","required":false,"schema":{"type":"string"},"description":"optional seller domain to check the payTo declaration"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/batch-wallet-report":{"get":{"operationId":"compat_batch-wallet-report","summary":"Batch wallet report: up to 20 addresses or ENS names on one chain in one call","description":"Use when an agent must screen many wallets at once - e.g. a list of counterparties, payees or holders: wallet report (native and top token balances, nonce, contract flag, recent transfers) for up to 20 addresses or ENS/Basenames on one of 12 EVM chains, 5 in parallel; failed entries are marked. $0.03 for up to 20 (vs. $0.003 each).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses or ENS/Basenames, max 20","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), base, arbitrum, optimism, polygon, bnb, avalanche, linea, scroll, zksync, gnosis or celo","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-risk":{"get":{"operationId":"compat_token-risk","summary":"Token risk facts: proxy, owner/renounced, mint/pause/blacklist/fee functions in bytecode (Ethereum, Base)","description":"Use when an agent meets an unknown ERC-20 before buying or accepting it: measurable facts only, no score - contract size, upgradeable proxy (EIP-1967 or legacy) and implementation, owner() and whether ownership is renounced, privileged functions found in the bytecode (mint, pause, blacklist, fee setters, max-tx limits), name, symbol, decimals, total supply. Holder concentration is not covered (no indexer).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" or \"base\" (default)","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/preflight":{"get":{"operationId":"compat__api_preflight","summary":"x402 preflight: check an endpoint, its payTo wallet and the domain declaration before paying","description":"Use right before an agent pays an x402 endpoint: one call checks the endpoint's 402 terms (price, network, asset, payTo), facts about the payTo wallet on Base or Ethereum (contract?, nonce, balances, recent USDC flow) and whether the seller domain declares that payTo in /.well-known/paycheck.json or x402.json. Returns findings, not a verdict. Never pays.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"x402 endpoint URL (https)","example":"https://api.zato.org/api/chain/payto-check"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-report-diff":{"get":{"operationId":"compat_wallet-report-diff","summary":"Wallet changes since a date: native and top token balance deltas plus nonce change (Ethereum, Base, Optimism)","description":"Use when an agent wants to know what changed in a wallet since a moment (last check, an invoice, a payment): compares native and top token balances and the nonce now vs. a past date or block from archive state and returns only the deltas. Ethereum (default), Base or Optimism. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"since","in":"query","required":true,"schema":{"type":"string"},"description":"ISO date/time (UTC) or unix seconds","example":"2026-11-01"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), base or optimism","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-snapshot":{"get":{"operationId":"compat_wallet-snapshot","summary":"Wallet snapshot hash for cheap change detection: compare the hash later instead of the full report","description":"Use when an agent watches a wallet and only needs to know IF something changed: returns a SHA-256 hash over native balance, nonce and top token balances on one of 12 EVM chains, plus the values it covers. Store the hash and call again later; a different hash means the wallet changed. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or another of the 12 EVM chains","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/portfolio-value":{"get":{"operationId":"compat_portfolio-value","summary":"Wallet value in USD from Chainlink price feeds (native ETH, WETH, WBTC and stablecoins)","description":"Use when an agent needs what a wallet is worth in USD with a verifiable price source: values native ETH and the wallet's WETH, WBTC/cbBTC and USDC/USDT/DAI balances on one of 12 EVM chains with Chainlink price feeds read on Ethereum mainnet; other tokens are listed but not valued (no reliable on-chain price). Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or another of the 12 EVM chains","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/ens-profile":{"get":{"operationId":"compat_ens-profile","summary":"ENS/Basename profile: address, avatar, description, url and social handles from public text records","description":"Use when an agent wants a public identity card for an ENS name or Basename (e.g. a counterparty or seller): resolved address plus on-chain text records avatar, description, url, header, location and social handles (GitHub, X/Twitter, Telegram, Discord). Email and phone records are deliberately not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"ENS name or Basename","example":"vitalik.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana-counterparty-report":{"get":{"operationId":"compat_solana-counterparty-report","summary":"Solana counterparty report: SOL and USDC balance, activity, first-seen in recent history, OFAC check","description":"Use before an agent pays or trusts a Solana address: SOL balance, USDC/USDT balances, number of token accounts, recent activity (latest and oldest of the last 1000 signatures, failures), whether the account is executable (a program) and an OFAC SDN sanctions check. Facts only, no score. Payment is USDC on Base.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Solana address (base58)","example":"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/balance":{"get":{"operationId":"compat_arbitrum_balance","summary":"Arbitrum native balance and nonce of an address","description":"Use when an agent needs the native ETH balance and transaction count (nonce) of an address on Arbitrum: one fast call, live from public Arbitrum RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Arbitrum address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/erc20-balance":{"get":{"operationId":"compat_arbitrum_erc20-balance","summary":"Arbitrum ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Arbitrum: balanceOf plus token symbol and decimals, formatted and raw, live from public Arbitrum RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Arbitrum wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Arbitrum","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/token-info":{"get":{"operationId":"compat_arbitrum_token-info","summary":"Arbitrum ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Arbitrum: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Arbitrum RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Arbitrum","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/tx":{"get":{"operationId":"compat_arbitrum_tx","summary":"Arbitrum transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Arbitrum: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Arbitrum RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Arbitrum","example":"0x7c64d56ae0624e859b602233fb2f07baf833ebd054469cbce2189e1af0b2ca08"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/gas":{"get":{"operationId":"compat_arbitrum_gas","summary":"Arbitrum gas price and fee estimate","description":"Use when an agent needs the current gas price on Arbitrum before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in ETH.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/contract-type":{"get":{"operationId":"compat_arbitrum_contract-type","summary":"Arbitrum contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Arbitrum and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Arbitrum","example":"0xaf88d065e77c8cc2239327c5edb3a432268e5831"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/usdc-balance":{"get":{"operationId":"compat_arbitrum_usdc-balance","summary":"Arbitrum native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Arbitrum - e.g. before requesting or checking a payment: balanceOf of native USDC (0xaf88d065e77c8cc2239327c5edb3a432268e5831) via public Arbitrum RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Arbitrum wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/block-by-time":{"get":{"operationId":"compat_arbitrum_block-by-time","summary":"Arbitrum block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Arbitrum (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606237"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/arbitrum/usdc-transfers":{"get":{"operationId":"compat_arbitrum_usdc-transfers","summary":"Arbitrum recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Arbitrum - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~15 min), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Arbitrum wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/balance":{"get":{"operationId":"compat_optimism_balance","summary":"Optimism native balance and nonce of an address","description":"Use when an agent needs the native ETH balance and transaction count (nonce) of an address on Optimism: one fast call, live from public Optimism RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Optimism address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/erc20-balance":{"get":{"operationId":"compat_optimism_erc20-balance","summary":"Optimism ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Optimism: balanceOf plus token symbol and decimals, formatted and raw, live from public Optimism RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Optimism wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Optimism","example":"0x0b2c639c533813f4aa9d7837caf62653d097ff85"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/token-info":{"get":{"operationId":"compat_optimism_token-info","summary":"Optimism ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Optimism: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Optimism RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Optimism","example":"0x0b2c639c533813f4aa9d7837caf62653d097ff85"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/tx":{"get":{"operationId":"compat_optimism_tx","summary":"Optimism transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Optimism: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Optimism RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Optimism","example":"0x6abeb17efd9c34d55ab07f51820db4fea1bce0ca1adeca42911389dde43e4415"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/gas":{"get":{"operationId":"compat_optimism_gas","summary":"Optimism gas price and fee estimate","description":"Use when an agent needs the current gas price on Optimism before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in ETH.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/contract-type":{"get":{"operationId":"compat_optimism_contract-type","summary":"Optimism contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Optimism and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Optimism","example":"0x0b2c639c533813f4aa9d7837caf62653d097ff85"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/usdc-balance":{"get":{"operationId":"compat_optimism_usdc-balance","summary":"Optimism native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Optimism - e.g. before requesting or checking a payment: balanceOf of native USDC (0x0b2c639c533813f4aa9d7837caf62653d097ff85) via public Optimism RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Optimism wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/block-by-time":{"get":{"operationId":"compat_optimism_block-by-time","summary":"Optimism block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Optimism (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606237"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/optimism/usdc-transfers":{"get":{"operationId":"compat_optimism_usdc-transfers","summary":"Optimism recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Optimism - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Optimism wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/balance":{"get":{"operationId":"compat_bnb_balance","summary":"BNB Chain native balance and nonce of an address","description":"Use when an agent needs the native BNB balance and transaction count (nonce) of an address on BNB Chain: one fast call, live from public BNB Chain RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"BNB Chain address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/erc20-balance":{"get":{"operationId":"compat_bnb_erc20-balance","summary":"BNB Chain ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on BNB Chain: balanceOf plus token symbol and decimals, formatted and raw, live from public BNB Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"BNB Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on BNB Chain","example":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/token-info":{"get":{"operationId":"compat_bnb_token-info","summary":"BNB Chain ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on BNB Chain: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public BNB Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on BNB Chain","example":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/tx":{"get":{"operationId":"compat_bnb_tx","summary":"BNB Chain transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on BNB Chain: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public BNB Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on BNB Chain","example":"0x756e3bd6c0d979bbb6abd17fe57135be495bbae5bfdcb32f8d3d195b82ee2120"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/gas":{"get":{"operationId":"compat_bnb_gas","summary":"BNB Chain gas price and fee estimate","description":"Use when an agent needs the current gas price on BNB Chain before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in BNB.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/contract-type":{"get":{"operationId":"compat_bnb_contract-type","summary":"BNB Chain contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on BNB Chain and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on BNB Chain","example":"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/usdc-balance":{"get":{"operationId":"compat_bnb_usdc-balance","summary":"BNB Chain native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on BNB Chain - e.g. before requesting or checking a payment: balanceOf of native USDC (0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d) via public BNB Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"BNB Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/block-by-time":{"get":{"operationId":"compat_bnb_block-by-time","summary":"BNB Chain block number at a date/time","description":"Use when an agent must map a unix time or date to a block on BNB Chain (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606238"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/bnb/usdc-transfers":{"get":{"operationId":"compat_bnb_usdc-transfers","summary":"BNB Chain recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on BNB Chain - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~15 min), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"BNB Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/balance":{"get":{"operationId":"compat_avalanche_balance","summary":"Avalanche C-Chain native balance and nonce of an address","description":"Use when an agent needs the native AVAX balance and transaction count (nonce) of an address on Avalanche C-Chain: one fast call, live from public Avalanche C-Chain RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Avalanche C-Chain address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/erc20-balance":{"get":{"operationId":"compat_avalanche_erc20-balance","summary":"Avalanche C-Chain ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Avalanche C-Chain: balanceOf plus token symbol and decimals, formatted and raw, live from public Avalanche C-Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Avalanche C-Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Avalanche C-Chain","example":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/token-info":{"get":{"operationId":"compat_avalanche_token-info","summary":"Avalanche C-Chain ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Avalanche C-Chain: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Avalanche C-Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Avalanche C-Chain","example":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/tx":{"get":{"operationId":"compat_avalanche_tx","summary":"Avalanche C-Chain transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Avalanche C-Chain: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Avalanche C-Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Avalanche C-Chain","example":"0x22cd80c17b5c6b3c884aa56b3a919ab852c0191523bf32ffa996d8f3ed565694"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/gas":{"get":{"operationId":"compat_avalanche_gas","summary":"Avalanche C-Chain gas price and fee estimate","description":"Use when an agent needs the current gas price on Avalanche C-Chain before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in AVAX.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/contract-type":{"get":{"operationId":"compat_avalanche_contract-type","summary":"Avalanche C-Chain contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Avalanche C-Chain and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Avalanche C-Chain","example":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/usdc-balance":{"get":{"operationId":"compat_avalanche_usdc-balance","summary":"Avalanche C-Chain native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Avalanche C-Chain - e.g. before requesting or checking a payment: balanceOf of native USDC (0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e) via public Avalanche C-Chain RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Avalanche C-Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/block-by-time":{"get":{"operationId":"compat_avalanche_block-by-time","summary":"Avalanche C-Chain block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Avalanche C-Chain (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606234"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/avalanche/usdc-transfers":{"get":{"operationId":"compat_avalanche_usdc-transfers","summary":"Avalanche C-Chain recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Avalanche C-Chain - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Avalanche C-Chain wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/balance":{"get":{"operationId":"compat_linea_balance","summary":"Linea native balance and nonce of an address","description":"Use when an agent needs the native ETH balance and transaction count (nonce) of an address on Linea: one fast call, live from public Linea RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Linea address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/erc20-balance":{"get":{"operationId":"compat_linea_erc20-balance","summary":"Linea ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Linea: balanceOf plus token symbol and decimals, formatted and raw, live from public Linea RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Linea wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Linea","example":"0x176211869ca2b568f2a7d4ee941e073a821ee1ff"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/token-info":{"get":{"operationId":"compat_linea_token-info","summary":"Linea ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Linea: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Linea RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Linea","example":"0x176211869ca2b568f2a7d4ee941e073a821ee1ff"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/tx":{"get":{"operationId":"compat_linea_tx","summary":"Linea transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Linea: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Linea RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Linea","example":"0x5ae88469466729e09ede61e9b62d978dcc71659db5b3e86875052569d91f4a69"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/gas":{"get":{"operationId":"compat_linea_gas","summary":"Linea gas price and fee estimate","description":"Use when an agent needs the current gas price on Linea before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in ETH.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/contract-type":{"get":{"operationId":"compat_linea_contract-type","summary":"Linea contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Linea and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Linea","example":"0x176211869ca2b568f2a7d4ee941e073a821ee1ff"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/usdc-balance":{"get":{"operationId":"compat_linea_usdc-balance","summary":"Linea native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Linea - e.g. before requesting or checking a payment: balanceOf of native USDC (0x176211869ca2b568f2a7d4ee941e073a821ee1ff) via public Linea RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Linea wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/block-by-time":{"get":{"operationId":"compat_linea_block-by-time","summary":"Linea block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Linea (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606237"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/linea/usdc-transfers":{"get":{"operationId":"compat_linea_usdc-transfers","summary":"Linea recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Linea - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Linea wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/balance":{"get":{"operationId":"compat_scroll_balance","summary":"Scroll native balance and nonce of an address","description":"Use when an agent needs the native ETH balance and transaction count (nonce) of an address on Scroll: one fast call, live from public Scroll RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Scroll address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/erc20-balance":{"get":{"operationId":"compat_scroll_erc20-balance","summary":"Scroll ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Scroll: balanceOf plus token symbol and decimals, formatted and raw, live from public Scroll RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Scroll wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Scroll","example":"0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/token-info":{"get":{"operationId":"compat_scroll_token-info","summary":"Scroll ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Scroll: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Scroll RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Scroll","example":"0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/tx":{"get":{"operationId":"compat_scroll_tx","summary":"Scroll transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Scroll: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Scroll RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Scroll","example":"0x67b0e8c3084aabbde007a31214fc11f36010e67b0d55b1e5e9a0e51152e7728f"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/gas":{"get":{"operationId":"compat_scroll_gas","summary":"Scroll gas price and fee estimate","description":"Use when an agent needs the current gas price on Scroll before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in ETH.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/contract-type":{"get":{"operationId":"compat_scroll_contract-type","summary":"Scroll contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Scroll and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Scroll","example":"0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/usdc-balance":{"get":{"operationId":"compat_scroll_usdc-balance","summary":"Scroll native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Scroll - e.g. before requesting or checking a payment: balanceOf of native USDC (0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4) via public Scroll RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Scroll wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/block-by-time":{"get":{"operationId":"compat_scroll_block-by-time","summary":"Scroll block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Scroll (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606232"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/scroll/usdc-transfers":{"get":{"operationId":"compat_scroll_usdc-transfers","summary":"Scroll recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Scroll - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Scroll wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/balance":{"get":{"operationId":"compat_zksync_balance","summary":"zkSync Era native balance and nonce of an address","description":"Use when an agent needs the native ETH balance and transaction count (nonce) of an address on zkSync Era: one fast call, live from public zkSync Era RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"zkSync Era address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/erc20-balance":{"get":{"operationId":"compat_zksync_erc20-balance","summary":"zkSync Era ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on zkSync Era: balanceOf plus token symbol and decimals, formatted and raw, live from public zkSync Era RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"zkSync Era wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on zkSync Era","example":"0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/token-info":{"get":{"operationId":"compat_zksync_token-info","summary":"zkSync Era ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on zkSync Era: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public zkSync Era RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on zkSync Era","example":"0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/tx":{"get":{"operationId":"compat_zksync_tx","summary":"zkSync Era transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on zkSync Era: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public zkSync Era RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on zkSync Era","example":"0x771783ab02b526f979cc8d18f0d6e258ecdf0606fac03321a5818a35c6a9f308"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/gas":{"get":{"operationId":"compat_zksync_gas","summary":"zkSync Era gas price and fee estimate","description":"Use when an agent needs the current gas price on zkSync Era before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in ETH.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/contract-type":{"get":{"operationId":"compat_zksync_contract-type","summary":"zkSync Era contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on zkSync Era and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on zkSync Era","example":"0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/usdc-balance":{"get":{"operationId":"compat_zksync_usdc-balance","summary":"zkSync Era native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on zkSync Era - e.g. before requesting or checking a payment: balanceOf of native USDC (0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4) via public zkSync Era RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"zkSync Era wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/block-by-time":{"get":{"operationId":"compat_zksync_block-by-time","summary":"zkSync Era block number at a date/time","description":"Use when an agent must map a unix time or date to a block on zkSync Era (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606233"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/zksync/usdc-transfers":{"get":{"operationId":"compat_zksync_usdc-transfers","summary":"zkSync Era recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on zkSync Era - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~30 min), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"zkSync Era wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/balance":{"get":{"operationId":"compat_gnosis_balance","summary":"Gnosis native balance and nonce of an address","description":"Use when an agent needs the native xDAI balance and transaction count (nonce) of an address on Gnosis: one fast call, live from public Gnosis RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Gnosis address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/erc20-balance":{"get":{"operationId":"compat_gnosis_erc20-balance","summary":"Gnosis ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Gnosis: balanceOf plus token symbol and decimals, formatted and raw, live from public Gnosis RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Gnosis wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Gnosis","example":"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/token-info":{"get":{"operationId":"compat_gnosis_token-info","summary":"Gnosis ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Gnosis: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Gnosis RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Gnosis","example":"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/tx":{"get":{"operationId":"compat_gnosis_tx","summary":"Gnosis transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Gnosis: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Gnosis RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Gnosis","example":"0xd2ffa1d745955519a9155e7a76441dc59a7eb17a5fdf2f376d62c6fbb0029bad"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/gas":{"get":{"operationId":"compat_gnosis_gas","summary":"Gnosis gas price and fee estimate","description":"Use when an agent needs the current gas price on Gnosis before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in xDAI.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/contract-type":{"get":{"operationId":"compat_gnosis_contract-type","summary":"Gnosis contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Gnosis and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Gnosis","example":"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/usdc-balance":{"get":{"operationId":"compat_gnosis_usdc-balance","summary":"Gnosis native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Gnosis - e.g. before requesting or checking a payment: balanceOf of native USDC (0xddafbb505ad214d7b80b1f830fccc89b60fb7a83) via public Gnosis RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Gnosis wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/block-by-time":{"get":{"operationId":"compat_gnosis_block-by-time","summary":"Gnosis block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Gnosis (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606240"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gnosis/usdc-transfers":{"get":{"operationId":"compat_gnosis_usdc-transfers","summary":"Gnosis recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Gnosis - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Gnosis wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/balance":{"get":{"operationId":"compat_celo_balance","summary":"Celo native balance and nonce of an address","description":"Use when an agent needs the native CELO balance and transaction count (nonce) of an address on Celo: one fast call, live from public Celo RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Celo address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/erc20-balance":{"get":{"operationId":"compat_celo_erc20-balance","summary":"Celo ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Celo: balanceOf plus token symbol and decimals, formatted and raw, live from public Celo RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Celo wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Celo","example":"0xceba9300f2b948710d2653dd7b07f33a8b32118c"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/token-info":{"get":{"operationId":"compat_celo_token-info","summary":"Celo ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Celo: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Celo RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Celo","example":"0xceba9300f2b948710d2653dd7b07f33a8b32118c"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/tx":{"get":{"operationId":"compat_celo_tx","summary":"Celo transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Celo: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Celo RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Celo","example":"0xad63e9751d9754bc4b1c93c2434df7745509c92c2013024f344fa4b2350656d3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/gas":{"get":{"operationId":"compat_celo_gas","summary":"Celo gas price and fee estimate","description":"Use when an agent needs the current gas price on Celo before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in CELO.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/contract-type":{"get":{"operationId":"compat_celo_contract-type","summary":"Celo contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Celo and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Celo","example":"0xceba9300f2b948710d2653dd7b07f33a8b32118c"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/usdc-balance":{"get":{"operationId":"compat_celo_usdc-balance","summary":"Celo native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Celo - e.g. before requesting or checking a payment: balanceOf of native USDC (0xceba9300f2b948710d2653dd7b07f33a8b32118c) via public Celo RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Celo wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/block-by-time":{"get":{"operationId":"compat_celo_block-by-time","summary":"Celo block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Celo (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606240"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/celo/usdc-transfers":{"get":{"operationId":"compat_celo_usdc-transfers","summary":"Celo recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Celo - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~30 min), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Celo wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/balance":{"get":{"operationId":"compat_polygon_balance","summary":"Polygon native balance and nonce of an address","description":"Use when an agent needs the native POL balance and transaction count (nonce) of an address on Polygon: one fast call, live from public Polygon RPC, plus whether the address is a contract.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Polygon address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/erc20-balance":{"get":{"operationId":"compat_polygon_erc20-balance","summary":"Polygon ERC-20 token balance of a wallet","description":"Use when an agent needs how many units of one ERC-20 token a wallet holds on Polygon: balanceOf plus token symbol and decimals, formatted and raw, live from public Polygon RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Polygon wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token contract on Polygon","example":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/token-info":{"get":{"operationId":"compat_polygon_token-info","summary":"Polygon ERC-20 token metadata: name, symbol, decimals, total supply","description":"Use when an agent meets an unknown token contract on Polygon: name, symbol, decimals and total supply (raw and formatted), read live from the contract via public Polygon RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract on Polygon","example":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/tx":{"get":{"operationId":"compat_polygon_tx","summary":"Polygon transaction by hash: details and receipt (status, gas, logs)","description":"Use when an agent must confirm a payment or check a transaction on Polygon: from, to, value, input selector, block, status, gas used, effective gas price, fee and log count for a transaction hash, via public Polygon RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash on Polygon","example":"0x87e5f8faacff521a64f4c13af11bd9a4eb83c68a96c4e7e40845666f964eb78d"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/gas":{"get":{"operationId":"compat_polygon_gas","summary":"Polygon gas price and fee estimate","description":"Use when an agent needs the current gas price on Polygon before sending or quoting a transaction: gas price, base fee and median priority fee of recent blocks (where the chain supports EIP-1559) and the cost of a plain transfer in POL.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/contract-type":{"get":{"operationId":"compat_polygon_contract-type","summary":"Polygon contract type: ERC-20 / ERC-721 / ERC-1155 detection and proxy check","description":"Use when an agent gets an unknown address on Polygon and must decide how to talk to it: is it a contract, which standards it supports (ERC-165 for ERC-721/1155, ERC-20 heuristics) and whether it is an EIP-1967 proxy with implementation address.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address on Polygon","example":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/usdc-balance":{"get":{"operationId":"compat_polygon_usdc-balance","summary":"Polygon native USDC balance of an address","description":"Use when an agent only needs the USDC balance of a wallet on Polygon - e.g. before requesting or checking a payment: balanceOf of native USDC (0x3c499c542cef5e3811e1192ce70d8cc03d5c3359) via public Polygon RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Polygon wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/block-by-time":{"get":{"operationId":"compat_polygon_block-by-time","summary":"Polygon block number at a date/time","description":"Use when an agent must map a unix time or date to a block on Polygon (to read state or logs at that moment): returns the last block at or before the time, with its timestamp, found by estimate plus binary search over block headers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"timestamp","in":"query","required":true,"schema":{"type":"string"},"description":"unix time in seconds","example":"1792606231"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/polygon/usdc-transfers":{"get":{"operationId":"compat_polygon_usdc-transfers","summary":"Polygon recent USDC transfers of a wallet (in and out)","description":"Use when an agent wants to see recent USDC payments to or from a wallet on Polygon - e.g. to confirm it received a payment: USDC Transfer events in and out over the recent block window (~1 h), newest first, max 50.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Polygon wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/verify-payment":{"get":{"operationId":"compat__api_x402_verify-payment","summary":"Verify a USDC payment: did tx X pay at least Y USDC to address Z on chain C?","description":"Use when a buyer or seller agent must prove a payment: checks the receipt of a transaction on one of 12 EVM chains for a successful USDC Transfer to the given payTo address, compares the amount with the expected one and returns paid yes/no, amount, payer, block and confirmations. Never moves funds.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"tx","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0xb306a13a4081875e7b46c53f4a84d2ca0f968604a7954cb7e01639c3c3f80764"},{"name":"pay_to","in":"query","required":true,"schema":{"type":"string"},"description":"expected recipient address","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"amount","in":"query","required":false,"schema":{"type":"string"},"description":"expected minimum USDC amount, e.g. 0.003 (optional)","example":"0.003"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"base (default) or another of the 12 EVM chains","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/facilitators":{"get":{"operationId":"compat__api_x402_facilitators","summary":"x402 facilitator status: reachable?, latency and supported networks/schemes of the major facilitators","description":"Use when an agent or seller must pick a working x402 facilitator or debug failed payments: probes the public /supported endpoints of Coinbase CDP, PayAI, Daydreams and x402.org now and returns reachability, HTTP status, latency in ms and the networks and schemes each one supports.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/endpoint-health":{"get":{"operationId":"compat__api_x402_endpoint-health","summary":"x402 endpoint health: 3 unpaid probes - status, valid 402 quote, latency min/median/max","description":"Use when you need to check an x402 endpoint before relying on or paying it: sends 3 unpaid probes and reports HTTP status, whether a valid x402 quote comes back, price, network and latency. Public hosts only, never pays.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"x402 endpoint URL (https)","example":"https://api.zato.org/api/chain/payto-check"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/search":{"get":{"operationId":"compat__api_x402_search","summary":"Find and price-compare paid x402 APIs: search the CDP Bazaar by keyword, sorted by price or buyers","description":"Use when an agent needs a paid API for a task and wants the cheapest or most-used provider: searches our daily snapshot of the public Coinbase CDP Bazaar (x402 resources with at least 2 paying buyers in 30 days) by keyword and returns resource URL, price in USDC, 30-day paying buyers and calls. sort=price or buyers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words, e.g. \"weather\" or \"token balance\"","example":"token balance"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"price (default) or buyers","example":"price"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/usdc-since":{"get":{"operationId":"compat_usdc-since","summary":"New USDC transfers to/from an address since a block (polling cursor), on 12 EVM chains","description":"Use when an agent polls for incoming or outgoing USDC payments without a webhook: returns USDC transfers of the address from from_block (max the chain window per call) and a next_cursor to pass as from_block next time. Base (default) or another of 12 EVM chains.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"from_block","in":"query","required":false,"schema":{"type":"string"},"description":"start block (omit = recent window)"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"base (default) or another EVM chain","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/batch-usdc-balance":{"get":{"operationId":"compat_batch-usdc-balance","summary":"USDC balance of up to 50 addresses on one chain in one call","description":"Use when an agent checks many wallets at once - payees, treasury or customer deposit addresses: native USDC balance of up to 50 addresses on Base (default) or another of 12 EVM chains, plus the total. $0.005 per call instead of $0.001 each.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses, max 50","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"base (default) or another EVM chain","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/find-tx":{"get":{"operationId":"compat_find-tx","summary":"Which chain is this transaction on? Looks up a tx hash on 12 EVM chains at once","description":"Use when an agent gets a transaction hash without the chain: queries the hash on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche, Linea, Scroll, zkSync, Gnosis and Celo in parallel and returns where it exists with status, block, from and to.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0x7c64d56ae0624e859b602233fb2f07baf833ebd054469cbce2189e1af0b2ca08"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/find-contract":{"get":{"operationId":"compat_find-contract","summary":"On which chains does this address have contract code? Checks 12 EVM chains at once","description":"Use when an agent has a contract address but not the chain, or wants to know where the same address is deployed: checks eth_getCode on 12 EVM chains in parallel and returns the chains with code, code size and ERC-20 symbol if any.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0x4200000000000000000000000000000000000006"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-report":{"get":{"operationId":"compat_token-report","summary":"Token due diligence in one call: risk facts, contract provenance, owner sanctions check, deployments on other chains","description":"Use when an agent must decide about an unknown ERC-20 (accept, hold or list it): one call combines token-risk facts (proxy, owner, mint/pause/blacklist functions), contract provenance where available (verified, creator), an OFAC check of the owner and on which of 12 chains the same address has code. Facts only, no score.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token contract","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"base (default) or ethereum","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/decode-tx":{"get":{"operationId":"compat_decode-tx","summary":"Explain a transaction: decoded function call, arguments and token transfers in plain fields (12 EVM chains)","description":"Use when an agent must understand what a transaction did before trusting or acting on it: resolves the function selector via public signature databases, decodes static arguments, and lists status, fee and every ERC-20 Transfer in the receipt with token symbol and amount. Ethereum (default) or 11 more EVM chains.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0xb306a13a4081875e7b46c53f4a84d2ca0f968604a7954cb7e01639c3c3f80764"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or another EVM chain","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/selector":{"get":{"operationId":"compat_selector","summary":"Function or event selector lookup: 0xa9059cbb -> transfer(address,uint256)","description":"Use when an agent sees a 4-byte function selector or 32-byte event topic and needs the human-readable signature: looks it up in the public openchain.xyz signature database (4byte.directory fallback) and returns all known matching signatures.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"selector","in":"query","required":true,"schema":{"type":"string"},"description":"4-byte function selector or 32-byte event topic","example":"0xa9059cbb"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/contract-abi":{"get":{"operationId":"compat_contract-abi","summary":"Verified contract ABI with function and event list (Ethereum, zkSync, Celo)","description":"Use when an agent needs to call or decode a verified contract and wants its ABI: returns the verified ABI from the public Blockscout explorer plus a compact list of read functions, write functions and events with selectors. Ethereum (default), zkSync Era or Celo.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"verified contract address","example":"0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), zksync or celo","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/crypto/fear-greed":{"get":{"operationId":"compat__api_crypto_fear-greed","summary":"Crypto Fear & Greed Index: today, yesterday and 7/30-day history","description":"Use when an agent wants a quick read of overall crypto market sentiment before trading, reporting or timing: the Crypto Fear & Greed Index (0 = extreme fear, 100 = extreme greed) for today with classification, plus the last 30 days and simple averages. Data: alternative.me.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/chainlink":{"get":{"operationId":"compat__api_price_chainlink","summary":"On-chain oracle price from Chainlink: ETH, BTC, BNB, AVAX, MATIC, USDC, USDT, DAI, EURC in USD","description":"Use when an agent needs a verifiable, manipulation-resistant reference price (for settlement, valuation or checks) instead of an exchange quote: latest Chainlink price feed answer on Ethereum mainnet with update time and feed address. Pairs: ETH, BTC, BNB, AVAX, MATIC, USDC, USDT, DAI, EURC vs USD; or all.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"pair","in":"query","required":false,"schema":{"type":"string"},"description":"e.g. ETH/USD, BTC/USD or all","example":"ETH/USD"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/crypto/stablecoin-peg":{"get":{"operationId":"compat__api_crypto_stablecoin-peg","summary":"Stablecoin peg check: USDC, USDT, DAI vs 1 USD and EURC vs the ECB euro rate, in basis points","description":"Use when an agent accepts, holds or settles in a stablecoin: Chainlink prices of USDC, USDT and DAI versus 1 USD and EURC versus the ECB EUR/USD rate, with deviation in basis points and an on-peg flag (within 50 bps).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/whale-transfers":{"get":{"operationId":"compat_whale-transfers","summary":"Large USDC transfers right now: the biggest USDC moves in the last blocks on 12 EVM chains","description":"Use when an agent watches for large money moves (whale activity) on a chain: scans the latest blocks for native USDC transfers at or above a USD threshold (default 100,000) and returns the largest ones with sender, receiver, amount, block and tx. Base (default) or another of 12 EVM chains.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"base (default) or another EVM chain","example":"ethereum"},{"name":"min_usd","in":"query","required":false,"schema":{"type":"string"},"description":"minimum USDC amount (default 100000)","example":"100000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/ip":{"get":{"operationId":"compat__api_ip","summary":"IP address network owner: registry, network name, organisation, country, CIDR, reverse DNS (RDAP)","description":"Use when an agent needs to know which network or organisation an IP address belongs to (hosting provider, cloud, ISP) - e.g. for allow-lists or abuse triage: RDAP registry data (network name, holder organisation, country, CIDR range, registry) and the reverse DNS name. No geolocation of persons.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"ip","in":"query","required":true,"schema":{"type":"string"},"description":"IPv4 or IPv6 address","example":"8.8.8.8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/cheapest-chain":{"get":{"operationId":"compat_cheapest-chain","summary":"Cheapest chain to send USDC right now: transfer cost in USD on 12 EVM chains, sorted","description":"Use when an agent can choose the chain for a payment or transfer and wants the cheapest one now: estimates the cost of a USDC transfer (65,000 gas) on 12 EVM chains from current gas prices, converts it to USD with Chainlink prices of the native coins, and returns the ranking (L1 data fees of rollups not included).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/rates/us-treasury":{"get":{"operationId":"compat__api_rates_us-treasury","summary":"US Treasury daily par yield curve: 1 month to 30 years, latest day and change vs previous day","description":"Use when an agent needs current US interest rates (risk-free yields) for valuation, comparison with on-chain yields or reporting: the official daily Treasury par yield curve (1, 2, 3, 6 months; 1, 2, 5, 10, 20, 30 years and more) for the latest business day with the change in basis points vs the previous day. Source: U.S. Department of the Treasury (public domain).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/ai-policy":{"get":{"operationId":"compat__api_ai-policy","summary":"AI crawler policy of a website: robots.txt rules for GPTBot, ClaudeBot, Google-Extended, PerplexityBot and more","description":"Use before an agent crawls, summarises or trains on a website: it reads robots.txt and ai.txt/llms.txt and reports, for 14 AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot), whether the root is allowed, partly or fully blocked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain, e.g. nytimes.com","example":"nytimes.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/mcp-check":{"get":{"operationId":"compat__api_mcp-check","summary":"Check an MCP server: initialize handshake, protocol version, tool count, x402 payment support","description":"Use when an agent is about to connect to an unknown remote MCP server over Streamable HTTP: performs the initialize and tools/list handshake and reports reachability, server name and version, protocol version, tool count and whether tools look x402-paid. Public hosts only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"MCP endpoint URL (https)","example":"https://api.zato.org/mcp"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/openapi-check":{"get":{"operationId":"compat__api_openapi-check","summary":"OpenAPI document check: version, title, paths and operations count, servers, schema problems","description":"Use when an agent is about to integrate an API from its OpenAPI/Swagger document: fetches the JSON spec, reports version, title, servers, number of paths and operations, operations without operationId, summary or responses, and broken $ref targets inside the document. JSON specs only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"URL of an OpenAPI JSON document","example":"https://api.zato.org/openapi.json"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/manifest-check":{"get":{"operationId":"compat__api_x402_manifest-check","summary":"x402 discovery manifest check: /.well-known/x402 of a domain, resources listed and how many answer with a valid 402","description":"Use when an agent or seller wants to know if a domain is set up correctly for x402 discovery: reads /.well-known/x402 (or x402.json), counts listed resources and probes up to 10 of them without paying for a valid x402 payment quote, reporting price, network and problems.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"seller domain","example":"api.zato.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/agent-readiness":{"get":{"operationId":"compat__api_agent-readiness","summary":"Agent readiness of a domain: llms.txt, AI robots policy, OpenAPI, MCP endpoint, x402 manifest in one call","description":"Use when an agent or site owner wants to know how usable a domain is for AI agents: checks /llms.txt, robots.txt rules for AI crawlers, common OpenAPI locations, an MCP endpoint at /mcp and the x402 discovery manifest, and returns found/missing per item with a simple 0-5 count.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain","example":"api.zato.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/url-unshorten":{"get":{"operationId":"compat__api_url-unshorten","summary":"Unshorten a URL: full redirect chain with status codes and final destination","description":"Use when an agent is about to follow or share a short or tracking link: follows the redirect chain (max 10 hops, HEAD then GET, public hosts only) and returns every hop with status code, the final URL and its host, without loading page content.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"URL to expand","example":"http://github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/http-check":{"get":{"operationId":"compat__api_http-check","summary":"HTTP check of a URL: status, response time, redirects, content type, size, server, TLS","description":"Use when an agent needs to know if a web page or API is up right now: one request (redirects followed, public hosts only) with final status code, total response time in ms, final URL, content type and length, server header and whether HTTPS was used.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"URL","example":"https://example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns-propagation":{"get":{"operationId":"compat__api_dns-propagation","summary":"DNS propagation check: one record type queried at 6 public resolvers, consistent or not","description":"Use after a DNS change or before trusting a domain setup: queries one record type (A, AAAA, MX, TXT, NS, CNAME) at six public resolvers and reports each answer and whether all resolvers agree.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain","example":"example.com"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"A (default), AAAA, MX, TXT, NS or CNAME","example":"A"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/domain-available":{"get":{"operationId":"compat__api_domain-available","summary":"Is a domain name available? RDAP registry lookup plus DNS check","description":"Use when an agent brainstorms or checks a domain name: asks the registry via RDAP whether the domain is registered (with registrar and expiry if taken) and checks DNS; returns available / taken / unknown. Not a registration and no price quote.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name, e.g. my-new-brand.com","example":"example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/asn":{"get":{"operationId":"compat__api_asn","summary":"Autonomous system (ASN) lookup: holder organisation, name, country, registry (RDAP)","description":"Use when an agent sees an AS number (e.g. from an IP lookup or traffic logs) and needs to know which network operator it is: RDAP data for the ASN - name, holder organisation, country, registration date and registry.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"asn","in":"query","required":true,"schema":{"type":"string"},"description":"AS number, e.g. 15169 or AS15169","example":"AS15169"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/earthquakes":{"get":{"operationId":"compat__api_earthquakes","summary":"Recent earthquakes worldwide or near a point (USGS), filtered by magnitude","description":"Use when an agent needs current seismic events - for travel, logistics, insurance or news: earthquakes of the last day (or 7 days) from the USGS feed, filtered by minimum magnitude and optionally by distance from a latitude/longitude. Data: U.S. Geological Survey (public domain).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"min_magnitude","in":"query","required":false,"schema":{"type":"string"},"description":"minimum magnitude (default 4.5)","example":"4.5"},{"name":"period","in":"query","required":false,"schema":{"type":"string"},"description":"day (default) or week"},{"name":"lat","in":"query","required":false,"schema":{"type":"string"},"description":"optional latitude"},{"name":"lon","in":"query","required":false,"schema":{"type":"string"},"description":"optional longitude"},{"name":"radius_km","in":"query","required":false,"schema":{"type":"string"},"description":"radius in km when lat/lon given (default 1000)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/sun":{"get":{"operationId":"compat__api_sun","summary":"Sunrise, sunset, solar noon, civil twilight and day length for a place and date","description":"Use when an agent plans outdoor work, photography, solar output or delivery windows: sunrise, sunset, solar noon, civil dawn/dusk (UTC) and day length for a latitude/longitude and date, computed with the NOAA solar position approximation (accurate to about a minute).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"string"},"description":"latitude","example":"52.52"},{"name":"lon","in":"query","required":true,"schema":{"type":"string"},"description":"longitude","example":"13.405"},{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"YYYY-MM-DD (default today, UTC)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/moon":{"get":{"operationId":"compat__api_moon","summary":"Moon phase, illumination, age and next full/new moon for a date","description":"Use when an agent needs the moon phase for planning, tides context, photography or content: phase name, illuminated fraction, moon age in days and the dates of the next new and full moon for a date (default today), computed from the mean synodic month.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"YYYY-MM-DD (default today)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/country":{"get":{"operationId":"compat__api_country","summary":"Country facts: name, ISO codes, capital, region, income group, coordinates, population and GDP (World Bank)","description":"Use when an agent needs reference data about a country (forms, shipping, market sizing, compliance): name, ISO2/ISO3, capital, region, income group, lending type, capital coordinates and the latest population and GDP (current US$) with year. Data: World Bank Open Data (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string"},"description":"ISO alpha-2 or alpha-3 code","example":"DE"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/iban-validate":{"get":{"operationId":"compat__api_iban-validate","summary":"IBAN validation: country, length and ISO 7064 mod-97 checksum (format check only)","description":"Use when an agent is about to store or send to a bank account number, to catch typos: validates an IBAN offline (country code, expected length for the country, ISO 7064 mod-97 checksum) and returns the normalised and grouped form. Format check only, stores nothing.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"iban","in":"query","required":true,"schema":{"type":"string"},"description":"IBAN","example":"DE89370400440532013000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/vat-validate":{"get":{"operationId":"compat__api_vat-validate","summary":"EU VAT number check via the official VIES service: valid or not","description":"Use when an agent handles B2B invoicing or onboarding in the EU and must check a VAT ID: asks the European Commission VIES service whether the number is currently valid for intra-EU trade and returns valid yes/no with the request date. Name and address are not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"vat","in":"query","required":true,"schema":{"type":"string"},"description":"VAT number with country prefix, e.g. DE123456789","example":"IE6388047V"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/book":{"get":{"operationId":"compat__api_book","summary":"Book lookup by ISBN: title, authors, publisher, year, pages, subjects, cover (Open Library)","description":"Use when an agent needs bibliographic data for a book (citations, shopping, cataloguing): looks up an ISBN-10 or ISBN-13 in Open Library and returns title, subtitle, authors, publishers, publish date, page count, subjects and a cover image URL.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"isbn","in":"query","required":true,"schema":{"type":"string"},"description":"ISBN-10 or ISBN-13","example":"9780140328721"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/wikipedia":{"get":{"operationId":"compat__api_wikipedia","summary":"Wikipedia page summary: title, short description, extract, thumbnail and URL (any language)","description":"Use when an agent needs a short, citable summary of a topic, place, company or concept: Wikipedia REST summary for a title in the chosen language - description, plain-text extract, thumbnail and page URL. Content CC BY-SA; attribute Wikipedia.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"title","in":"query","required":true,"schema":{"type":"string"},"description":"page title","example":"Ethereum"},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"language code (default en)","example":"en"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/arxiv":{"get":{"operationId":"compat__api_arxiv","summary":"Search arXiv papers: title, authors, abstract, categories, dates, PDF link","description":"Use when an agent researches a scientific or technical topic: searches arXiv and returns up to 10 papers (newest or most relevant) with title, authors, abstract, primary category, published/updated dates and PDF link. Metadata from the arXiv API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"zero knowledge proofs"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"relevance (default) or newest"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/doi":{"get":{"operationId":"compat__api_doi","summary":"DOI lookup: title, authors, journal, year, publisher, type, references count and formatted citation","description":"Use when an agent must verify or cite a publication: resolves a DOI via Crossref and returns title, authors, container (journal/book), publisher, issued date, type, citation counts and a ready APA-style citation string.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"doi","in":"query","required":true,"schema":{"type":"string"},"description":"DOI, e.g. 10.1038/nature14539","example":"10.1038/nature14539"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pubmed":{"get":{"operationId":"compat__api_pubmed","summary":"Search PubMed: matching articles with title, journal, date, authors and PubMed link","description":"Use when an agent researches a medical or life-science topic: searches PubMed (NCBI E-utilities) and returns up to 10 articles with PMID, title, journal, publication date, first authors and link. Bibliographic metadata only, no medical advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"GLP-1 obesity trial"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/clinical-trials":{"get":{"operationId":"compat__api_clinical-trials","summary":"Search ClinicalTrials.gov: studies with status, phase, conditions, sponsor and dates","description":"Use when an agent needs current clinical studies on a condition or intervention: searches ClinicalTrials.gov (API v2) and returns up to 10 studies with NCT ID, title, overall status, phase, conditions, interventions, lead sponsor, start and completion dates. Registry data only, no medical advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"condition or intervention","example":"type 2 diabetes"},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"optional: RECRUITING, COMPLETED ..."}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/package-vulns":{"get":{"operationId":"compat__api_package-vulns","summary":"Known vulnerabilities of a package version (npm, PyPI, Go, Maven, crates.io ...) from OSV.dev","description":"Use when an agent is about to install or ship a dependency: queries the open OSV.dev database for a package name and version in one ecosystem (npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet, Packagist) and returns known advisories with IDs, CVE aliases, summary, severity and fixed versions.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"ecosystem","in":"query","required":true,"schema":{"type":"string"},"description":"npm, PyPI, Go, Maven, crates.io, RubyGems, NuGet or Packagist","example":"npm"},{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"package name","example":"lodash"},{"name":"version","in":"query","required":true,"schema":{"type":"string"},"description":"version","example":"4.17.20"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json-validate":{"get":{"operationId":"compat__api_json-validate","summary":"Validate JSON data against a JSON Schema (common keywords), list every error with its path","description":"Use when an agent must check that data it produced or received matches a contract before using it: validates a JSON document against a JSON Schema (type, required, properties, additionalProperties, items, enum, const, min/max, length, pattern, email/date-time formats, allOf/anyOf/oneOf) and lists errors with JSON paths. $ref is not resolved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"data","in":"query","required":true,"schema":{"type":"string"},"description":"JSON data (URL-encoded)","example":"{\"name\":\"Ada\",\"age\":36}"},{"name":"schema","in":"query","required":true,"schema":{"type":"string"},"description":"JSON Schema (URL-encoded)","example":"{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0}}}"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text-diff":{"get":{"operationId":"compat__api_text-diff","summary":"Line-by-line diff of two texts: added, removed and unchanged lines plus a unified diff","description":"Use when an agent must see what changed between two versions of a text, config or document: line-based diff (longest common subsequence) with counts of added, removed and unchanged lines and a compact unified-diff style output. Max 2000 lines each.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string"},"description":"old text","example":"alpha\nbeta\ngamma"},{"name":"b","in":"query","required":true,"schema":{"type":"string"},"description":"new text","example":"alpha\nbeta 2\ngamma\ndelta"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/convert/csv-to-json":{"get":{"operationId":"compat__api_convert_csv-to-json","summary":"Convert CSV/TSV text to JSON objects (header row, quotes, auto delimiter, number detection)","description":"Use when an agent receives tabular text and needs structured records: parses CSV or TSV (RFC 4180 quotes, auto-detected delimiter , ; tab |), uses the first row as keys, optionally converts numbers and returns an array of objects. Max 1 MB / 10000 rows.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"csv","in":"query","required":true,"schema":{"type":"string"},"description":"CSV text","example":"name,age\nAda,36\nAlan,41"},{"name":"numbers","in":"query","required":false,"schema":{"type":"string"},"description":"true (default) converts numeric fields"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/convert/json-to-csv":{"get":{"operationId":"compat__api_convert_json-to-csv","summary":"Convert a JSON array of objects to CSV (union of keys as header, proper quoting)","description":"Use when an agent must hand records to a spreadsheet or another tool that expects CSV: converts a JSON array of flat objects into RFC 4180 CSV, using the union of all keys as header, quoting values with commas, quotes or newlines and JSON-encoding nested values.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"},"description":"JSON array of objects","example":"[{\"name\":\"Ada\",\"age\":36},{\"name\":\"Alan\",\"age\":41}]"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/convert/markdown-to-html":{"get":{"operationId":"compat__api_convert_markdown-to-html","summary":"Convert Markdown to safe HTML (headings, lists, code, links, emphasis, quotes)","description":"Use when an agent writes Markdown but must deliver HTML (emails, CMS, web pages): converts common Markdown (headings, paragraphs, ordered/unordered lists, fenced code, inline code, bold, italic, links, blockquotes, horizontal rules) to HTML with all raw HTML escaped. Max 200 KB.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"markdown","in":"query","required":true,"schema":{"type":"string"},"description":"Markdown text","example":"# Title\n\nSome **bold** text and a [link](https://example.com).\n\n- one\n- two"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/encode":{"get":{"operationId":"compat__api_encode","summary":"Encode or decode text and bytes: base64, base64url, hex, base58, URL encoding, UTF-8","description":"Use when an agent must convert data between encodings (API payloads, keys, signatures, URLs): converts input from one of utf8, hex, base64, base64url, base58 or url encoding into another and returns the result plus byte length. Pure computation, nothing stored.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"input","in":"query","required":true,"schema":{"type":"string"},"description":"input value","example":"hello world"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"utf8 (default), hex, base64, base64url, base58 or url","example":"utf8"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"hex, base64, base64url, base58, url or utf8","example":"base58"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/regex-test":{"get":{"operationId":"compat__api_regex-test","summary":"Test a regular expression: matches, groups and positions (JavaScript flavour, time-limited)","description":"Use when an agent writes or debugs a regular expression: runs a JavaScript regex with flags against a text and returns whether it matches, up to 100 matches with index, named and numbered groups. Runs in an isolated, time-limited sandbox (100 ms) to stop runaway patterns.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"pattern","in":"query","required":true,"schema":{"type":"string"},"description":"regex pattern","example":"(?<user>[a-z]+)@(?<domain>[a-z.]+)"},{"name":"flags","in":"query","required":false,"schema":{"type":"string"},"description":"flags, e.g. gi (default g)","example":"g"},{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text to test","example":"mail ada@example.com and alan@test.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/cron":{"get":{"operationId":"compat__api_cron","summary":"Explain a cron expression and list its next run times (UTC)","description":"Use when an agent schedules jobs or checks a schedule: parses a standard 5-field cron expression (minute hour day-of-month month day-of-week; ranges, lists, steps) and returns the next 10 run times in UTC plus the expanded field values.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"expr","in":"query","required":true,"schema":{"type":"string"},"description":"cron expression","example":"*/15 9-17 * * 1-5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/unit-convert":{"get":{"operationId":"compat__api_unit-convert","summary":"Convert units: length, mass, volume, area, speed, data size, energy and temperature","description":"Use when an agent must convert a quantity between units (recipes, shipping, specs, reports): converts a value between metric and imperial units of length, mass, volume, area, speed, data size, energy and temperature (C, F, K) with exact conversion factors.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"number","example":"26.2"},{"name":"from","in":"query","required":true,"schema":{"type":"string"},"description":"unit, e.g. mi","example":"mi"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"unit, e.g. km","example":"km"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/semver":{"get":{"operationId":"compat__api_semver","summary":"Semantic versions: check if a version satisfies a range (^ ~ >= x ||) and sort/compare versions","description":"Use when an agent manages dependencies or compatibility: checks whether a version satisfies an npm-style semver range (^, ~, comparators, x-ranges, ||) and, given a list, returns the versions sorted and the highest one matching the range.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"version","in":"query","required":false,"schema":{"type":"string"},"description":"version to check","example":"1.4.2"},{"name":"range","in":"query","required":true,"schema":{"type":"string"},"description":"semver range","example":"^1.2.0 || >=2.1.0 <3"},{"name":"versions","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated versions to sort and match"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/user-agent":{"get":{"operationId":"compat__api_user-agent","summary":"Parse a User-Agent string: browser, version, OS, device type and known bots/AI crawlers","description":"Use when an agent analyses traffic or must treat bots differently: parses a User-Agent header into browser and version, operating system, device type (desktop/mobile/tablet/bot) and flags known crawlers and AI agents (Googlebot, GPTBot, ClaudeBot, PerplexityBot and others).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"ua","in":"query","required":true,"schema":{"type":"string"},"description":"User-Agent string","example":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/time-overlap":{"get":{"operationId":"compat__api_time-overlap","summary":"Overlapping working hours of up to 6 time zones on a date (for meeting planning)","description":"Use when an agent schedules a meeting across regions: computes the window on a given date where local working hours (default 09:00-17:00) overlap for up to 6 IANA time zones, returned in UTC and in each local time; DST-aware.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"zones","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated IANA zones","example":"Europe/Berlin,America/New_York"},{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"YYYY-MM-DD (default today)"},{"name":"start","in":"query","required":false,"schema":{"type":"string"},"description":"local start hour (default 9)"},{"name":"end","in":"query","required":false,"schema":{"type":"string"},"description":"local end hour (default 17)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/stuck-tx":{"get":{"operationId":"compat_stuck-tx","summary":"Stuck transaction check: pending vs confirmed nonce of an address on one of 12 EVM chains","description":"Use when an agent sent a transaction that does not confirm: compares the confirmed (latest) and pending nonce of the address on Ethereum (default) or another of 12 EVM chains and reports how many transactions are waiting, plus current gas price to decide on a replacement.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"sender address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or another EVM chain","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/name-available":{"get":{"operationId":"compat_name-available","summary":"Is an ENS name or Basename available to register? (on-chain registrar check)","description":"Use when an agent wants to claim a human-readable name for a wallet: asks the ENS registrar (name.eth) or the Basenames registrar on Base (name.base.eth) on-chain whether the label is available; if taken, returns the current address record when set. Read-only, no registration.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"name.eth or name.base.eth","example":"zato-agent-test.base.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/market-stats":{"get":{"operationId":"compat__api_x402_market-stats","summary":"x402 market statistics: paying buyers, price levels, top categories and sellers, new sellers (daily Bazaar snapshot)","description":"Use when an agent or seller needs data on the x402 economy before pricing or choosing a niche: from our daily snapshot of the public Coinbase CDP Bazaar (resources with at least 2 paying buyers in 30 days) - totals, price percentiles, top categories and sellers by buyers, and sellers new since the previous snapshot. Optional category filter.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"optional word to filter resources, e.g. weather","example":"wallet"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/agent/bootstrap":{"get":{"operationId":"compat__api_agent_bootstrap","summary":"Agent starter pack: cheapest chain now, gas, facilitator status, your USDC balances and where to start","description":"Use when a new or restarting agent needs its bearings in one call: cheapest EVM chain for a USDC transfer right now, status of the major x402 facilitators, the USDC balance of its wallet on 12 chains (optional address) and the most useful endpoints with prices. Parts that fail are marked instead of failing the call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"address","in":"query","required":false,"schema":{"type":"string"},"description":"optional wallet address or ENS/Basename","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/hn-search":{"get":{"operationId":"compat__api_hn-search","summary":"Search Hacker News stories: title, link, points, comments and date","description":"Use when an agent researches what developers and founders say about a product, technology or company: searches Hacker News stories through the public Algolia API by relevance or newest first and returns up to 20 with title, link, discussion URL, points, comment count and date.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"x402 payments"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"relevance (default) or newest"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/research":{"get":{"operationId":"compat__api_research","summary":"Research a topic across Wikipedia, arXiv, Crossref and Hacker News in one call","description":"Use when an agent needs sources on a topic rather than one site: searches Wikipedia, arXiv, Crossref (journal articles with DOI) and Hacker News in parallel and returns the top hits of each with title, link, date and snippet, so it can cite them. Sources that fail are marked. No AI summary, no general web search.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic or question keywords","example":"stablecoin regulation"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/contract-report":{"get":{"operationId":"compat_contract-report","summary":"Contract report: type, verified, proxy, owner, creator, age, activity and deployments on 12 EVM chains","description":"Use when an agent must understand a smart contract before calling, approving or paying it: from one address get type (token, NFT, Safe multisig, proxy), verification, implementation and admin, owner, pause state, creator, age, transaction count and deployments on 12 EVM chains. Facts only, no safety verdict. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"contract address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain; found automatically if omitted","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/tx-report":{"get":{"operationId":"compat_tx-report","summary":"Transaction report: chain found automatically, decoded call, token transfers, USD fee and a plain summary","description":"Use when an agent needs to explain or verify a transaction from its hash alone: finds the chain among 12 EVM networks, then returns status, time, decoded function, token transfers, value and fee in USD and a one-sentence rule-based summary. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0x6bb5a2a9f3ee58391e0b045c0ee0880d3b3d64bf7319aefc18ea41f280e0b9c8"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain; found automatically if omitted","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/wallet-report":{"get":{"operationId":"compat__api_btc_wallet-report","summary":"Bitcoin wallet report: balance, transactions, first and last activity, address type and UTXO overview","description":"Use when an agent must assess a Bitcoin address in one call: balance, received and sent, transaction count, first and last activity, address type, UTXO count, largest and smallest output, dust outputs and unconfirmed funds. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Bitcoin address or ENS/Basename (vitalik.eth, name.base.eth)","example":"bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/domain-report":{"get":{"operationId":"compat__api_domain-report","summary":"Domain report: DNS, SSL, registration age, security headers, email setup and AI crawler policy","description":"Use when an agent must vet a website or domain in one call: DNS records, SSL certificate and days left, RDAP registration age and expiry, HTTP security header grade, email setup (MX, SPF, DMARC) and AI crawler policy, plus a list of concrete issues found. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"example.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/url-report":{"get":{"operationId":"compat__api_url-report","summary":"URL report: redirects, final host, domain age, SSL, headers and rule-based link warning signs","description":"Use when an agent is about to open, follow or trust a link: resolves redirects, then checks final host, domain age, SSL, security headers and structural warning signs (shortener, IP host, punycode, embedded credentials, domain change, new domain). Rule-based signals, not a malware blocklist and no safety guarantee. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"http or https URL","example":"https://example.com/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/seller-report":{"get":{"operationId":"compat__api_x402_seller-report","summary":"x402 seller report: manifest, routes and prices, health, payTo, domain age and marketplace buyers","description":"Use when an agent wants to vet an x402 seller before paying: from one domain get the x402 manifest, sampled routes and prices, endpoint health, payTo wallet facts, domain age, paying buyers in the Coinbase Bazaar snapshot and PayCheck status. Facts only, no trust score. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"seller domain","example":"api.zato.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/nft-collection-report":{"get":{"operationId":"compat_nft-collection-report","summary":"NFT collection report: name, supply, standard, owner, sample token, metadata host and royalty","description":"Use when an agent checks an NFT collection from its contract: standard (ERC-721 or ERC-1155), name, symbol, supply, contract owner, a sample token with holder and token URI, metadata storage (IPFS, Arweave, on-chain or a web host) and EIP-2981 royalty. Chain found automatically on 12 EVM networks. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"NFT contract address","example":"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain; found automatically if omitted","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/name-report":{"get":{"operationId":"compat_name-report","summary":"ENS/Basename report: address, expiry, which records are set, reverse name and wallet summary","description":"Use when an agent is given an ENS name or Basename and must know what stands behind it before paying: resolved address, expiry date and days left, resolver, which records are set, whether the reverse name matches, plus a short wallet summary (balance, tokens, transactions). Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"ENS name or Basename, e.g. ens.eth or name.base.eth","example":"ens.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/package-report":{"get":{"operationId":"compat__api_package-report","summary":"Package report for npm or PyPI: latest version, license, age, downloads, deprecation and known vulnerabilities","description":"Use when a coding agent is about to install a dependency: from an npm or PyPI package name get latest version, license, release date, dependency count, monthly downloads (npm), deprecation, repository and known vulnerabilities of the latest version from OSV.dev. Also shows a clear result when the name does not exist, which helps catch hallucinated packages. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"package name","example":"lodash"},{"name":"ecosystem","in":"query","required":false,"schema":{"type":"string"},"description":"npm (default) or pypi","example":"npm"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/cve-report":{"get":{"operationId":"compat__api_cve-report","summary":"CVE report: severity, affected products, exploit probability (EPSS), CISA known-exploited status and fixes","description":"Use when an agent must triage a vulnerability from its CVE ID: title, description, CVSS severity, CWE, affected products, EPSS exploit probability, whether CISA lists it as known exploited (with ransomware use and due date), fixed package versions from OSV and reference links. Parts that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"},"description":"CVE identifier","example":"CVE-2021-44228"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/domain-report-batch":{"get":{"operationId":"compat__api_domain-report-batch","summary":"Domain reports for up to 5 domains in one call (DNS, SSL, registration, headers, email, AI policy)","description":"Use when an agent must vet several websites or domains at once: returns the same report as /api/domain-report for each domain (up to 5, comma-separated) in one call. Each domain is reported separately; a domain that fails is marked with an error instead of failing the batch.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.012"}},"parameters":[{"name":"domains","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated domain names, max 5","example":"example.com,iana.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/approvals-risk":{"get":{"operationId":"compat__api_security_approvals-risk","summary":"Token approvals of a wallet with a risk score per spender and a revoke-first list","description":"Use when you are about to sign or pay from a wallet and need to know which token approvals are open: returns each open approval from the approvals report, a risk level and reasons per spender (up to 8 checked), and a list of the approvals to revoke first. Ethereum or Base. Rule-based facts, no guarantee. Spender checks that fail are listed under unavailable.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum or base, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/wallet-risk":{"get":{"operationId":"compat__api_security_wallet-risk","summary":"One wallet security report: sanctions status, address poisoning signals and approval risk","description":"Use when you are about to send funds to or receive from a wallet and want one security summary: combines the sanctions check, the address-poisoning check and, on Ethereum or Base, the approvals risk of the wallet into one risk level with reasons. Facts and rule-based signals only, no guarantee. Parts that fail are listed under unavailable.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/token-permissions-batch":{"get":{"operationId":"compat__api_security_token-permissions-batch","summary":"Token permission checks for up to 5 contracts in one call (owner powers, pause, mint, blacklist)","description":"Use when an agent must screen several tokens before trading or paying: returns the same report as /api/security/token-permissions for each contract (up to 5, comma-separated) in one call. Each contract is reported separately; a contract that fails is marked with an error instead of failing the batch. Rule-based facts, no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.015"}},"parameters":[{"name":"contracts","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated token contract addresses, max 5","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/spender-check-batch":{"get":{"operationId":"compat__api_security_spender-check-batch","summary":"Spender risk checks for up to 5 addresses in one call (before approving several contracts)","description":"Use when you are about to approve tokens to several contracts: returns the same report as /api/security/spender-check for each address (up to 5, comma-separated) in one call, with risk score, reasons and label. Each address is reported separately; one that fails is marked with an error instead of failing the batch. Rule-based, no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.012"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated spender addresses, max 5","example":"0x000000000022D473030F116dDEE9F6B43aC78BA3,0x1111111254EEB25477B68fb85Ed929f73A960582"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/phishing-domain-batch":{"get":{"operationId":"compat__api_security_phishing-domain-batch","summary":"Phishing and Web3 lookalike checks for up to 10 domains in one call","description":"Use when you have several links to screen before opening them or connecting a wallet: returns the same report as /api/security/phishing-domain for each domain (up to 10, comma-separated) in one call. Checks open phishing lists, Web3 brand lookalikes and punycode, plus domain age and SSL. Each domain is reported separately; one that fails is marked with an error instead of failing the batch. A clean result is no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.008"}},"parameters":[{"name":"domains","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated domains, max 10","example":"uniswap.org,metamask.io"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/erc20-balances":{"get":{"operationId":"compat_erc20-balances","summary":"ERC-20 balances of one wallet for up to 20 tokens in one call","description":"Use when you need several token balances for one wallet: returns balanceOf for each token contract (up to 20, comma-separated) via eth_call on the chosen network, with symbol and decimals where readable. Each token is reported separately; one that fails is marked with an error instead of failing the batch. Read-only, no keys needed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address 0x...","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"tokens","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated ERC-20 contract addresses, max 20","example":"0xdac17f958d2ee523a2206206994597c13d831ec7,0x6B175474E89094C44Da98b954EedeAC495271d0F"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum or base, default base","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/cve-report-batch":{"get":{"operationId":"compat__api_cve-report-batch","summary":"CVE reports for up to 10 CVE IDs in one call (severity, EPSS, CISA KEV, fixed versions)","description":"Use when an agent must triage several vulnerabilities at once: returns the same report as /api/cve-report for each CVE ID (up to 10, comma-separated) in one call. Each ID is reported separately; an ID that fails is marked with an error instead of failing the batch.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.015"}},"parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated CVE IDs, max 10","example":"CVE-2021-44228,CVE-2014-0160"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/company/lei":{"get":{"operationId":"compat__api_company_lei","summary":"Company lookup by name or LEI: legal name, jurisdiction, legal form, status and country (GLEIF)","description":"Use when an agent must identify a company or counterparty: search by legal name or 20-character LEI in the open GLEIF register and get legal name, LEI, jurisdiction, legal form, entity status, registration status, city and country. Companies only: sole proprietors are excluded.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"company name or LEI","example":"Coinbase"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fda/recalls":{"get":{"operationId":"compat__api_fda_recalls","summary":"US FDA recalls for drugs, food or devices: class, status, firm, product and reason","description":"Use when an agent checks whether a product was recalled in the US: searches FDA enforcement reports for drugs, food or medical devices by product words and returns newest recalls with class, status, recalling company, product, reason and date. Public data, not medical advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"product words","example":"ibuprofen"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"drug (default), food or device","example":"drug"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/protocol":{"get":{"operationId":"compat__api_defi_protocol","summary":"DeFi protocol report: TVL, 1d and 7d change, category, chains, audits and rank","description":"Use when an agent evaluates a DeFi protocol before using or researching it: from a name or slug get total value locked, its global rank, 1-day and 7-day change, category, supported chains, audit count and website, from the public DefiLlama API, refreshed hourly.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"protocol","in":"query","required":true,"schema":{"type":"string"},"description":"protocol name or slug","example":"aave"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/chains":{"get":{"operationId":"compat__api_defi_chains","summary":"Blockchains ranked by DeFi TVL, with token and chain id","description":"Use when an agent compares blockchains by DeFi activity or chooses where to deploy: returns chains ranked by total value locked with share of the total, native token and chain id, from the public DefiLlama API, refreshed hourly.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 15","example":"15"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/yields":{"get":{"operationId":"compat__api_defi_yields","summary":"DeFi yields: top pools by TVL or APY with chain, project, base and reward APY","description":"Use when an agent looks for yield data on a token or chain: filters DeFi pools with at least $1M TVL by chain, token or stablecoin-only and returns the top pools by TVL or APY with project, base and reward APY and impermanent-loss flag, from DefiLlama, refreshed hourly. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain, e.g. Base","example":"Base"},{"name":"token","in":"query","required":false,"schema":{"type":"string"},"description":"optional token symbol, e.g. USDC","example":"USDC"},{"name":"stable","in":"query","required":false,"schema":{"type":"string"},"description":"true for stablecoin pools only"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"tvl (default) or apy"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/stablecoins":{"get":{"operationId":"compat__api_defi_stablecoins","summary":"Stablecoin market: circulating supply, 7-day change, peg type, price and chain count","description":"Use when an agent needs stablecoin market data: top stablecoins or one symbol with circulating supply, market share, 7-day supply change, peg mechanism, current price and number of chains, from the public DefiLlama API, refreshed hourly.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string"},"description":"optional symbol, e.g. USDC","example":"USDC"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/email-security":{"get":{"operationId":"compat__api_email-security","summary":"Email security report: MX, SPF with lookup count, DMARC, MTA-STS, TLS-RPT, BIMI and issues","description":"Use when an agent checks whether a domain can be trusted as an email sender or is protected from spoofing: reads MX, SPF (with DNS lookup count against the limit of 10), DMARC policy, MTA-STS, TLS reporting, BIMI and DNSSEC status and lists concrete issues. Public DNS only, no mail is sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"cloudflare.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dnssec":{"get":{"operationId":"compat__api_dnssec","summary":"DNSSEC check: signed or not, DS and DNSKEY records, algorithms and validation status","description":"Use when an agent verifies whether a domain is protected against DNS spoofing: checks DS and DNSKEY records, signing algorithms, key count and whether a validating resolver authenticates the answer. Public DNS only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"cloudflare.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/seo-report":{"get":{"operationId":"compat__api_seo-report","summary":"On-page SEO report: title, description, headings, canonical, social tags, images and issues","description":"Use when an agent audits a web page for search visibility: fetches one public URL (robots.txt respected) and reports title and description length, H1 and H2 counts, canonical, language, robots meta, Open Graph, Twitter card, structured data, images without alt text, word count and concrete issues. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://www.iana.org/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-structured":{"get":{"operationId":"compat__api_page-structured","summary":"Structured data of a page: JSON-LD, schema.org types, Open Graph and microdata","description":"Use when an agent wants machine-readable facts from a page instead of parsing HTML: extracts JSON-LD blocks, schema.org types, Open Graph tags, Twitter tags and microdata types from one public URL (robots.txt respected). Person entries and contact fields are removed. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://www.apple.com/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-tables":{"get":{"operationId":"compat__api_page-tables","summary":"HTML tables of a web page as JSON: headers and rows","description":"Use when an agent needs tabular data from a public page: extracts up to 5 HTML tables with caption, column headers and up to 50 rows as JSON (robots.txt respected). Layout tables with a single row or column are skipped. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://en.wikipedia.org/wiki/List_of_HTTP_status_codes"},{"name":"table","in":"query","required":false,"schema":{"type":"string"},"description":"optional table number from 1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/tech-stack":{"get":{"operationId":"compat__api_tech-stack","summary":"Website technology detection: CMS, framework, CDN, server, analytics and payments","description":"Use when an agent researches what a website is built with: detects CMS, shop system, JavaScript framework, CDN, web server, analytics, payment and marketing tools from public HTML and response headers of one URL (robots.txt respected), with the evidence type for each. Only what is visible from outside.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://nextjs.org/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/link-check":{"get":{"operationId":"compat__api_link-check","summary":"Broken link check: tests up to 15 links of a page and lists dead ones","description":"Use when an agent audits a page for dead links: fetches one public URL (robots.txt respected), tests up to 15 unique outgoing and internal links with a light request and reports OK, redirected, broken and unreachable links with status codes.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://www.iana.org/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/rss":{"get":{"operationId":"compat__api_rss","summary":"RSS or Atom feed to JSON, finds the feed from a site URL","description":"Use when an agent follows a blog or news source: reads an RSS or Atom feed, or discovers it from a site URL, and returns feed title and the latest 15 items with title, link and date (robots.txt respected). Item text and author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public page URL","example":"https://blog.cloudflare.com/rss/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/papers":{"get":{"operationId":"compat__api_papers","summary":"Scientific paper search across disciplines: title, year, citations, DOI and open access","description":"Use when an agent needs citable research on any topic: searches the open OpenAlex index of scientific works and returns title, year, citation count, DOI, venue and open-access link, by relevance or most cited. Author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic","example":"stablecoin monetary policy"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"relevance (default) or cited"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/cve/kev-latest":{"get":{"operationId":"compat__api_cve_kev-latest","summary":"Newest actively exploited vulnerabilities from the CISA KEV list, filter by vendor","description":"Use when an agent monitors what attackers exploit right now: returns the newest entries of the CISA Known Exploited Vulnerabilities catalog with vendor, product, date added, remediation due date and ransomware use, optionally filtered by vendor or product.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"vendor","in":"query","required":false,"schema":{"type":"string"},"description":"optional vendor or product word","example":"microsoft"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-25, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/weather-alerts":{"get":{"operationId":"compat__api_weather-alerts","summary":"Active US severe weather alerts by state: event, severity, urgency, areas and expiry","description":"Use when an agent plans around weather risk in the US: returns active National Weather Service alerts for a state with event, severity, urgency, affected areas, start and end time. Official public data for US states and territories only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"state","in":"query","required":true,"schema":{"type":"string"},"description":"US state code, e.g. CA","example":"CA"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/mempool-report":{"get":{"operationId":"compat__api_btc_mempool-report","summary":"Bitcoin mempool report: pending transactions, size, congestion and recommended fees","description":"Use when an agent decides when and how much to pay for a Bitcoin transaction: returns pending transaction count, mempool size in virtual MB, total pending fees, the backlog in blocks, a congestion level based on the next-block fee, and recommended fee rates from next block to economy.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/mining-report":{"get":{"operationId":"compat__api_btc_mining-report","summary":"Bitcoin mining report: hashrate, difficulty, next adjustment and halving countdown","description":"Use when an agent needs the state of Bitcoin mining: current hashrate, difficulty, progress to and estimate of the next difficulty adjustment, average block time, block height and blocks until the next halving.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/solana/network-report":{"get":{"operationId":"compat_solana_network-report","summary":"Solana network report: TPS, epoch progress, slot, block height and version","description":"Use when an agent checks whether Solana is healthy before transacting: recent transactions per second including and excluding votes, slot time, epoch number and progress, block height and node version, from public Solana RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-history":{"get":{"operationId":"compat_gas-history","summary":"Gas trend over the last 20 blocks: base fee, tips, block usage and direction","description":"Use when an agent decides whether to send a transaction now or wait: returns base fee latest, minimum, maximum and average over the last 20 blocks, the trend, typical priority fees at the 25th, 50th and 75th percentile and how full blocks are. Ethereum, Base, Arbitrum, Optimism, Polygon.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum, base, arbitrum, optimism or polygon","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/uniswap-pools":{"get":{"operationId":"compat_uniswap-pools","summary":"Uniswap v3 pools of a token pair: fee tiers, on-chain price, reserves and liquidity","description":"Use when an agent needs the on-chain price or best pool of a token pair: checks all Uniswap v3 fee tiers and returns pool address, spot price from the pool, token reserves and which pool holds the most. Ethereum, Base, Arbitrum, Optimism, Polygon. Read-only, no swap.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"token_a","in":"query","required":true,"schema":{"type":"string"},"description":"first token address","example":"0x4200000000000000000000000000000000000006"},{"name":"token_b","in":"query","required":true,"schema":{"type":"string"},"description":"second token address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum, base, arbitrum, optimism or polygon","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/aave-position":{"get":{"operationId":"compat_aave-position","summary":"Aave v3 position across 5 chains: collateral, debt, health factor and liquidation risk","description":"Use when an agent checks a wallet for lending risk: reads Aave v3 on Ethereum, Base, Arbitrum, Optimism and Polygon and returns collateral and debt in USD, available borrow, loan-to-value, liquidation threshold and health factor per chain, read directly from the Pool contracts.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/vault-report":{"get":{"operationId":"compat_vault-report","summary":"ERC-4626 vault report: asset, total assets, shares and share price","description":"Use when an agent inspects a tokenized yield vault: from an ERC-4626 contract get name, underlying asset, total assets, total shares, the current value of one share and whether assets cover shares, read directly from the contract. Ethereum, Base, Arbitrum, Optimism, Polygon.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-4626 vault address","example":"0x83F20F44975D03b1b09e64809B757c47f942BEeA"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), base, arbitrum, optimism or polygon","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/x402-token-check":{"get":{"operationId":"compat_x402-token-check","summary":"Can this token pay via x402? EIP-3009, EIP-2612 and signing domain check","description":"Use when a seller or agent wants to know whether a token works for gasless x402 payments: checks transferWithAuthorization (EIP-3009), permit (EIP-2612), name, version, decimals and whether the EIP-712 domain matches, and returns the exact extra fields for an x402 payment requirement.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum, base, arbitrum, optimism or polygon","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-oracle":{"get":{"operationId":"compat_gas-oracle","summary":"Gas oracle: slow, standard and fast fees, USD cost of common actions and a send-now-or-wait hint","description":"Use when an agent needs to price and time a transaction: returns slow, standard and fast fees in gwei, the cost in native token and USD of a transfer, an ERC-20 transfer and a swap, and a rule-based send-now-or-wait hint from the last 10 blocks. 12 EVM chains. L2 data fees are not included.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-counterparties":{"get":{"operationId":"compat_wallet-counterparties","summary":"Related wallets: who a wallet recently exchanged top tokens with, ranked by transfers","description":"Use when an agent wants to know which addresses a wallet deals with: from recent transfers of the top tokens it returns up to 15 counterparties with transfers in and out, tokens used and whether each is a contract. 12 EVM chains, recent block window stated in the answer. No names or labels of people.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet or contract address","example":"0xd0b53D9277642d899DF5C87A3966A349A798F224"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/balance-history":{"get":{"operationId":"compat_balance-history","summary":"Balance history: native and USDC balance now and 1, 7 and 30 days ago with changes","description":"Use when an agent checks whether a wallet is growing, draining or newly funded: returns native and USDC balance now and 1, 7 and 30 days ago with the change to today, from archive state on Ethereum or Base. Points that an archive node cannot answer are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x28C6c06298d514Db089934071355E5743bf21d60"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default) or base","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-holders":{"get":{"operationId":"compat_token-holders","summary":"Token holder concentration: holder count, top 10 and top 50 share, largest holders","description":"Use when an agent judges whether a token is concentrated in few wallets: returns holder count, share of supply held by the largest 1, 10 and 50 holders and the 10 largest addresses with contract flag, via public Blockscout data for Ethereum, zkSync Era or Celo. Facts only, no rating.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-20 token address","example":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum (default), zksync or celo","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/native-balances":{"get":{"operationId":"compat_native-balances","summary":"Native coin balance of a wallet on 12 EVM chains with USD values","description":"Use when an agent needs to know on which chains a wallet has gas: returns the native balance on 12 EVM chains, the USD value and the total, and lists chains with enough for a transaction. Chains that do not answer are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x28C6c06298d514Db089934071355E5743bf21d60"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/stablecoin-balances":{"get":{"operationId":"compat_stablecoin-balances","summary":"USDC, USDT and DAI balances of a wallet on 12 EVM chains with totals","description":"Use when an agent checks whether a wallet can pay in stablecoins: returns USDC, USDT, DAI and bridged USDC balances on 12 EVM chains, totals per coin and per chain and the largest position. Chains that do not answer are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address","example":"0x28C6c06298d514Db089934071355E5743bf21d60"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/tx-status":{"get":{"operationId":"compat_tx-status","summary":"Transaction status: pending, success or failed with confirmations, chain found automatically","description":"Use when an agent waits for a payment or transaction: from the hash it finds the chain among 12 EVM networks and returns pending, success or failed, block, confirmations, sender, recipient and gas used. Smaller and cheaper than a full transaction report.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"transaction hash","example":"0x6bb5a2a9f3ee58391e0b045c0ee0880d3b3d64bf7319aefc18ea41f280e0b9c8"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain; found automatically if omitted","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/tx-status-batch":{"get":{"operationId":"compat_tx-status-batch","summary":"Status of up to 10 transactions on one chain in a single call","description":"Use when an agent tracks several payments or transactions at once: for up to 10 hashes on one EVM chain returns pending, success, failed or not found with block and confirmations, plus a count per status. A hash that cannot be read is marked instead of failing the call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"hashes","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated transaction hashes","example":"0x6bb5a2a9f3ee58391e0b045c0ee0880d3b3d64bf7319aefc18ea41f280e0b9c8"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/prices":{"get":{"operationId":"compat__api_prices","summary":"Spot USD prices of up to 20 crypto assets in one call","description":"Use when an agent needs several crypto prices at once: returns the current USD spot price for up to 20 symbols such as BTC, ETH, SOL and USDC from the public Coinbase price API. Unknown symbols are listed instead of failing the call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"symbols","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated symbols","example":"BTC,ETH,SOL,USDC"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-price":{"get":{"operationId":"compat_token-price","summary":"On-chain token price in USD from the deepest Uniswap v3 pool, by contract address","description":"Use when an agent needs the price of a token by contract, including tokens without an exchange listing: reads the deepest Uniswap v3 pool against USDC, or through WETH, and returns USD price, pool, route and quote liquidity with a thin-liquidity flag. Ethereum, Base, Arbitrum, Optimism, Polygon. Spot price only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token address","example":"0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"ethereum, base, arbitrum, optimism or polygon","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/top-services":{"get":{"operationId":"compat__api_x402_top-services","summary":"Top x402 services by paying wallets in the last 30 days, filter by topic","description":"Use when an agent looks for proven paid APIs or a seller studies demand: ranks x402 services from our daily Coinbase Bazaar snapshot by unique paying wallets over 30 days and returns URL, price, buyers, calls and description, optionally filtered by a topic word.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"topic","in":"query","required":false,"schema":{"type":"string"},"description":"optional word, e.g. wallet","example":"wallet"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-25, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/block-report":{"get":{"operationId":"compat_block-report","summary":"Block report on 12 EVM chains: transactions, gas usage, base fee, producer and age","description":"Use when an agent inspects a block on any supported chain: from a number, or latest, returns time, age, transaction count, gas used and fullness, base fee, block producer and size. 12 EVM chains.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"},{"name":"number","in":"query","required":false,"schema":{"type":"string"},"description":"optional block number, default latest"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/network-status":{"get":{"operationId":"compat_network-status","summary":"Live health of 12 EVM chains: latest block, block age, base fee and lag warnings","description":"Use when an agent decides which chain to use or checks for an outage: returns for 12 EVM chains the latest block, its age, base fee and an ok, lagging or unreachable state, measured from public RPCs right now.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/ens-batch":{"get":{"operationId":"compat_ens-batch","summary":"Resolve up to 10 ENS names or Basenames to addresses in one call","description":"Use when an agent must resolve several ENS names or Basenames at once, for example a payout list: returns the address for up to 10 names and marks names that do not resolve, instead of failing the whole call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"names","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated names","example":"ens.eth,uniswap.eth,base.base.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/slugify":{"get":{"operationId":"compat__api_slugify","summary":"Turn any text into a clean URL slug","description":"Use when an agent creates page URLs, file names or IDs from a title: converts text to a lowercase ASCII slug, transliterates accents and German umlauts, removes symbols and supports a hyphen or underscore separator and a maximum length.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text, up to 500 characters","example":"Größe & Qualität: 10 Tipps für Agenten!"},{"name":"separator","in":"query","required":false,"schema":{"type":"string"},"description":"- (default) or _"},{"name":"max_length","in":"query","required":false,"schema":{"type":"string"},"description":"10-200, default 80"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/sign-check":{"get":{"operationId":"compat__api_security_sign-check","summary":"Before you sign: decode EIP-712, Permit, Permit2 or approval data into plain words with risk flags","description":"Use when you are about to sign typed data or approve a token: decodes EIP-712, Permit, Permit2, EIP-3009, Seaport, approve and setApprovalForAll into plain words with spender, amount and expiry, checks the spender on-chain and flags unlimited amounts, wallet spenders and drainer patterns. Decoding only, nothing is signed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"typed_data","in":"query","required":false,"schema":{"type":"string"},"description":"EIP-712 JSON with domain, primaryType and message","example":"{\"primaryType\":\"Permit\",\"domain\":{\"name\":\"USD Coin\",\"version\":\"2\",\"chainId\":8453,\"verifyingContract\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"},\"message\":{\"owner\":\"0x28C6c06298d514Db089934071355E5743bf21d60\",\"spender\":\"0x000000000022D473030F116dDEE9F6B43aC78BA3\",\"value\":\"115792089237316195423570985008687907853269984665640564039457584007913129639935\",\"nonce\":\"0\",\"deadline\":\"1893456000\"}}"},{"name":"calldata","in":"query","required":false,"schema":{"type":"string"},"description":"or transaction calldata (0x...)"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"token or contract address for calldata"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain; read from the typed data if omitted"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/tx-precheck":{"get":{"operationId":"compat__api_security_tx-precheck","summary":"Before you send: simulate a transaction, decode it and profile the target contract","description":"Use when you are about to send a transaction: simulates it with eth_call (revert yes or no and reason), decodes the function, profiles the target contract (age, verified, proxy with wallet admin, owner) and returns risk flags with reasons. 12 EVM chains. Nothing is signed or sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"target address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"data","in":"query","required":false,"schema":{"type":"string"},"description":"calldata (0x...)","example":"0x18160ddd"},{"name":"value","in":"query","required":false,"schema":{"type":"string"},"description":"optional value in wei"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"optional sender"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/spender-check":{"get":{"operationId":"compat__api_security_spender-check","summary":"Before you approve: is this spender safe? Score with reasons, label, age, proxy admin","description":"Use when you are about to approve a token to a contract: returns a 0-100 risk score with each reason, known protocol label, contract or wallet, age, verification, upgrade admin, sanctions status and how many owners approved it recently. 12 EVM chains. Rule-based, no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"spender address","example":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/token-permissions":{"get":{"operationId":"compat__api_security_token-permissions","summary":"Before you buy: what can the owner of this token do? Mint, pause, blacklist, fees, upgrade","description":"Use when you are about to buy, accept or hold a token: scans the deployed bytecode, including a proxy implementation, for owner powers such as mint, pause, blacklist, fee or trading changes, upgrades and withdrawals, and shows who holds control: renounced, single wallet, contract or roles. 12 EVM chains.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"contract","in":"query","required":true,"schema":{"type":"string"},"description":"token address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/address-poisoning":{"get":{"operationId":"compat__api_security_address-poisoning","summary":"Before you copy an address: find lookalike addresses and zero-value bait in recent transfers","description":"Use when you are about to send to an address taken from transaction history: scans recent token transfers of a wallet for lookalike addresses with the same first and last characters and for zero-value bait transfers, and optionally compares your intended recipient. 12 EVM chains, recent block window stated.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"your wallet","example":"0x28C6c06298d514Db089934071355E5743bf21d60"},{"name":"recipient","in":"query","required":false,"schema":{"type":"string"},"description":"optional address you intend to pay"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/phishing-domain":{"get":{"operationId":"compat__api_security_phishing-domain","summary":"Before you connect a wallet: is this domain a known phishing site or a Web3 brand lookalike?","description":"Use when you are about to open a link or connect a wallet to a site: checks a domain against open phishing lists (Phishing.Database, Polkadot phishing list), detects lookalikes of major Web3 brands and punycode, and adds domain age and SSL. A clean result is no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain or URL","example":"uniswap.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/security/preflight-pro":{"get":{"operationId":"compat__api_security_preflight-pro","summary":"Before you pay or trade: one go, caution or stop answer from all security checks","description":"Use when you are about to pay, approve or trade with an unknown party: combines pay-to facts, sanctions, spender risk, optional token owner powers and optional transaction simulation into one proceed, caution or stop decision with reasons. 12 EVM chains. Parts that fail are marked. Rule-based, no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.007"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"payee, spender or counterparty","example":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"EVM chain, default base","example":"base"},{"name":"purpose","in":"query","required":false,"schema":{"type":"string"},"description":"pay (default) or approve. A plain wallet is normal for a payee but a warning sign for a spender"},{"name":"token","in":"query","required":false,"schema":{"type":"string"},"description":"optional token involved"},{"name":"data","in":"query","required":false,"schema":{"type":"string"},"description":"optional planned calldata, sent to address"},{"name":"value","in":"query","required":false,"schema":{"type":"string"},"description":"optional value in wei"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"optional sender"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-fetch":{"get":{"operationId":"compat__api_page-fetch","summary":"Fetch a public URL: status, final URL, key headers and up to 100 KB of text","description":"Use when an agent needs the raw content of a public URL without running its own fetcher: returns status, final URL after redirects, key headers, content type and up to 100 KB of text. robots.txt is respected, private addresses are blocked, binary content is reported but not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://www.python.org/"},{"name":"max_chars","in":"query","required":false,"schema":{"type":"string"},"description":"1000-100000, default 20000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-read":{"get":{"operationId":"compat__api_page-read","summary":"Read a web page: clean main text without menus, ads or scripts, ready for an LLM","description":"Use when an agent needs just the readable content of an article or doc page: removes navigation, footers, forms and scripts and returns title, description, language, publish date, clean main text, word count and reading time. robots.txt respected. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://en.wikipedia.org/wiki/HTTP_402"},{"name":"max_chars","in":"query","required":false,"schema":{"type":"string"},"description":"500-50000, default 12000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-select":{"get":{"operationId":"compat__api_page-select","summary":"Scrape by selector: text and links of all matching elements on a page","description":"Use when an agent wants specific elements from a public page: give a simple selector (tag, #id, .class or tag.class) and get up to 50 matches with text, link, image source, id and class, plus the total count. robots.txt respected. No browser, so content added by JavaScript is not included.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://news.ycombinator.com/"},{"name":"selector","in":"query","required":true,"schema":{"type":"string"},"description":"tag, #id, .class or tag.class","example":".titleline"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 20"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/page-links":{"get":{"operationId":"compat__api_page-links","summary":"All links of a page: internal and external, with anchor text and nofollow flag","description":"Use when an agent maps a page or plans a crawl: returns unique absolute links split into internal and external with anchor text and nofollow flag, plus counts and the top external domains. robots.txt respected. Email and phone links are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://www.python.org/"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-200, default 60"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site-crawl":{"get":{"operationId":"compat__api_site-crawl","summary":"Polite crawl of up to 10 pages of one site: titles, descriptions, word counts and status","description":"Use when an agent needs an overview of a website: starting at a URL it follows same-site links to at most 10 pages, one at a time with a pause, respects robots.txt and returns URL, status, title, description, word count and link count for each page. No browser, no form submissions.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://www.python.org/about/"},{"name":"pages","in":"query","required":false,"schema":{"type":"string"},"description":"1-10, default 5","example":"3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/sitemap-markdown":{"get":{"operationId":"compat__api_sitemap-markdown","summary":"Site to Markdown: finds the sitemap and returns up to 5 pages as clean text","description":"Use when an agent wants several pages of a site as LLM-ready text in one call: finds the sitemap through robots.txt or /sitemap.xml, optionally filters URLs by a path word and returns up to 5 pages as clean readable text. robots.txt respected. Pages that fail are marked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"public http(s) URL","example":"https://www.sitemaps.org/"},{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"optional word the URL must contain"},{"name":"pages","in":"query","required":false,"schema":{"type":"string"},"description":"1-5, default 3","example":"2"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/market-trends":{"get":{"operationId":"compat__api_x402_market-trends","summary":"x402 market trends: growth by category and topic from daily Bazaar snapshots","description":"Use when you plan what to build, buy or price in the x402 economy and need the direction, not one snapshot: compares our daily Coinbase Bazaar snapshots and returns growth in paying wallets, calls, resources and sellers per category or topic, the fastest growing resources and new sellers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"topic","in":"query","required":false,"schema":{"type":"string"},"description":"optional word, e.g. security","example":"security"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/niche-finder":{"get":{"operationId":"compat__api_x402_niche-finder","summary":"x402 niche check: demand, competition, concentration and price level for a topic","description":"Use when you consider launching or buying an x402 service for a topic: returns paying wallets, sellers, wallets per seller, repeat use, price percentiles, leader concentration, recent growth and a rule-based reading such as open, concentrated, crowded or too small, from our daily Coinbase Bazaar snapshots.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string"},"description":"topic word, e.g. honeypot","example":"honeypot"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/price-advisor":{"get":{"operationId":"compat__api_x402_price-advisor","summary":"What should this x402 API cost? Price bands and paying wallets by price for a topic","description":"Use when you set or compare the price of an x402 endpoint: shows how many paying wallets sellers of a topic reach in each price band, the market percentiles and a suggested range taken from the bands with the most wallets per resource, from our daily Coinbase Bazaar snapshots. Your price can be compared too.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string"},"description":"topic word, e.g. gas","example":"gas"},{"name":"price","in":"query","required":false,"schema":{"type":"string"},"description":"optional your price in USDC"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/seller-rank":{"get":{"operationId":"compat__api_x402_seller-rank","summary":"Where does an x402 seller rank? Position, paying wallets, top routes and change","description":"Use when you check a competitor, partner or your own x402 service: from a domain get its rank among all sellers by paying wallets, resources with buyers, calls, average calls per wallet, top routes with prices and the change since our first snapshot, from daily Coinbase Bazaar data.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"seller domain","example":"api.onesource.io"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/hash":{"get":{"operationId":"compat__api_hash","summary":"Hash text with SHA-256, SHA-512, SHA3, BLAKE2 or legacy MD5/SHA-1","description":"Use when an agent needs a checksum or content fingerprint: returns the hash of a text as hex and base64 with SHA-256 (default), SHA-512, SHA3-256, BLAKE2b, or legacy MD5 and SHA-1, which are flagged as unsafe for security.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text to hash","example":"hello world"},{"name":"algo","in":"query","required":false,"schema":{"type":"string"},"description":"sha256, sha512, sha3-256, blake2b512, sha1 or md5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/stats":{"get":{"operationId":"compat__api_text_stats","summary":"Text statistics: words, sentences, unique words, reading time and top words","description":"Use when an agent must measure a text before sending or summarising it: counts characters, words, unique words, sentences, lines and paragraphs, reading time and the most frequent words.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text","example":"Agents pay per call. Agents like simple APIs!"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/similarity":{"get":{"operationId":"compat__api_text_similarity","summary":"Compare two texts: edit distance, similarity and word overlap","description":"Use when an agent must detect near-duplicates or match names: returns Levenshtein distance, similarity ratio and Jaccard word overlap of two texts, ignoring case if asked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string"},"description":"first text","example":"Coinbase Inc"},{"name":"b","in":"query","required":true,"schema":{"type":"string"},"description":"second text","example":"Coinbase Inc."},{"name":"ignore_case","in":"query","required":false,"schema":{"type":"string"},"description":"true (default) or false"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/case":{"get":{"operationId":"compat__api_text_case","summary":"Convert text between camelCase, snake_case, kebab-case, PascalCase, Title and CONSTANT","description":"Use when an agent generates identifiers or normalises field names: converts a phrase or identifier to camel, pascal, snake, kebab, constant, title, upper or lower case.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text or identifier","example":"wallet report API"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"camel, pascal, snake, kebab, constant, title, upper or lower","example":"camel"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/extract-web3":{"get":{"operationId":"compat__api_text_extract-web3","summary":"Find wallet addresses, tx hashes, ENS names, Bitcoin and Solana addresses in text","description":"Use when an agent reads a message, log or page and must pull out crypto identifiers: extracts EVM addresses, transaction hashes, ENS names, Bitcoin and likely Solana addresses and URLs, with counts. Nothing is looked up.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text","example":"Pay 0x7BFaBAE4E0103B84298Ecf5ee88141219862d745 or vitalik.eth, see https://basescan.org/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/dedupe":{"get":{"operationId":"compat__api_text_dedupe","summary":"Remove duplicate lines, optionally sort and trim","description":"Use when an agent cleans a list before processing it: removes duplicate and empty lines, can ignore case and sort, and reports how many lines were removed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"lines of text","example":"b\na\nb\n\na"},{"name":"sort","in":"query","required":false,"schema":{"type":"string"},"description":"none (default), asc or desc"},{"name":"ignore_case","in":"query","required":false,"schema":{"type":"string"},"description":"true or false (default)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/chunk":{"get":{"operationId":"compat__api_text_chunk","summary":"Split text into overlapping chunks for RAG and embeddings","description":"Use when an agent prepares a document for embeddings or an LLM: splits text at paragraph and sentence boundaries into chunks of a target size with overlap and reports an estimated token count per chunk. No AI involved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text","example":"First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. First sentence here. "},{"name":"size","in":"query","required":false,"schema":{"type":"string"},"description":"chunk size in characters, 100-8000, default 1000","example":"200"},{"name":"overlap","in":"query","required":false,"schema":{"type":"string"},"description":"overlap in characters, default 100","example":"20"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/token-estimate":{"get":{"operationId":"compat__api_text_token-estimate","summary":"Estimate LLM tokens of a text and check if it fits a context size","description":"Use when an agent checks whether a prompt fits a model before sending it: gives a heuristic token estimate from characters and words, with a range and whether it fits a given context limit. It is an estimate, not an exact tokenizer.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"text","example":"How many tokens is this sentence likely to use?"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"optional context limit in tokens"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/strip-html":{"get":{"operationId":"compat__api_text_strip-html","summary":"Turn an HTML fragment into clean plain text","description":"Use when an agent received HTML from an email, feed or tool and needs plain text: removes scripts, styles and tags, decodes common entities and keeps line breaks at block elements. The HTML is not fetched or executed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"html","in":"query","required":true,"schema":{"type":"string"},"description":"HTML fragment","example":"<h1>Title</h1><p>Hello &amp; welcome</p><script>x()</script>"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/number-words":{"get":{"operationId":"compat__api_text_number-words","summary":"Write a number in English words","description":"Use when an agent writes invoices, contracts or spoken output: converts a whole number up to 999 trillion, positive or negative, to English words.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"number","in":"query","required":true,"schema":{"type":"string"},"description":"whole number","example":"1234"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/roman":{"get":{"operationId":"compat__api_text_roman","summary":"Convert between Arabic and Roman numerals","description":"Use when an agent reads or writes dates, chapters or names with Roman numerals: converts a number from 1 to 3999 to Roman numerals or a valid Roman numeral back to a number.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"number or Roman numeral","example":"2026"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/flatten":{"get":{"operationId":"compat__api_json_flatten","summary":"Flatten nested JSON to dot paths, or restore it","description":"Use when an agent turns nested JSON into a table or flat keys: flattens objects and arrays to dot paths and can unflatten a flat object back into nested JSON.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"},"description":"JSON","example":"{\"a\":{\"b\":1,\"c\":[2,3]}}"},{"name":"mode","in":"query","required":false,"schema":{"type":"string"},"description":"flatten (default) or unflatten"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/diff":{"get":{"operationId":"compat__api_json_diff","summary":"Compare two JSON documents: added, removed and changed paths","description":"Use when an agent checks what changed between two API answers or configs: compares two JSON documents by path and lists added, removed and changed values.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string"},"description":"first JSON","example":"{\"x\":1,\"y\":2}"},{"name":"b","in":"query","required":true,"schema":{"type":"string"},"description":"second JSON","example":"{\"x\":1,\"y\":3,\"z\":4}"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/path":{"get":{"operationId":"compat__api_json_path","summary":"Read a value from JSON by path","description":"Use when an agent needs one field from a large JSON answer: reads a dot path with array indexes and a * wildcard, such as data.items.*.name, and returns the value or all matches.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"},"description":"JSON","example":"{\"data\":{\"items\":[{\"name\":\"a\"},{\"name\":\"b\"}]}}"},{"name":"path","in":"query","required":true,"schema":{"type":"string"},"description":"path such as data.items.0.name","example":"data.items.*.name"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/schema-infer":{"get":{"operationId":"compat__api_json_schema-infer","summary":"Infer a JSON Schema from an example","description":"Use when an agent needs a schema for a tool or API from one sample answer: infers a JSON Schema with types, required fields, array items and common string formats.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"},"description":"example JSON","example":"{\"id\":1,\"name\":\"a\",\"at\":\"2026-01-01T00:00:00Z\",\"tags\":[\"x\"]}"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/canonical":{"get":{"operationId":"compat__api_json_canonical","summary":"Canonical JSON with sorted keys and a stable SHA-256","description":"Use when an agent needs to compare or sign JSON regardless of key order: returns minified JSON with sorted keys and its SHA-256 hash, so equal documents always produce the same hash.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"},"description":"JSON","example":"{\"b\":1,\"a\":{\"d\":2,\"c\":3}}"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/csv/stats":{"get":{"operationId":"compat__api_csv_stats","summary":"Profile a CSV: rows, column types, missing values, min, max, mean","description":"Use when an agent receives tabular data and must understand it first: detects the delimiter and returns rows, columns, type, missing values, unique count and for numeric columns min, max, mean and median.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"csv","in":"query","required":true,"schema":{"type":"string"},"description":"CSV text with header","example":"name,amount\na,1\nb,2.5\nc,"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/url/parse":{"get":{"operationId":"compat__api_url_parse","summary":"Parse a URL and remove tracking parameters","description":"Use when an agent stores, compares or shares links: splits a URL into scheme, host, port, path and query, removes known tracking parameters and returns a normalized URL. The URL is not opened.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"URL","example":"https://Example.com/a?b=2&utm_source=x&a=1#top"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/expression":{"get":{"operationId":"compat__api_calc_expression","summary":"Evaluate a math expression safely and exactly as written","description":"Use when an agent must not do arithmetic in its head: evaluates an expression with + - * / % ^, brackets, pi, e and functions such as sqrt, log, ln, min, max and round. It is parsed, never executed as code.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"expr","in":"query","required":true,"schema":{"type":"string"},"description":"expression, e.g. (1+2)*sqrt(16)","example":"(1+2)*sqrt(16)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/stats":{"get":{"operationId":"compat__api_calc_stats","summary":"Statistics of a number list: mean, median, deviation, percentiles","description":"Use when an agent summarises measurements or prices: returns count, sum, mean, median, mode, standard deviation, min, max and the 10th, 25th, 75th and 90th percentile of up to 10000 numbers.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"numbers","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated numbers","example":"1,2,3,4,100"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/compound-interest":{"get":{"operationId":"compat__api_calc_compound-interest","summary":"Compound interest with regular contributions","description":"Use when an agent projects savings or a yield: computes the final value, contributions and interest from principal, annual rate, years, compounding frequency and an optional monthly contribution. A calculation, not advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"principal","in":"query","required":true,"schema":{"type":"string"},"description":"starting amount","example":"1000"},{"name":"rate","in":"query","required":true,"schema":{"type":"string"},"description":"annual rate in percent","example":"5"},{"name":"years","in":"query","required":true,"schema":{"type":"string"},"description":"years","example":"10"},{"name":"per_year","in":"query","required":false,"schema":{"type":"string"},"description":"compounding periods per year, default 12"},{"name":"monthly","in":"query","required":false,"schema":{"type":"string"},"description":"optional monthly contribution"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/loan":{"get":{"operationId":"compat__api_calc_loan","summary":"Loan payment, total cost and interest","description":"Use when an agent compares financing: computes the monthly annuity payment, total paid and total interest from amount, annual rate and term in months, plus the first payment split. A calculation, not advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"string"},"description":"loan amount","example":"10000"},{"name":"rate","in":"query","required":true,"schema":{"type":"string"},"description":"annual rate in percent","example":"6"},{"name":"months","in":"query","required":true,"schema":{"type":"string"},"description":"term in months","example":"48"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/vat":{"get":{"operationId":"compat__api_calc_vat","summary":"Add or remove VAT from an amount","description":"Use when an agent writes invoices or compares net and gross prices: adds VAT to a net amount or extracts it from a gross amount for any rate.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"string"},"description":"amount","example":"100"},{"name":"rate","in":"query","required":false,"schema":{"type":"string"},"description":"VAT rate in percent, default 19"},{"name":"mode","in":"query","required":false,"schema":{"type":"string"},"description":"add (default) or remove"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/apr-apy":{"get":{"operationId":"compat__api_calc_apr-apy","summary":"Convert APR and APY for a compounding frequency","description":"Use when an agent compares DeFi or savings rates quoted differently: converts APR to APY or APY to APR for a given number of compounding periods per year.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"rate","in":"query","required":true,"schema":{"type":"string"},"description":"rate in percent","example":"10"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"apr (default) or apy"},{"name":"per_year","in":"query","required":false,"schema":{"type":"string"},"description":"compounding periods per year, default 365"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/impermanent-loss":{"get":{"operationId":"compat__api_calc_impermanent-loss","summary":"Impermanent loss of a 50/50 liquidity position for a price change","description":"Use when an agent evaluates a liquidity pool: computes the impermanent loss of a constant-product 50/50 position versus holding for a given price change, optionally in value of a deposit. Fees are not included.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"price_change_pct","in":"query","required":true,"schema":{"type":"string"},"description":"price change of one token in percent, e.g. 50 or -30","example":"100"},{"name":"deposit","in":"query","required":false,"schema":{"type":"string"},"description":"optional deposit value"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/gas-cost":{"get":{"operationId":"compat__api_calc_gas-cost","summary":"Cost of a transaction from gas units, gas price and coin price","description":"Use when an agent estimates what a transaction will cost: converts gas units and a gas price in gwei to native coin and, with a coin price, to USD.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"gas","in":"query","required":true,"schema":{"type":"string"},"description":"gas units","example":"21000"},{"name":"gwei","in":"query","required":true,"schema":{"type":"string"},"description":"gas price in gwei","example":"20"},{"name":"price_usd","in":"query","required":false,"schema":{"type":"string"},"description":"optional native coin price in USD","example":"3000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/token-units":{"get":{"operationId":"compat__api_calc_token-units","summary":"Convert token amounts between display units and raw integer units","description":"Use when an agent builds a transaction or reads a balance: converts exactly between human amounts and raw units for any decimals, such as 1.5 USDC to 1500000, without floating point errors.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"amount","example":"1.5"},{"name":"decimals","in":"query","required":false,"schema":{"type":"string"},"description":"token decimals, default 18","example":"6"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"raw (default) or display"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/base-convert":{"get":{"operationId":"compat__api_calc_base-convert","summary":"Convert big integers between binary, octal, decimal, hex and base 36","description":"Use when an agent reads raw values from logs or chains: converts integers of any practical size between bases 2 to 36 with exact big-number arithmetic.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"number","example":"255"},{"name":"from","in":"query","required":false,"schema":{"type":"string"},"description":"source base, default 10"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"target base, default 16"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/date-diff":{"get":{"operationId":"compat__api_calc_date-diff","summary":"Difference between two dates in days, weeks, months and weekdays","description":"Use when an agent computes deadlines or durations: returns the difference between two dates in days, weeks, whole months and years and the number of Monday to Friday days.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string"},"description":"start date YYYY-MM-DD","example":"2026-01-01"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"end date YYYY-MM-DD","example":"2026-12-31"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/date-add":{"get":{"operationId":"compat__api_calc_date-add","summary":"Add days, weeks, months, years or business days to a date","description":"Use when an agent sets a due date: adds or subtracts days, weeks, months, years or Monday to Friday business days and clamps month ends correctly. Public holidays are not considered.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string"},"description":"date YYYY-MM-DD","example":"2026-01-31"},{"name":"amount","in":"query","required":true,"schema":{"type":"string"},"description":"whole number, may be negative","example":"1"},{"name":"unit","in":"query","required":true,"schema":{"type":"string"},"description":"days, weeks, months, years or business_days","example":"months"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/week-number":{"get":{"operationId":"compat__api_calc_week-number","summary":"ISO week, weekday, quarter and day of year for a date","description":"Use when an agent schedules or reports by calendar period: returns ISO week and week-year, weekday, quarter, day of year, days in the month and whether it is a leap year.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string"},"description":"date YYYY-MM-DD","example":"2026-11-22"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/calc/unix-time":{"get":{"operationId":"compat__api_calc_unix-time","summary":"Convert Unix timestamps and ISO dates in both directions","description":"Use when an agent reads block times, logs or API dates: converts Unix seconds or milliseconds to ISO 8601 and an ISO date to Unix time, and states how far it is from now.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Unix time or ISO date","example":"1735689600"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/validate/luhn":{"get":{"operationId":"compat__api_validate_luhn","summary":"Check digit test (Luhn) for ID and reference numbers","description":"Use when an agent must catch typos in a reference, IMEI or account-style number: runs the Luhn check digit test and returns the correct check digit. The number is not stored or looked up.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"number","in":"query","required":true,"schema":{"type":"string"},"description":"digits","example":"79927398713"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/validate/isbn":{"get":{"operationId":"compat__api_validate_isbn","summary":"Validate ISBN-10 and ISBN-13 and convert between them","description":"Use when an agent handles book data: validates the check digit of an ISBN-10 or ISBN-13 and returns the other format when one exists.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"isbn","in":"query","required":true,"schema":{"type":"string"},"description":"ISBN","example":"978-0-14-032872-1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/validate/barcode":{"get":{"operationId":"compat__api_validate_barcode","summary":"Validate EAN-13, EAN-8, UPC-A and GTIN-14 check digits","description":"Use when an agent checks product codes in a catalogue or order: identifies the barcode type and validates the GS1 check digit.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string"},"description":"barcode digits","example":"4006381333931"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/validate/uuid":{"get":{"operationId":"compat__api_validate_uuid","summary":"Validate a UUID and read its version, variant and timestamp","description":"Use when an agent checks IDs from another system: validates a UUID and returns version, variant and, for time-based versions 1 and 7, the embedded time.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"uuid","in":"query","required":true,"schema":{"type":"string"},"description":"UUID","example":"550e8400-e29b-41d4-a716-446655440000"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/net/cidr":{"get":{"operationId":"compat__api_net_cidr","summary":"IPv4 subnet calculator: network, broadcast, range, mask and host count","description":"Use when an agent configures firewalls or allow lists: from an IPv4 CIDR returns network and broadcast address, usable range, netmask, wildcard, host count and address type.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"cidr","in":"query","required":true,"schema":{"type":"string"},"description":"CIDR such as 192.168.1.10/24","example":"192.168.1.10/24"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/net/ip-in-cidr":{"get":{"operationId":"compat__api_net_ip-in-cidr","summary":"Is an IPv4 address inside any of these subnets?","description":"Use when an agent checks an address against allow or block lists: tests one IPv4 address against up to 200 CIDR ranges, returns the matches and classifies the address as public, private or reserved.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"ip","in":"query","required":true,"schema":{"type":"string"},"description":"IPv4 address","example":"10.1.2.3"},{"name":"cidrs","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated CIDRs","example":"10.0.0.0/8,192.168.0.0/16"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/color/convert":{"get":{"operationId":"compat__api_color_convert","summary":"Convert a color between hex, RGB and HSL","description":"Use when an agent builds or edits a UI: converts a color from hex or rgb() to hex, RGB and HSL and says whether black or white text is more readable on it.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"color","in":"query","required":true,"schema":{"type":"string"},"description":"hex or rgb()","example":"#336699"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/color/contrast":{"get":{"operationId":"compat__api_color_contrast","summary":"WCAG contrast ratio of two colors with AA and AAA results","description":"Use when an agent checks whether text is readable: computes the WCAG 2 contrast ratio of a text and background color and reports AA and AAA results for normal and large text.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"fg","in":"query","required":true,"schema":{"type":"string"},"description":"text color","example":"#000000"},{"name":"bg","in":"query","required":true,"schema":{"type":"string"},"description":"background color","example":"#ffffff"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/id/ulid":{"get":{"operationId":"compat__api_id_ulid","summary":"Generate sortable ULIDs or read the time inside one","description":"Use when an agent needs time-sortable unique IDs: creates up to 100 ULIDs from a secure random source, or decodes the timestamp of an existing ULID.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"count","in":"query","required":false,"schema":{"type":"string"},"description":"1-100, default 1"},{"name":"decode","in":"query","required":false,"schema":{"type":"string"},"description":"optional ULID to decode"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/id/nanoid":{"get":{"operationId":"compat__api_id_nanoid","summary":"Generate short URL-safe random IDs","description":"Use when an agent needs short unique IDs, slugs or references: creates up to 100 URL-safe random IDs of 6 to 64 characters from a secure random source, with an optional alphabet.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"size","in":"query","required":false,"schema":{"type":"string"},"description":"6-64, default 21"},{"name":"count","in":"query","required":false,"schema":{"type":"string"},"description":"1-100, default 1"},{"name":"alphabet","in":"query","required":false,"schema":{"type":"string"},"description":"url (default), alphanumeric, lower or digits"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/dice":{"get":{"operationId":"compat__api_fun_dice","summary":"Roll dice from notation like 2d6+3","description":"Use when an agent runs a tabletop game or needs a fair roll: rolls standard dice notation such as 2d6+3 with a secure random source and returns each die and the total. For games, no stakes or payouts.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"dice","in":"query","required":true,"schema":{"type":"string"},"description":"notation, e.g. 2d6+3","example":"2d6+3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/cards":{"get":{"operationId":"compat__api_fun_cards","summary":"Shuffle a card deck and deal hands","description":"Use when an agent runs a card game or simulation: shuffles a 52-card deck, optionally with jokers, with a secure random source and deals the requested hands. For games, no stakes or payouts.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"hands","in":"query","required":false,"schema":{"type":"string"},"description":"1-10, default 1"},{"name":"cards","in":"query","required":false,"schema":{"type":"string"},"description":"cards per hand, default 5"},{"name":"jokers","in":"query","required":false,"schema":{"type":"string"},"description":"true or false"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/pick":{"get":{"operationId":"compat__api_fun_pick","summary":"Pick fairly from a list, or shuffle it","description":"Use when an agent must choose without bias, such as a reviewer, sample or A/B group: picks any number of items without repeats, or shuffles the whole list, with a secure random source.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"items","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated items","example":"red,green,blue"},{"name":"count","in":"query","required":false,"schema":{"type":"string"},"description":"how many to pick, default 1"},{"name":"shuffle","in":"query","required":false,"schema":{"type":"string"},"description":"true returns the whole list shuffled"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/checksum":{"get":{"operationId":"compat__api_web3_checksum","summary":"EIP-55 checksum of an address, and whether a pasted address is correct","description":"Use when an agent handles a pasted wallet address: returns the EIP-55 checksum form and tells whether the input was all-lowercase, correctly checksummed, or has a checksum error that suggests a typo.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"EVM address","example":"0x7bfabae4e0103b84298ecf5ee88141219862d745"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/function-selector":{"get":{"operationId":"compat__api_web3_function-selector","summary":"Compute the 4-byte selector of a Solidity function","description":"Use when an agent builds or matches contract calls: normalises a function signature and returns its canonical form and 4-byte selector.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"signature","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. transfer(address,uint256)","example":"transfer(address,uint256)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/event-topic":{"get":{"operationId":"compat__api_web3_event-topic","summary":"Compute topic0 of a Solidity event","description":"Use when an agent filters logs: normalises an event signature, removes indexed markers and returns its canonical form and 32-byte topic0 hash.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"signature","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. Transfer(address,address,uint256)","example":"Transfer(address,address,uint256)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/abi-encode":{"get":{"operationId":"compat__api_web3_abi-encode","summary":"ABI-encode a function call from signature and arguments","description":"Use when an agent prepares calldata without an ABI file: encodes a function signature and JSON arguments into calldata. It only builds the data, nothing is signed or sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"signature","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. transfer(address,uint256)","example":"transfer(address,uint256)"},{"name":"args","in":"query","required":true,"schema":{"type":"string"},"description":"JSON array of arguments","example":"[\"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745\",\"1000000\"]"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/abi-decode":{"get":{"operationId":"compat__api_web3_abi-decode","summary":"Decode ABI data with a list of types","description":"Use when an agent reads raw return data or log data: decodes hex with a comma-separated list of Solidity types into readable values.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"types","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. address,uint256","example":"address,uint256"},{"name":"data","in":"query","required":true,"schema":{"type":"string"},"description":"0x data","example":"0x0000000000000000000000007bfabae4e0103b84298ecf5ee88141219862d74500000000000000000000000000000000000000000000000000000000000f4240"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/namehash":{"get":{"operationId":"compat__api_web3_namehash","summary":"ENS namehash and labelhash of a name","description":"Use when an agent works with ENS contracts directly: computes the namehash and first-label hash of a name, locally and without a lookup.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. vitalik.eth","example":"vitalik.eth"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/create2":{"get":{"operationId":"compat__api_web3_create2","summary":"Predict a CREATE2 contract address","description":"Use when an agent verifies a counterfactual wallet or factory deployment: computes the CREATE2 address from deployer, salt and init code hash, locally and without a transaction.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"deployer","in":"query","required":true,"schema":{"type":"string"},"description":"factory address","example":"0x0000000000000000000000000000000000000000"},{"name":"salt","in":"query","required":true,"schema":{"type":"string"},"description":"32-byte hex salt","example":"0x0000000000000000000000000000000000000000000000000000000000000000"},{"name":"init_code_hash","in":"query","required":true,"schema":{"type":"string"},"description":"32-byte hex hash","example":"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/create-address":{"get":{"operationId":"compat__api_web3_create-address","summary":"Predict the contract address of a CREATE deployment","description":"Use when an agent checks where a wallet deployed or will deploy a contract: computes the CREATE address from deployer and nonce, locally.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"deployer","in":"query","required":true,"schema":{"type":"string"},"description":"deployer address","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"nonce","in":"query","required":true,"schema":{"type":"string"},"description":"account nonce","example":"0"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/merkle-root":{"get":{"operationId":"compat__api_web3_merkle-root","summary":"Merkle root and proof for an allowlist","description":"Use when an agent prepares or checks an allowlist or airdrop tree: builds a sorted-pair keccak Merkle tree from hex leaves or addresses and returns the root and optionally the proof for one leaf.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"leaves","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses or 32-byte hex","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745,0x28C6c06298d514Db089934071355E5743bf21d60,0xBE0eB53F46cd790Cd13851d5EFf43D12404d33E8"},{"name":"proof_for","in":"query","required":false,"schema":{"type":"string"},"description":"optional leaf","example":"0x28C6c06298d514Db089934071355E5743bf21d60"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/hex-text":{"get":{"operationId":"compat__api_web3_hex-text","summary":"Convert between hex and UTF-8 text","description":"Use when an agent reads input data, memos or revert strings: converts hex to UTF-8 text or text to hex and reports how many bytes are printable.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"hex or text","example":"0x68656c6c6f"},{"name":"to","in":"query","required":false,"schema":{"type":"string"},"description":"text (default) or hex"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/payment-uri":{"get":{"operationId":"compat__api_web3_payment-uri","summary":"Build an EIP-681 payment link for native coin or token","description":"Use when an agent asks a person or wallet to pay: builds an EIP-681 payment URI for a native or ERC-20 transfer on a chain, ready for a QR code. It only creates the link, nothing is sent.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"recipient","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"amount","in":"query","required":true,"schema":{"type":"string"},"description":"raw amount in smallest units","example":"1000000"},{"name":"chain_id","in":"query","required":false,"schema":{"type":"string"},"description":"chain id, default 8453"},{"name":"token","in":"query","required":false,"schema":{"type":"string"},"description":"optional ERC-20 contract","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/dex-volume":{"get":{"operationId":"compat__api_defi_dex-volume","summary":"DEX trading volume: 24h total, change and top exchanges, by chain","description":"Use when an agent needs to know where on-chain trading happens: returns 24-hour DEX volume with 1-day and 7-day change and the top exchanges, overall or for one chain, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain, e.g. Base"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/fees":{"get":{"operationId":"compat__api_defi_fees","summary":"Protocol fees: who earns the most in the last 24 hours","description":"Use when an agent compares DeFi protocols by real usage: ranks protocols by fees paid by users in the last 24 hours with 1-day and 7-day change, overall or on one chain, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/revenue":{"get":{"operationId":"compat__api_defi_revenue","summary":"Protocol revenue ranking for the last 24 hours","description":"Use when an agent evaluates DeFi fundamentals: ranks protocols by revenue kept by the protocol in the last 24 hours, which differs from gross fees, overall or on one chain, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/protocol-compare":{"get":{"operationId":"compat__api_defi_protocol-compare","summary":"Compare two to five DeFi protocols side by side","description":"Use when an agent must choose between DeFi protocols: compares up to five by TVL, 1-day and 7-day change, category, chain count and audits, and names the largest, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"protocols","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated names or slugs","example":"aave,lido"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/categories":{"get":{"operationId":"compat__api_defi_categories","summary":"DeFi sectors ranked by total value locked","description":"Use when an agent needs the structure of DeFi: ranks categories such as lending, DEXs and liquid staking by TVL with protocol count, share and the largest protocol, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-40, default 15","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/category":{"get":{"operationId":"compat__api_defi_category","summary":"Top protocols in one DeFi sector","description":"Use when an agent looks for the leaders of a DeFi sector such as Lending, Dexs or Liquid Staking: returns the largest protocols of that category with TVL and recent change, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"category","in":"query","required":true,"schema":{"type":"string"},"description":"category name","example":"Lending"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/movers":{"get":{"operationId":"compat__api_defi_movers","summary":"Biggest DeFi TVL gainers and losers","description":"Use when an agent scans for capital moving in or out: lists the protocols with the largest TVL gains and losses over 1 or 7 days, only above a minimum TVL to avoid noise, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string"},"description":"1d or 7d (default)"},{"name":"min_tvl","in":"query","required":false,"schema":{"type":"string"},"description":"minimum TVL in USD, default 10000000"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-25, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/on-chain":{"get":{"operationId":"compat__api_defi_on-chain","summary":"Largest DeFi protocols on one chain","description":"Use when an agent explores the ecosystem of a chain: returns its largest protocols by TVL on that chain only, with category and share of the chain total, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string"},"description":"chain name, e.g. Base","example":"Base"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/new-protocols":{"get":{"operationId":"compat__api_defi_new-protocols","summary":"Newest DeFi protocols with TVL","description":"Use when an agent looks for new projects early: lists the most recently added DeFi protocols with listing date, category, chains and TVL, with an optional minimum TVL. New protocols carry more risk.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"min_tvl","in":"query","required":false,"schema":{"type":"string"},"description":"minimum TVL in USD, default 100000"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/chain-history":{"get":{"operationId":"compat__api_defi_chain-history","summary":"TVL trend of a chain over 7, 30, 90 and 365 days","description":"Use when an agent judges whether a chain is growing: returns current DeFi TVL of a chain and the change over 7, 30, 90 and 365 days plus its all-time high, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string"},"description":"chain name","example":"Base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/stablecoins-on-chain":{"get":{"operationId":"compat__api_defi_stablecoins-on-chain","summary":"Stablecoin supply on one chain and its trend","description":"Use when an agent checks how much dollar liquidity a chain has: returns the stablecoin supply on a chain with 7, 30 and 90 day change, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string"},"description":"chain name","example":"Base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/project-yields":{"get":{"operationId":"compat__api_defi_project-yields","summary":"All yield pools of one DeFi project","description":"Use when an agent already trusts a protocol and wants its opportunities: lists the pools of one project with chain, token, TVL, APY and 7-day APY change, from DefiLlama. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"project","in":"query","required":true,"schema":{"type":"string"},"description":"project slug, e.g. aave-v3","example":"aave-v3"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/by-contract":{"get":{"operationId":"compat__api_price_by-contract","summary":"USD price of tokens by contract on many chains","description":"Use when an agent needs prices for token contracts, also on smaller chains: returns USD price, symbol, decimals and a confidence value for up to 20 coins in chain:address form, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"coins","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated, e.g. base:0x... or coingecko:bitcoin","example":"base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/historical":{"get":{"operationId":"compat__api_price_historical","summary":"Historical USD price of a token at a date","description":"Use when an agent values a past payment, for example for bookkeeping: returns the USD price of a coin or token contract closest to a given date or Unix time, with the actual timestamp used, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"},{"name":"date","in":"query","required":true,"schema":{"type":"string"},"description":"YYYY-MM-DD or Unix seconds","example":"2025-01-01"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/chart":{"get":{"operationId":"compat__api_price_chart","summary":"Daily price history with return, high, low and volatility","description":"Use when an agent needs the recent price behaviour of a token: returns up to 90 daily prices with total return, high, low and daily volatility for a coin or contract, from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"2-90, default 30","example":"7"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fx/history":{"get":{"operationId":"compat__api_fx_history","summary":"Exchange rate history with change, high and low","description":"Use when an agent looks at a currency pair over time: returns daily ECB reference rates for a period up to one year with change, high, low and average, through the Frankfurter API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"base","in":"query","required":true,"schema":{"type":"string"},"description":"base currency","example":"EUR"},{"name":"symbol","in":"query","required":true,"schema":{"type":"string"},"description":"quote currency","example":"USD"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"2-365, default 30"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fx/strength":{"get":{"operationId":"compat__api_fx_strength","summary":"Currency strength: how one currency moved against all others","description":"Use when an agent wants the big picture of a currency: compares it with about 30 ECB currencies over a period and returns the average move, strongest and weakest pairs, through the Frankfurter API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"currency","in":"query","required":true,"schema":{"type":"string"},"description":"currency code","example":"USD"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"2-365, default 30"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/news/hn-feed":{"get":{"operationId":"compat__api_news_hn-feed","summary":"Live Hacker News feeds: top, new, best, Ask, Show and jobs","description":"Use when an agent follows what developers talk about right now: returns the current top, new, best, Ask HN, Show HN or job stories with title, link, points, comment count and age. Author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"feed","in":"query","required":false,"schema":{"type":"string"},"description":"top (default), new, best, ask, show or job"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10","example":"3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/news/wikipedia-trending":{"get":{"operationId":"compat__api_news_wikipedia-trending","summary":"Most read Wikipedia articles of a day","description":"Use when an agent measures what the world pays attention to: returns the most read English Wikipedia articles of a day with views, rank and short description.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string"},"description":"optional date, default yesterday"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/news/on-this-day":{"get":{"operationId":"compat__api_news_on-this-day","summary":"Historical events on a calendar day","description":"Use when an agent writes daily content or needs context for a date: returns selected historical events for a month and day with year, text and a Wikipedia link.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"month","in":"query","required":true,"schema":{"type":"string"},"description":"1-12","example":"11"},{"name":"day","in":"query","required":true,"schema":{"type":"string"},"description":"1-31","example":"22"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/gov/federal-register":{"get":{"operationId":"compat__api_gov_federal-register","summary":"Search US Federal Register rules and notices","description":"Use when an agent tracks US regulation on a topic: searches the official Federal Register for rules, proposed rules and notices and returns title, type, agencies, date, abstract and link, newest first.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"stablecoin"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"optional RULE, PRORULE or NOTICE"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/crates":{"get":{"operationId":"compat__api_pkg_crates","summary":"Rust crate report: version, license, downloads, age","description":"Use when a coding agent evaluates a Rust dependency: returns latest version, license, total and recent downloads, version count, last update and repository from crates.io. Owner names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"crate name","example":"serde"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/rubygems":{"get":{"operationId":"compat__api_pkg_rubygems","summary":"Ruby gem report: version, license, downloads","description":"Use when a coding agent evaluates a Ruby dependency: returns latest version, licenses, total and version downloads, release date, dependency count and links from RubyGems. Author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"gem name","example":"rails"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/nuget":{"get":{"operationId":"compat__api_pkg_nuget","summary":".NET NuGet package: latest stable and all versions","description":"Use when a coding agent evaluates a .NET dependency: returns latest stable and latest prerelease version and version count of a NuGet package.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"package id","example":"Newtonsoft.Json"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/go-module":{"get":{"operationId":"compat__api_pkg_go-module","summary":"Go module: latest version, release time and known versions","description":"Use when a coding agent evaluates a Go dependency: reads the official Go module proxy and returns latest version, its release time, days since release and known version count.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"module","in":"query","required":true,"schema":{"type":"string"},"description":"module path, e.g. github.com/gin-gonic/gin","example":"github.com/gin-gonic/gin"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/docker-image":{"get":{"operationId":"compat__api_pkg_docker-image","summary":"Docker Hub image: pulls, stars, official status and last update","description":"Use when an agent chooses a container image: returns pulls, stars, last update, official status and the newest tags of a public Docker Hub image.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"image","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. nginx or bitnami/redis","example":"nginx"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/end-of-life":{"get":{"operationId":"compat__api_pkg_end-of-life","summary":"Is this software version still supported?","description":"Use when an agent checks whether a runtime or product is out of support: returns release cycles, latest patch, support and end-of-life dates for products like nodejs, python or ubuntu, and evaluates one version if given.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"product","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. nodejs","example":"nodejs"},{"name":"version","in":"query","required":false,"schema":{"type":"string"},"description":"optional cycle, e.g. 20"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/npm-search":{"get":{"operationId":"compat__api_pkg_npm-search","summary":"Find npm packages for a task","description":"Use when a coding agent looks for a library: searches npm by keywords and returns package, version, description, date and quality, popularity and maintenance scores. Author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"x402"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/lang/define":{"get":{"operationId":"compat__api_lang_define","summary":"English dictionary: meanings, phonetics and synonyms","description":"Use when an agent needs the meaning of an English word: returns phonetics, parts of speech, definitions, examples and synonyms from the Free Dictionary API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"word","in":"query","required":true,"schema":{"type":"string"},"description":"English word","example":"agent"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/lang/related-words":{"get":{"operationId":"compat__api_lang_related-words","summary":"Words with a similar meaning or related to a topic","description":"Use when an agent writes copy, tags or search queries: returns words with a similar meaning or words associated with a term, ranked by strength, from the Datamuse API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"word","in":"query","required":true,"schema":{"type":"string"},"description":"word or short phrase","example":"payment"},{"name":"mode","in":"query","required":false,"schema":{"type":"string"},"description":"similar (default) or associated"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 15"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/lang/rhymes":{"get":{"operationId":"compat__api_lang_rhymes","summary":"Rhymes and near rhymes of an English word","description":"Use when an agent writes slogans, songs or names: returns perfect or near rhymes of a word with syllable count, ranked by commonness, from the Datamuse API.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"word","in":"query","required":true,"schema":{"type":"string"},"description":"English word","example":"token"},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"perfect (default) or near"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 15"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/macro/country":{"get":{"operationId":"compat__api_macro_country","summary":"Country economy report: GDP, growth, inflation, jobs, population","description":"Use when an agent needs the economic picture of a country: returns the latest GDP, growth, GDP per capita, inflation, unemployment, population, internet use and life expectancy with data year, from the World Bank (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO code, e.g. DE","example":"DE"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/macro/compare":{"get":{"operationId":"compat__api_macro_compare","summary":"Compare up to eight countries on one economic indicator","description":"Use when an agent ranks countries on GDP, growth, inflation, unemployment, population or similar: returns the latest value and year for up to eight countries, sorted, from the World Bank (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"countries","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated ISO codes","example":"DE,FR,IT"},{"name":"indicator","in":"query","required":true,"schema":{"type":"string"},"description":"gdp_usd, gdp_growth_pct, gdp_per_capita_usd, inflation_pct, unemployment_pct, population, internet_users_pct, life_expectancy","example":"inflation_pct"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/macro/us-debt":{"get":{"operationId":"compat__api_macro_us-debt","summary":"US national debt today and its recent change","description":"Use when an agent needs an official US fiscal figure: returns total public debt, debt held by the public and intragovernmental holdings with 30-day and one-year change, from the US Treasury.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/energy/uk-carbon":{"get":{"operationId":"compat__api_energy_uk-carbon","summary":"UK grid carbon intensity now and generation mix","description":"Use when an agent schedules energy use or reports emissions: returns current carbon intensity of the UK grid, its index and the generation mix by fuel, from the National Grid ESO Carbon Intensity API (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/energy/day-ahead":{"get":{"operationId":"compat__api_energy_day-ahead","summary":"European day-ahead electricity prices with cheapest hours","description":"Use when an agent plans flexible power use: returns day-ahead electricity prices for a European bidding zone with average, low, high and the cheapest hours, from Energy-Charts (Fraunhofer ISE, CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"zone","in":"query","required":false,"schema":{"type":"string"},"description":"DE-LU (default), AT, FR, NL, BE, CH, DK1, SE3, NO2, ES, IT-North or PL"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/space/launches":{"get":{"operationId":"compat__api_space_launches","summary":"Upcoming rocket launches","description":"Use when an agent tracks space events: returns upcoming orbital launches with mission, rocket, provider, launch site, time and status, from The Space Devs Launch Library 2. Cached because the free API is rate limited.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-10, default 5","example":"3"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/space/weather":{"get":{"operationId":"compat__api_space_weather","summary":"Space weather: geomagnetic storm level now","description":"Use when an agent assesses risks to satellites, GPS or power grids: returns the latest planetary K index, the NOAA G storm scale and the recent trend, from NOAA SWPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/nature/events":{"get":{"operationId":"compat__api_nature_events","summary":"Active natural events worldwide: wildfires, storms, volcanoes","description":"Use when an agent monitors disruption risks: returns currently open natural events such as wildfires, severe storms, volcanoes and floods with category, last position and date, from NASA EONET.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"optional: wildfires, severeStorms, volcanoes, floods, seaLakeIce, earthquakes"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/nature/species":{"get":{"operationId":"compat__api_nature_species","summary":"Identify a species name and its taxonomy","description":"Use when an agent checks a plant or animal name: matches a scientific or common name against the GBIF backbone and returns accepted name, rank, kingdom to genus, status and confidence.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"},"description":"species name","example":"Puma concolor"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/books/search":{"get":{"operationId":"compat__api_books_search","summary":"Search books by title or topic","description":"Use when an agent looks for literature: searches Open Library and returns title, first publication year, edition count, subjects, ISBN and link. Author names are left out of the result unless they are part of the title.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"title or topic","example":"mastering bitcoin"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/art/search":{"get":{"operationId":"compat__api_art_search","summary":"Search public-domain artworks with image links","description":"Use when an agent needs free-to-use art: searches the Art Institute of Chicago for public-domain works and returns title, date, medium, origin and an image URL.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words","example":"water lilies"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 6"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/lightning":{"get":{"operationId":"compat__api_btc_lightning","summary":"Lightning Network size: capacity, channels, nodes and fees","description":"Use when an agent evaluates Bitcoin payments over Lightning: returns total capacity, channels, nodes, Tor share, average channel size and median fee rate with the weekly change, from mempool.space.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/pools":{"get":{"operationId":"compat__api_btc_pools","summary":"Bitcoin mining pool shares and concentration","description":"Use when an agent assesses Bitcoin decentralization: ranks mining pools by share of blocks in a period and reports how few pools hold more than half the hashrate, from mempool.space.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string"},"description":"24h, 3d, 1w (default), 1m or 3m"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/block-report":{"get":{"operationId":"compat__api_btc_block-report","summary":"Bitcoin block report: size, fees, miner reward and age","description":"Use when an agent inspects a Bitcoin block: from a height, or the tip, returns hash, time, age, transactions, size, weight, total fees, median fee rate, reward and mining pool, from mempool.space.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"height","in":"query","required":false,"schema":{"type":"string"},"description":"optional block height"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/net/asn-prefixes":{"get":{"operationId":"compat__api_net_asn-prefixes","summary":"IP prefixes announced by a network (ASN)","description":"Use when an agent maps the infrastructure of a provider: returns the IPv4 and IPv6 prefixes an autonomous system currently announces, with counts, from RIPEstat.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"asn","in":"query","required":true,"schema":{"type":"string"},"description":"e.g. AS13335","example":"AS13335"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-100, default 20","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/net/rpki":{"get":{"operationId":"compat__api_net_rpki","summary":"RPKI check: may this network announce this prefix?","description":"Use when an agent checks a route for hijack risk: validates an origin ASN and IP prefix against RPKI and returns valid, invalid or unknown with the matching authorizations, from RIPEstat.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"asn","in":"query","required":true,"schema":{"type":"string"},"description":"origin ASN","example":"AS13335"},{"name":"prefix","in":"query","required":true,"schema":{"type":"string"},"description":"IP prefix","example":"1.1.1.0/24"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/net/bgp-visibility":{"get":{"operationId":"compat__api_net_bgp-visibility","summary":"Is this IP prefix visible on the internet?","description":"Use when an agent investigates an outage: returns how many global routing peers see an IP prefix, its origin, first and last seen data, from RIPEstat routing status.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"resource","in":"query","required":true,"schema":{"type":"string"},"description":"IP prefix, e.g. 1.1.1.0/24","example":"8.8.8.0/24"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/seller-compare":{"get":{"operationId":"compat__api_x402_seller-compare","summary":"Compare x402 sellers on routes, payers, calls, price","description":"Use when an agent decides between x402 sellers: compares two to five hosts on route count, strongest route by paying wallets, 30-day calls, median price and estimated volume, from the daily Bazaar snapshot.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"hosts","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated hostnames","example":"api.onesource.io,blockrun.ai"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/seller-routes":{"get":{"operationId":"compat__api_x402_seller-routes","summary":"All listed routes of one x402 seller","description":"Use when an agent explores what one x402 seller offers: lists its Bazaar routes with price, paying wallets, 30-day calls and description, sorted by paying wallets.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"},"description":"seller hostname","example":"api.onesource.io"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-50, default 15","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/price-benchmark":{"get":{"operationId":"compat__api_x402_price-benchmark","summary":"What do x402 services for a topic cost?","description":"Use when an agent or seller needs a fair price for a topic: returns count, minimum, quartiles, median and maximum of listed x402 prices, plus the median among services with at least two paying wallets.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic words","example":"weather"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/find-alternative":{"get":{"operationId":"compat__api_x402_find-alternative","summary":"Find similar x402 services to one you use","description":"Use when a service is down or too expensive: takes a listed x402 URL and returns similar services from other sellers, ranked by shared keywords and paying wallets, with the price difference.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"listed service URL","example":"https://keyring-agent.blockchhub.link/api/send-token"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/cheapest":{"get":{"operationId":"compat__api_x402_cheapest","summary":"Cheapest x402 services for a topic that people actually pay for","description":"Use when an agent has a tight budget: returns the cheapest listed x402 services for a topic that reach a minimum number of paying wallets, so unused listings do not win on price alone.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic words","example":"token"},{"name":"min_payers","in":"query","required":false,"schema":{"type":"string"},"description":"default 2"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-25, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/price-outliers":{"get":{"operationId":"compat__api_x402_price-outliers","summary":"Overpriced x402 services in a topic","description":"Use when an agent is about to pay in an unfamiliar niche: flags listed services priced at least a chosen multiple above the topic median, so an agent can avoid surprisingly expensive calls.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic words","example":"token"},{"name":"multiple","in":"query","required":false,"schema":{"type":"string"},"description":"2-100, default 5"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-25, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/concentration":{"get":{"operationId":"compat__api_x402_concentration","summary":"How concentrated is the x402 market?","description":"Use when an agent assesses x402 market health: returns the share of calls held by the top 1, 5 and 20 sellers and a Herfindahl index, from the daily Bazaar snapshot.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/new-sellers":{"get":{"operationId":"compat__api_x402_new-sellers","summary":"Sellers that newly appeared in the x402 Bazaar","description":"Use when an agent watches for new x402 supply: lists hosts in the newest snapshot that were absent from the oldest stored one, with route count and paying wallets.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-30, default 10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/price-histogram":{"get":{"operationId":"compat__api_x402_price-histogram","summary":"Distribution of x402 prices across the market","description":"Use when a seller sets a price or an agent plans a budget: counts listed x402 services in price bands and shows the share of services and paying wallets in each band.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/keyword-demand":{"get":{"operationId":"compat__api_x402_keyword-demand","summary":"Compare demand for up to eight x402 keywords","description":"Use when a builder chooses what to sell: compares keywords by listed services, strongest route by paying wallets, 30-day calls and median price, so demand and supply are visible side by side.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"keywords","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated keywords","example":"token,weather"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/mx":{"get":{"operationId":"compat__api_dns_mx","summary":"Mail servers of a domain and the provider behind them","description":"Use when an agent checks whether a domain can receive email: returns MX hosts by priority, detects the mail provider and flags domains with no mail or a null MX.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/caa":{"get":{"operationId":"compat__api_dns_caa","summary":"Which certificate authorities may issue for a domain","description":"Use when an agent audits TLS policy: reads CAA records and returns allowed issuers, wildcard rules and whether any certificate authority may issue because no CAA exists.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/ns":{"get":{"operationId":"compat__api_dns_ns","summary":"Nameservers of a domain and its DNS provider","description":"Use when an agent identifies who runs DNS for a domain: returns nameservers, the detected provider and whether at least two nameserver domains give redundancy.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/txt-services":{"get":{"operationId":"compat__api_dns_txt-services","summary":"Which services has a domain verified in DNS?","description":"Use when an agent profiles an organisation's tools: reads TXT records and names the SaaS services with a domain verification token. Token values are not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/soa":{"get":{"operationId":"compat__api_dns_soa","summary":"Zone SOA: serial, refresh and TTL timers","description":"Use when an agent checks DNS zone health or spots recent changes: returns primary nameserver, serial, refresh, retry, expiry and minimum TTL. The contact mailbox is left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/reverse":{"get":{"operationId":"compat__api_dns_reverse","summary":"Reverse DNS: host names for an IP address","description":"Use when an agent identifies an IP address: returns its PTR host names and checks whether each forward-resolves back to the same IP, which makes spoofed names visible.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"ip","in":"query","required":true,"schema":{"type":"string"},"description":"IPv4 address","example":"1.1.1.1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/spf":{"get":{"operationId":"compat__api_dns_spf","summary":"SPF record check with lookups and issues","description":"Use when an agent checks if a domain's mail can be spoofed: parses the SPF record, counts top-level DNS lookups, lists includes and flags dangerous or broken settings.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/dmarc":{"get":{"operationId":"compat__api_dns_dmarc","summary":"DMARC policy check","description":"Use when an agent checks protection against email spoofing: parses DMARC and returns policy, subdomain policy, percentage, alignment and issues. Report mailboxes are not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/dkim":{"get":{"operationId":"compat__api_dns_dkim","summary":"DKIM key check for a selector","description":"Use when an agent debugs email signing: looks up the DKIM record for a selector and returns whether a key exists, key type, approximate key size and whether it was revoked.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"},{"name":"selector","in":"query","required":true,"schema":{"type":"string"},"description":"DKIM selector, e.g. google","example":"google"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/bimi":{"get":{"operationId":"compat__api_dns_bimi","summary":"BIMI brand logo record for email","description":"Use when an agent checks a brand's email setup: reads the default BIMI record and returns whether a logo and a verified mark certificate are published.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"cnn.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/mail-transport":{"get":{"operationId":"compat__api_dns_mail-transport","summary":"MTA-STS and TLS reporting for a domain","description":"Use when an agent audits whether mail to a domain must use encryption: checks the MTA-STS record and policy mode and whether TLS reporting is configured.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/email-security":{"get":{"operationId":"compat__api_dns_email-security","summary":"Email security score for a domain","description":"Use when an agent audits how well a domain resists email spoofing: combines MX, SPF, DMARC, MTA-STS and TLS reporting into a 0-100 score with a grade and a concrete fix list.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/security-txt":{"get":{"operationId":"compat__api_site_security-txt","summary":"Does a site publish a security.txt?","description":"Use when an agent needs to know how a site handles vulnerability reports: fetches security.txt and returns contact channel types, expiry, policy link and whether it has expired. Contact addresses are not returned.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/robots-report":{"get":{"operationId":"compat__api_site_robots-report","summary":"robots.txt report with AI crawler rules","description":"Use when an agent is about to crawl a site: parses robots.txt and returns user agent groups, rule counts, sitemaps, crawl delay and which known AI crawlers are blocked from the whole site.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/llms-txt":{"get":{"operationId":"compat__api_site_llms-txt","summary":"Does a site publish an llms.txt for agents?","description":"Use when an agent looks for the machine-readable guide of a site: checks llms.txt and returns title, summary, sections, link count and the first links.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"docs.anthropic.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/hsts":{"get":{"operationId":"compat__api_site_hsts","summary":"HSTS check: is HTTPS enforced by the browser?","description":"Use when an agent audits transport security: reads the Strict-Transport-Security header and returns max-age in days, subdomain coverage, preload flag and whether it meets the preload requirements.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/final-url":{"get":{"operationId":"compat__api_site_final-url","summary":"Where does this link end up?","description":"Use when an agent is about to follow or share a link: follows up to three redirects safely and returns final URL, status, whether the host changed and whether the destination uses HTTPS.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"full URL","example":"https://github.com/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/cache-policy":{"get":{"operationId":"compat__api_site_cache-policy","summary":"HTTP caching policy of a URL","description":"Use when an agent audits speed or freshness: returns Cache-Control directives, age, ETag and Last-Modified presence, CDN cache status and a plain verdict on cacheability.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"full URL","example":"https://github.com/"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/stack-headers":{"get":{"operationId":"compat__api_site_stack-headers","summary":"Detect CDN and server technology from headers","description":"Use when an agent profiles a website: detects CDN, hosting and server software from response headers alone, and reports whether version information is exposed.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/fee-compare":{"get":{"operationId":"compat_fee-compare","summary":"Live gas price across EVM chains","description":"Use when an agent chooses where to transact: reads the current gas price on up to 12 EVM chains and returns them sorted, with the native-token cost of a simple 21,000-gas transfer.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"chains","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated chains"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/heads":{"get":{"operationId":"compat_heads","summary":"Are EVM chains producing blocks right now?","description":"Use when an agent checks chain health before acting: reads the newest block on up to 12 EVM chains and returns height, age in seconds and a status of live, slow or stalled.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"chains","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated chains"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-trend":{"get":{"operationId":"compat_gas-trend","summary":"Base fee trend and block fullness","description":"Use when an agent times a transaction: reads the last blocks of a chain and returns the current, average, lowest and highest base fee, block fullness and whether fees are rising.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base"},{"name":"blocks","in":"query","required":false,"schema":{"type":"string"},"description":"5-100, default 20"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/address-types":{"get":{"operationId":"compat_address-types","summary":"Batch check: wallet, contract or delegated account","description":"Use when an agent is about to pay or approve several addresses: classifies up to ten addresses on a chain as wallet, contract or EIP-7702 delegated account, with bytecode size.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745,0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/batch-native-balances":{"get":{"operationId":"compat_batch-native-balances","summary":"Native coin balances for up to ten addresses","description":"Use when an agent checks several wallets at once, for example gas readiness: returns the native balance of up to ten addresses on one chain with the total.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745,0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-holdings":{"get":{"operationId":"compat_token-holdings","summary":"One token balance for up to ten wallets","description":"Use when an agent checks who holds enough of a token: returns the balance of one ERC-20 token for up to ten addresses, using the token's decimals and symbol from the chain.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"},"description":"token contract","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated addresses","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/usdc-supply":{"get":{"operationId":"compat_usdc-supply","summary":"USDC supply per chain, read from the contracts","description":"Use when an agent compares dollar liquidity across chains: reads USDC totalSupply directly from the contract on each supported chain and returns amount and share.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/web3/decode-log":{"get":{"operationId":"compat__api_web3_decode-log","summary":"Decode a token event log without an ABI","description":"Use when an agent reads raw logs: decodes ERC-20 and ERC-721 Transfer and Approval, ApprovalForAll and ERC-1155 TransferSingle from topics and data, with no network call.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"topics","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated topics","example":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef,0x0000000000000000000000007bfabae4e0103b84298ecf5ee88141219862d745,0x000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913"},{"name":"data","in":"query","required":false,"schema":{"type":"string"},"description":"log data hex, default 0x","example":"0x00000000000000000000000000000000000000000000000000000000000f4240"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/chain":{"get":{"operationId":"compat__api_brief_chain","summary":"One-call chain brief: TVL trend, stablecoins, top protocols","description":"Use when an agent needs the state of a chain in one call: combines DeFi TVL trend, stablecoin supply and the five largest protocols, all from DefiLlama.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string"},"description":"chain name","example":"Base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/bitcoin":{"get":{"operationId":"compat__api_brief_bitcoin","summary":"One-call Bitcoin network brief","description":"Use when an agent needs the state of Bitcoin in one call: combines the newest block, mining pool concentration and Lightning Network size, from mempool.space.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/tech-pulse":{"get":{"operationId":"compat__api_brief_tech-pulse","summary":"What the tech world talks about today","description":"Use when an agent writes a daily update or looks for trends: combines Hacker News top and Show stories with the most read Wikipedia articles of yesterday.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-10 per section, default 5","example":"2"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/defi-sector":{"get":{"operationId":"compat__api_brief_defi-sector","summary":"DeFi sector brief with leaders and market movers","description":"Use when an agent studies a DeFi sector such as Lending or Dexs: combines the sector leaders with the overall largest movers of the week and the sector's rank among all categories.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"category","in":"query","required":true,"schema":{"type":"string"},"description":"category name","example":"Lending"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/infra-risk":{"get":{"operationId":"compat__api_brief_infra-risk","summary":"Global infrastructure risk: space weather and natural events","description":"Use when an agent watches for disruption to networks, logistics or power: combines the geomagnetic storm level with open wildfires, severe storms and volcanic events from NOAA and NASA.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/token-price":{"get":{"operationId":"compat__api_brief_token-price","summary":"Token price brief: now, 7 days and 30 days","description":"Use when an agent needs the price picture of a token in one call: combines the current price with 7-day and 30-day return, range and volatility, from DefiLlama. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/sudoku-solve":{"get":{"operationId":"compat__api_fun_sudoku-solve","summary":"Solve a Sudoku and check that the solution is unique","description":"Use when an agent solves or validates a puzzle: takes 81 cells with 0 or dot for blanks and returns the solved grid and whether the puzzle has exactly one solution.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"puzzle","in":"query","required":true,"schema":{"type":"string"},"description":"81 characters, 0 or . for blanks","example":"530070000600195000098000060800060003400803001700020006060000280000419005000080079"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/tictactoe":{"get":{"operationId":"compat__api_fun_tictactoe","summary":"Perfect Tic-Tac-Toe move","description":"Use when an agent plays or teaches Tic-Tac-Toe: takes a board of nine x, o or dash and returns whose turn it is, the optimal move and the result with perfect play.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"board","in":"query","required":true,"schema":{"type":"string"},"description":"9 characters of x, o and -","example":"---------"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/nim":{"get":{"operationId":"compat__api_fun_nim","summary":"Optimal Nim move for any heaps","description":"Use when an agent plays Nim or teaches game theory: takes up to ten heap sizes and returns the nim-sum, whether the position is winning and the optimal move.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"heaps","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated heap sizes","example":"3,4,5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-compare":{"get":{"operationId":"compat_token-compare","summary":"Name, symbol, decimals and total supply of 2-5 ERC-20 tokens side by side","description":"Use when an agent needs to compare several ERC-20 tokens at once: reads name, symbol, decimals and total supply of 2 to 5 contracts on one EVM chain directly from the chain. A token that cannot be read is marked. If none can be read the call fails and nothing is charged.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"tokens","in":"query","required":true,"schema":{"type":"string"},"description":"comma-separated token contracts, 2-5","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/receipt-batch":{"get":{"operationId":"compat_receipt-batch","summary":"Status, block and gas used for 1-10 transaction hashes in one call","description":"Use when an agent needs the status of several transactions at once: runs eth_getTransactionReceipt for each hash (1-10, comma separated) on Ethereum (default) or Base and returns status (success, failed, not_found_or_pending), block number and gas used per hash. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"hashes","in":"query","required":true,"schema":{"type":"string"},"description":"1-10 comma separated 0x tx hashes","example":"0x1111111111111111111111111111111111111111111111111111111111111111"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/block-activity":{"get":{"operationId":"compat_block-activity","summary":"Transaction count and gas use of the latest blocks","description":"Use when an agent wants to know how busy a chain is right now: reads the latest 5-30 blocks (default 10) on Base (default) or Ethereum and returns per block number, time, transaction count and gas used, plus averages and the busiest block. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\"","example":"base"},{"name":"blocks","in":"query","required":false,"schema":{"type":"string"},"description":"number of latest blocks, 5-30 (default 10)","example":"10"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/block-eta":{"get":{"operationId":"compat_block-eta","summary":"Estimated time until a future block height is mined","description":"Use when an agent needs to know when a future block will arrive: uses the average block time of the last 100 blocks on Base (default) or Ethereum. A past or current height returns its real timestamp from the chain. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"height","in":"query","required":true,"schema":{"type":"string"},"description":"target block number","example":"99999999"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-budget":{"get":{"operationId":"compat_gas-budget","summary":"Gas cost of N transactions and how many fit a native-token budget","description":"Use when an agent needs to plan spending on-chain: reads the current eth_gasPrice on Base (default) or Ethereum and returns the cost in native token of gas_units gas, and how many such transactions fit into budget_native. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"gas_units","in":"query","required":false,"schema":{"type":"string"},"description":"gas per transaction, 21000-10000000 (default 21000)","example":"21000"},{"name":"budget_native","in":"query","required":false,"schema":{"type":"string"},"description":"budget in native token, e.g. 0.01 (default 0.01)","example":"0.01"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/correlation":{"get":{"operationId":"compat__api_price_correlation","summary":"Correlation of daily returns between two tokens","description":"Use when an agent checks how two tokens move together: fetches daily prices for two coins or contracts over 7-90 days from DefiLlama and returns the Pearson correlation of daily returns, the number of data points and both total returns. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"coin_a","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"},{"name":"coin_b","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:ethereum or chain:0x...","example":"coingecko:ethereum"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"7-90, default 30","example":"30"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/drawdown":{"get":{"operationId":"compat__api_price_drawdown","summary":"Maximum drawdown of a token with peak and trough dates","description":"Use when an agent measures downside risk: fetches daily prices for a coin or contract over 7-90 days from DefiLlama and returns the maximum peak-to-trough drawdown in percent, with the peak and trough dates and the current drawdown from the period high. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"7-90, default 90","example":"90"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/compare":{"get":{"operationId":"compat__api_price_compare","summary":"Compare 2-5 tokens: return, high, low and volatility","description":"Use when an agent ranks several tokens over the same window: fetches daily prices for 2-5 coins or contracts over 2-90 days from DefiLlama and returns for each one the total return, period high and low, and annualised volatility of daily returns, sorted by return. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"coins","in":"query","required":true,"schema":{"type":"string"},"description":"comma list, e.g. coingecko:bitcoin,coingecko:ethereum","example":"coingecko:bitcoin,coingecko:ethereum"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"2-90, default 30","example":"30"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/price/moving-averages":{"get":{"operationId":"compat__api_price_moving-averages","summary":"Simple 7-day and 30-day moving averages and trend signal for a token","description":"Use when an agent needs a simple trend read for one token: fetches daily prices for 30-90 days from DefiLlama and returns the 7-day and 30-day simple moving averages, the latest price, the percent distance of the price from each average, and whether the 7-day average is above the 30-day average. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"coin","in":"query","required":true,"schema":{"type":"string"},"description":"coingecko:bitcoin or chain:0x...","example":"coingecko:bitcoin"},{"name":"days","in":"query","required":false,"schema":{"type":"string"},"description":"30-90, default 60","example":"60"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fx/convert-at":{"get":{"operationId":"compat__api_fx_convert-at","summary":"Convert an amount between currencies at the ECB rate of a past date","description":"Use when an agent needs a historical currency conversion for a past date: converts an amount from one currency to another at the European Central Bank euro reference rate published for that date (the nearest earlier ECB date if the day had no fixing). Covers about 30 currencies. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"string"},"description":"number, e.g. 100","example":"100"},{"name":"from","in":"query","required":true,"schema":{"type":"string"},"description":"currency code, e.g. USD","example":"USD"},{"name":"to","in":"query","required":true,"schema":{"type":"string"},"description":"currency code, e.g. EUR","example":"EUR"},{"name":"date","in":"query","required":true,"schema":{"type":"string"},"description":"YYYY-MM-DD, a past date (from 1999-01-04)","example":"2024-06-03"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fx/basket":{"get":{"operationId":"compat__api_fx_basket","summary":"Latest ECB reference rates of one base currency against 2-10 others","description":"Use when an agent needs the latest official European Central Bank reference rates for one base currency against several target currencies at once, in one call. Returns the rate per target, the ECB publication date and the source. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"base","in":"query","required":true,"schema":{"type":"string"},"description":"currency code, e.g. USD","example":"USD"},{"name":"symbols","in":"query","required":true,"schema":{"type":"string"},"description":"comma list of 2-10 currency codes, e.g. EUR,GBP,JPY","example":"EUR,GBP,JPY"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/chain-rank":{"get":{"operationId":"compat__api_defi_chain-rank","summary":"Blockchains ranked by DeFi total value locked (TVL), with each chain share of total","description":"Use when an agent needs a ranking of blockchains by DeFi total value locked (TVL) from DefiLlama: returns the top N chains by TVL in USD, their share of the summed TVL of all listed chains and their native token symbol. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"integer 1-50, default 15","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/chain-compare":{"get":{"operationId":"compat__api_defi_chain-compare","summary":"Compare 2-5 blockchains by DeFi TVL with 7, 30 and 90 day change","description":"Use when an agent needs to compare DeFi total value locked (TVL) across 2-5 blockchains: returns current TVL in USD and the percentage change over the last 7, 30 and 90 days per chain, from DefiLlama daily history. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"chains","in":"query","required":true,"schema":{"type":"string"},"description":"comma list of 2-5 chain names as DefiLlama spells them, e.g. Ethereum,Solana,Base","example":"Ethereum,Solana"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/defi/stable-yields":{"get":{"operationId":"compat__api_defi_stable-yields","summary":"Top stablecoin DeFi pool yields (APY) above a TVL floor, optionally per chain","description":"Use when an agent needs current stablecoin pool APY figures from DefiLlama: returns the top N stablecoin pools sorted by APY, filtered by minimum TVL and optional chain, with project, symbol, TVL, base and reward APY. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"},"description":"optional chain name, e.g. Ethereum, Base, Solana","example":"Ethereum"},{"name":"min_tvl","in":"query","required":false,"schema":{"type":"string"},"description":"optional minimum TVL in USD, default 1000000"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"integer 1-25, default 10","example":"5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/fee-cost":{"get":{"operationId":"compat__api_btc_fee-cost","summary":"Bitcoin transaction cost in sats and BTC at current fast, 30-min, 1-hour and economy fee rates","description":"Use when an agent needs the cost of a Bitcoin transaction of a given size: returns the fee in sats and BTC for a transaction of N virtual bytes at the current fastest, 30-minute, 1-hour and economy fee rates from mempool.space recommended fees. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"vbytes","in":"query","required":false,"schema":{"type":"string"},"description":"integer 100-100000, default 140 (virtual size of the transaction)","example":"140"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/btc/difficulty":{"get":{"operationId":"compat__api_btc_difficulty","summary":"Bitcoin difficulty adjustment progress, estimated change and retarget date","description":"Use when an agent needs the state of the current Bitcoin difficulty adjustment period: returns progress percent, remaining blocks and time, estimated difficulty change percent, estimated retarget date, and the previous retarget change, from mempool.space. Data only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/route-history":{"get":{"operationId":"compat__api_x402_route-history","summary":"Paying wallets, calls and price history of one x402 Bazaar listing across stored daily snapshots","description":"Use when an agent wants to know how one x402 service listed in the CDP Bazaar has performed: give its URL and get the number of unique paying wallets, calls and price across all stored daily Bazaar snapshots (404 if the URL was never listed). Data from public Bazaar discovery only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"the listed resource URL, e.g. https://example.com/api","example":"https://keyring-agent.blockchhub.link/api/send-native"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/budget-plan":{"get":{"operationId":"compat__api_x402_budget-plan","summary":"How many x402 calls a budget buys at the three cheapest paid services of a topic","description":"Use when an agent plans spending in USDC on x402 services: given a topic and a budget in USDC (0.001-100), returns how many calls the budget buys at each of the three cheapest listed services with at least two paying wallets, from the daily Bazaar snapshot.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"topic words","example":"token"},{"name":"budget_usdc","in":"query","required":true,"schema":{"type":"string"},"description":"0.001-100","example":"1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/ai-readiness":{"get":{"operationId":"compat__api_site_ai-readiness","summary":"Can AI agents read this website? Crawler and guide check","description":"Use when an agent prepares to read or cite a website: combines robots.txt AI-crawler rules, the llms.txt guide and the server stack into one readiness report; a part that fails is listed in unavailable.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"docs.anthropic.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/site/trust-report":{"get":{"operationId":"compat__api_site_trust-report","summary":"One-call trust report for a domain: HTTPS policy, security contact, CAA and email protections","description":"Use when an agent checks whether a domain is safe to deal with: combines the HSTS policy, the security.txt disclosure contact, the CAA certificate policy and the email-security records into one report, with a list of missing protections; a part that fails is listed in unavailable.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"domain name","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/dns/email-security-batch":{"get":{"operationId":"compat__api_dns_email-security-batch","summary":"Compare email security (SPF, DMARC) for 2-5 domains in one call","description":"Use when an agent screens several sender or vendor domains for phishing risk at once: runs the email-security check on each domain and returns them ranked by score; a domain that fails is marked with an error instead of stopping the batch.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"domains","in":"query","required":true,"schema":{"type":"string"},"description":"comma list of 2-5 domain names","example":"github.com,wikipedia.org"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/eol-batch":{"get":{"operationId":"compat__api_pkg_eol-batch","summary":"Check support status of 2-8 software versions in one call","description":"Use when an agent audits a stack: takes 2-8 product:version pairs (e.g. nodejs:20,python:3.9,ubuntu:22.04), checks each against endoflife.date and lists the ones already out of support; an item that fails is marked with an error instead of stopping the batch.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"items","in":"query","required":true,"schema":{"type":"string"},"description":"comma list of product:version pairs, 2-8 items, e.g. nodejs:20,python:3.9","example":"nodejs:20,python:3.9"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/pkg/crates-compare":{"get":{"operationId":"compat__api_pkg_crates-compare","summary":"Compare 2-5 Rust crates on recent downloads and freshness in one call","description":"Use when a coding agent picks between Rust dependencies: runs the crates.io report on each crate and ranks them by recent downloads, with days since last update; a crate that fails is marked with an error instead of stopping the comparison.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"names","in":"query","required":true,"schema":{"type":"string"},"description":"comma list of 2-5 crate names, e.g. serde,tokio","example":"serde,tokio"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/news/hn-search":{"get":{"operationId":"compat__api_news_hn-search","summary":"Search Hacker News stories by keyword","description":"Use when an agent looks up what developers said about a topic: searches Hacker News story titles and returns matching stories with title, link, points, comment count and date. Author names are left out.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"search words, e.g. rust","example":"rust"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1-20, default 8"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/news/wiki-summary":{"get":{"operationId":"compat__api_news_wiki-summary","summary":"Short Wikipedia summary of an article by title","description":"Use when an agent needs a quick, citable definition of a topic: returns the title, short extract, description and link of an English Wikipedia article (CC BY-SA 4.0). Returns 404 if the article does not exist.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"title","in":"query","required":true,"schema":{"type":"string"},"description":"article title, e.g. Rust_(programming_language)","example":"Rust_(programming_language)"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/energy/cheapest-window":{"get":{"operationId":"compat__api_energy_cheapest-window","summary":"Cheapest consecutive electricity price window (day-ahead, Germany-Luxembourg default)","description":"Use when an agent needs the cheapest run of consecutive hours to use electricity: returns the cheapest window of N consecutive day-ahead spot price points (1-12 hours, default 3) for a bidding zone (default DE-LU) with start time, end time and average EUR/MWh. Source: Energy-Charts, Fraunhofer ISE (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"zone","in":"query","required":false,"schema":{"type":"string"},"description":"bidding zone, default DE-LU","example":"DE-LU"},{"name":"hours","in":"query","required":false,"schema":{"type":"string"},"description":"window length 1-12, default 3","example":3}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/space/kp-forecast":{"get":{"operationId":"compat__api_space_kp-forecast","summary":"NOAA planetary Kp index forecast with highest expected storm level","description":"Use when an agent needs the geomagnetic storm outlook: returns NOAA SWPC planetary K-index (Kp) forecast periods (3-hour steps) with observed/predicted flag, the peak Kp and its NOAA G-scale storm level expected in the forecast. Source: NOAA Space Weather Prediction Center, public domain.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/csv/to-json":{"get":{"operationId":"compat__api_csv_to-json","summary":"Convert a CSV with a header row into a JSON array of objects","description":"Use when an agent gets CSV text from a report, export or spreadsheet and needs JSON rows: parses quoted CSV fields (commas and doubled quotes), uses the first row as keys, and returns up to 1000 rows as objects. Optional delimiter (comma default, tab or semicolon). No network call, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"csv","in":"query","required":true,"schema":{"type":"string"},"description":"CSV text with a header row","example":"name,city,score\nAnna,\"Berlin, DE\",9\nBen,Paris,7"},{"name":"delimiter","in":"query","required":false,"schema":{"type":"string"},"description":"optional: comma (default), semicolon or tab"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/text/flesch":{"get":{"operationId":"compat__api_text_flesch","summary":"Flesch reading ease, grade level and counts for a pasted text","description":"Use when an agent checks how readable a pasted text is before publishing: returns Flesch reading ease, Flesch-Kincaid grade level, sentence, word and syllable counts and the average words per sentence for English text. Deterministic, no network call, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"},"description":"English text, 1-5000 characters","example":"The cat sat on the mat. It was happy. We read a short book together today."}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/fun/connect-four":{"get":{"operationId":"compat__api_fun_connect-four","summary":"Best legal Connect Four move for a board, by minimax search","description":"Use when an agent needs the best next move in a Connect Four game: send the 42-cell board as text (6 rows top to bottom, 7 columns; x, o and - for empty) plus an optional search depth 1-6. Returns the column to play (0-6), the score and the player to move, using alpha-beta minimax. Impossible boards return 422. No network call, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"board","in":"query","required":true,"schema":{"type":"string"},"description":"42 characters: x, o, - for empty, rows top to bottom","example":"------------------------------------------"},{"name":"depth","in":"query","required":false,"schema":{"type":"string"},"description":"optional search depth 1-6, default 5"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/json/merge-patch":{"get":{"operationId":"compat__api_json_merge-patch","summary":"Apply an RFC 7386 JSON Merge Patch to a JSON document","description":"Use when an agent must update part of a JSON config or object with a patch: applies an RFC 7386 JSON Merge Patch (null removes a key, objects merge recursively, other values replace) to the target JSON and returns the patched document. No network call, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"target","in":"query","required":true,"schema":{"type":"string"},"description":"JSON object to patch","example":"{\"a\":1,\"b\":{\"c\":2}}"},{"name":"patch","in":"query","required":true,"schema":{"type":"string"},"description":"JSON merge patch","example":"{\"b\":{\"c\":3,\"d\":4},\"a\":null}"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/macro/inflation-trend":{"get":{"operationId":"compat__api_macro_inflation-trend","summary":"Inflation trend of a country: last 10 years, average, high, low","description":"Use when an agent needs the inflation history of a country: returns consumer price inflation (annual %, World Bank FP.CPI.TOTL.ZG) for the last 10 available years with average, highest and lowest value. Source: World Bank Open Data (CC BY 4.0).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"},"description":"ISO code, e.g. DE","example":"DE"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/token-tax-facts-batch":{"get":{"operationId":"compat_token-tax-facts-batch","summary":"Token tax facts for 1-5 ERC-20 contracts in one call (facts only, no verdict)","description":"Use when an agent screens several token contracts before trading: runs the token-tax-facts check on each address (1-5, comma separated) and returns code size, owner() presence and transfer/fee selector presence per token. Failed items are marked, all failed = 502. Facts only, not a safety verdict. Ethereum (default) or Base. Data: public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"contracts","in":"query","required":true,"schema":{"type":"string"},"description":"1-5 comma separated 0x token addresses","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-label-facts-batch":{"get":{"operationId":"compat_wallet-label-facts-batch","summary":"Account type (EOA or contract) for 1-5 addresses in one call","description":"Use when an agent needs to know whether several addresses are wallets (EOA) or smart contracts before sending funds or calling them: runs the wallet-label-facts check on each address (1-5, comma separated) and returns the account type per address. Failed items are marked, all failed = 502. Facts only. Ethereum (default) or Base. Data: public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"1-5 comma separated 0x addresses","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"ethereum\" (default) or \"base\"","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/vault-report-batch":{"get":{"operationId":"compat_vault-report-batch","summary":"ERC-4626 vault reports for 1-5 vault addresses in one call","description":"Use when an agent checks several tokenized yield vaults at once: runs the ERC-4626 vault report (asset, total assets, shares, share price) for each address (1-5, comma separated) on one chain and marks any vault that cannot be read. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated ERC-4626 vault addresses, 1-5","example":"0x83F20F44975D03b1b09e64809B757c47f942BEeA"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/vault-report-multichain":{"get":{"operationId":"compat_vault-report-multichain","summary":"ERC-4626 vault report for one vault address on Base, Ethereum, Arbitrum, Optimism and Polygon","description":"Use when an agent needs the same ERC-4626 vault address checked across several EVM chains: runs the vault report for the address on each of the five chains and marks the chains where it cannot be read (the address may not exist there). Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"ERC-4626 vault address (same on each chain)","example":"0x83F20F44975D03b1b09e64809B757c47f942BEeA"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/aave-position-batch":{"get":{"operationId":"compat_aave-position-batch","summary":"Aave v3 positions for 1-5 wallet addresses in one call","description":"Use when an agent checks the Aave v3 lending health of several wallets at once: runs the Aave v3 position lookup (collateral, debt, health factor, liquidation risk across 5 chains) for each address (1-5, comma separated) and marks any address that cannot be read. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated wallet addresses, 1-5","example":"0x0000000000000000000000000000000000000001"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/approvals-report-batch":{"get":{"operationId":"compat_approvals-report-batch","summary":"Token approval and allowance report for 1-5 wallet addresses in one call","description":"Use when an agent audits token approvals of several wallets at once: runs the approvals report (open ERC-20 allowances and risk notes) for each address (1-5, comma separated) and marks any address that cannot be read. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.009"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated wallet addresses, 1-5","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default ethereum","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/sanctions-check-batch":{"get":{"operationId":"compat_sanctions-check-batch","summary":"Sanctions screening for 1-5 wallet addresses in one call","description":"Use when an agent screens several wallet addresses for sanctions exposure at once: runs the sanctions check for each address (1-5, comma separated) and marks any address that cannot be checked. Read-only screening, not legal advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated wallet addresses, 1-5","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-compare":{"get":{"operationId":"compat_wallet-compare","summary":"Side-by-side wallet report for 2-5 addresses","description":"Use when an agent compares several wallets before paying or matching counterparties: runs the wallet report on each address (2-5, comma separated) on Ethereum or Base and returns native balance, token count, nonce and contract flag side by side. An address that fails is marked; if all fail the call fails and nothing is charged. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.008"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated wallet addresses, 2-5","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e,0x0000000000000000000000000000000000000001"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\"","example":"ethereum"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/usdc-everywhere":{"get":{"operationId":"compat_usdc-everywhere","summary":"USDC balance of one address on every supported chain, with total","description":"Use when an agent needs the total USDC an address holds across chains before requesting or sending a payment: reads the USDC balance on each supported chain (Ethereum, Base, Arbitrum, Optimism, Polygon and others) and returns per-chain amounts and the total. A chain that fails is marked; if all fail the call fails. Accepts ENS and Basenames. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.004"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address, 0x..., ENS or Basename","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-readiness":{"get":{"operationId":"compat_gas-readiness","summary":"Can this wallet pay gas for a plain transfer on each chain?","description":"Use when an agent needs to know whether an address can pay the gas for a simple native transfer across chains before sending a transaction: reads the native balance and the current gas price on up to 12 EVM chains, computes the cost of a 21000-gas transfer and how many such transfers the balance covers. A chain that fails is marked; if all fail the call fails. Accepts 0x addresses. Read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address, 0x...","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-stablecoin-share":{"get":{"operationId":"compat_wallet-stablecoin-share","summary":"Stablecoin holdings and share of an address on one chain","description":"Use when an agent needs to know how much of an address is held in stablecoins (USDC, USDT, DAI, USDbC, USDe) before a payment or a counterparty check: reads the wallet report on Ethereum or Base and returns the stablecoin tokens found, their sum and their share of the listed token value when prices are available. Read-only, public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address, 0x...","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\""}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/gas-readiness-batch":{"get":{"operationId":"compat_gas-readiness-batch","summary":"Gas readiness for 1-5 addresses across chains","description":"Use when an agent manages several wallets and needs to know which of them can pay gas for a transfer on each chain: runs the gas readiness check (native balance, gas price, cost of a 21000 gas transfer) for each address (1-5, comma separated). An address that fails is marked; if all fail the call fails and nothing is charged. Read-only, public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.009"}},"parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string"},"description":"comma separated wallet addresses, 1-5","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-summary":{"get":{"operationId":"compat_wallet-summary","summary":"Short wallet summary: native balance, token count, nonce, contract flag","description":"Use when an agent needs a quick snapshot of an EVM address before a payment or match, without the transfer list: returns the native balance, the number of listed tokens, the nonce and whether the address is a contract, on Base (default) or Ethereum. Read-only, public RPC.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address, 0x...","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"\"base\" (default) or \"ethereum\""}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/ping":{"get":{"operationId":"compat__api_x402_ping","summary":"Cheapest x402 payment test: proves your agent can pay and get a response","description":"Use when an agent or developer wants to test an x402 payment setup end to end at the lowest price: a successful answer proves the wallet signed, the payment was verified and the paid response arrived. Returns server time and your optional echo text. No data source, so it does not fail for outside reasons.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"echo","in":"query","required":false,"schema":{"type":"string"},"description":"optional text up to 64 characters, returned unchanged to match test runs","example":"test-1"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/merchant-stats":{"get":{"operationId":"compat__api_x402_merchant-stats","summary":"On-chain revenue stats of any x402 seller wallet on Base","description":"Use when an agent checks how much real business an x402 seller does before trusting it: reads USDC payments to a wallet on Base for the last 1 to 24 hours and returns payments, unique payers, volume, median payment, repeat share and how much the largest payers account for. Public chain data.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"seller payTo wallet","example":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745"},{"name":"hours","in":"query","required":false,"schema":{"type":"string"},"description":"1-24, default 6","example":"24"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/listing-quality":{"get":{"operationId":"compat__api_x402_listing-quality","summary":"Score an x402 listing and get concrete fixes for Bazaar discovery","description":"Use when a seller or agent wants to know why an x402 endpoint is hard to find or use: reads its live 402 answer and scores description, input and output schema, output example, tags, service name, price and networks from 0 to 100, with a list of concrete fixes. Never pays.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"x402 endpoint URL","example":"https://api.zato.org/api/gas"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/x402/bazaar-visibility":{"get":{"operationId":"compat__api_x402_bazaar-visibility","summary":"Is this x402 endpoint listed in the Bazaar, and can buyers find it?","description":"Use when a seller or agent checks whether an x402 endpoint can be found: looks up the domain in the agentic.market search, reports whether this exact URL is listed, how many endpoints the seller has, and the rank of the seller for up to 3 search terms you give.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"x402 endpoint URL","example":"https://api.zato.org/api/gas"},{"name":"terms","in":"query","required":false,"schema":{"type":"string"},"description":"optional comma-separated search terms, up to 3","example":"gas price"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/brief/market":{"get":{"operationId":"compat__api_brief_market","summary":"Crypto market brief in one call: BTC, ETH, SOL, XRP, sentiment, DeFi and stablecoins","description":"Use when an agent needs the state of the crypto market with a single call and no parameters: prices and 24-hour change of BTC, ETH, SOL and XRP, the Fear and Greed index, total DeFi TVL and stablecoin supply with their recent change. Parts that fail are listed. Data only, not investment advice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/gas/usd":{"get":{"operationId":"compat__api_gas_usd","summary":"What a transaction costs right now in US dollars, on 12 EVM chains","description":"Use when an agent must know the real dollar cost before sending a transaction: reads the live gas price of a chain and the native coin price and returns the USD cost of a transfer, an ERC-20 transfer, a swap and an NFT mint. Rollup data fees are not included. Gas amounts are typical values.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-report-plus":{"get":{"operationId":"compat_wallet-report-plus","summary":"Wallet decision report: USD holdings, account type, age, risk light and next actions","description":"Use when an agent must decide whether to pay, trust or analyse a wallet in one call: returns account type, holdings in USD, age, sanctions, open approvals, address poisoning signals, top counterparties, a risk light, a one-line agent summary and suggested next calls. Rule-based public data, no guarantee.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.006"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address 0x...","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base","example":"base"},{"name":"since_hash","in":"query","required":false,"schema":{"type":"string"},"description":"optional snapshot_hash of an earlier report"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-changed":{"get":{"operationId":"compat_wallet-changed","summary":"Cheap check: did this wallet change since my last report?","description":"Use when an agent watches a wallet and only wants a full report after a change: compares nonce, native balance and major token balances with the snapshot_hash of an earlier report and returns changed true or false plus the new hash. Costs a fraction of a full report.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"wallet address 0x...","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"since_hash","in":"query","required":true,"schema":{"type":"string"},"description":"snapshot_hash of an earlier report","example":"0000000000000000"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/gas/advisor":{"get":{"operationId":"compat__api_gas_advisor","summary":"Should I send now? Gas tiers, USD cost per transaction type and 1-hour trend","description":"Use when an agent decides when and how to send a transaction: returns slow, standard and fast fees, USD cost of a transfer, ERC-20 transfer, swap and NFT mint, the base fee trend of the last hour and a clear send now, fine or wait signal. Optional wallet check. Works on 12 EVM chains. Rollup data fees are not included.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain, default base","example":"base"},{"name":"address","in":"query","required":false,"schema":{"type":"string"},"description":"optional wallet: can it pay for these transactions?"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/company/from-domain":{"get":{"operationId":"compat__api_company_from-domain","summary":"Company facts from a domain: name, description, tech, mail provider, age and security","description":"Use when an agent needs to know which business is behind a domain: returns the name and description the company publishes, official profiles, domain age, mail provider, web technology and security basics. Uses only public company pages and DNS, respects robots.txt and returns no people, emails, phone numbers or addresses.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"},"description":"company domain","example":"github.com"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/rates/us-overnight":{"get":{"operationId":"compat__api_rates_us-overnight","summary":"US overnight reference rates: SOFR, EFFR, OBFR, TGCR, BGCR and SOFR averages","description":"Use when an agent needs the current US overnight interest rates for pricing, treasury or macro work: returns SOFR, the Effective Federal Funds Rate, OBFR, TGCR and BGCR with date and percentiles, plus the 30, 90 and 180 day SOFR averages, from the official daily publication with source notice.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"parameters":[{"name":"rate","in":"query","required":false,"schema":{"type":"string"},"description":"optional: sofr, effr, obfr, tgcr or bgcr"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/chain/wallet-dossier":{"get":{"operationId":"compat_wallet-dossier","summary":"Wallet dossier: wallet report + OFAC sanctions check + counterparty facts (age, 12-chain presence) in one call","description":"Use when an agent wants the full picture of a wallet before paying or trusting it: wallet report on one chain (balances, tokens, nonce, recent transfers), OFAC sanctions check, pay-to facts, wallet age and presence on 12 EVM chains. Parts that fail are marked instead of failing the call. Facts only, no score. Accepts ENS/Basenames.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"address or ENS/Basename","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"chain for the wallet report: base (default) or another EVM chain","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/api/ask":{"get":{"operationId":"compat__api_ask","summary":"One endpoint for 230+ on-chain, x402, web, research and utility lookups: choose the function with task=","description":"Use when an agent wants one paid endpoint instead of integrating many: task= selects one of 230+ lookups (wallet-report, gas, token-info, sanctions-check, decode-tx, dns, wikipedia, arxiv, fx ...) with the same parameters as the direct route, flat $0.003. Free task list: /api/ask/tasks?q=wallet. Unknown tasks are not charged. Direct routes can be cheaper; each response names its direct URL and price.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"parameters":[{"name":"task","in":"query","required":true,"schema":{"type":"string"},"description":"function name, see /api/ask/tasks","example":"wallet-report"},{"name":"address","in":"query","required":false,"schema":{"type":"string"},"description":"parameters of the chosen task, e.g. address","example":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"optional network if the task supports it","example":"base"}],"responses":{"200":{"description":"{ data, meta }","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object"},"meta":{"type":"object"}}}}}},"402":{"description":"Payment Required - x402 v2"}}}},"/x402/check":{"post":{"operationId":"x402_check","summary":"Check an x402 endpoint","description":"Use when you are about to pay for an x402 endpoint or list one: probes a URL with GET then POST and validates the 402 payment challenge (version, accepted price, network, payTo, resource, Bazaar discovery extension) and reports compliance hints.","tags":["x402-tools"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL"}},"required":["url"]},"example":{"url":"https://api.zato.org/format"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"x402":{"type":"boolean"},"valid":{"type":"boolean"},"x402Version":{"type":["integer","null"]},"accepts":{"type":"array"},"bazaar":{"type":"object"},"notes":{"type":"array","items":{"type":"string"}}}}},"required":["result"]},"example":{"result":{"x402":true,"valid":true,"x402Version":2,"method":"GET","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000"}],"bazaar":{"present":true,"hasInput":true,"hasSchema":true},"notes":[]}}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":8,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/x402/check"}},"/web/markdown":{"post":{"operationId":"web_markdown","summary":"Web page to clean LLM-ready Markdown (robots.txt respected)","description":"Use when an agent needs a web page as clean LLM-ready text: fetches one public page (robots.txt respected, max 2 MB, 10 s) and returns its main content as Markdown with title, description and absolute links. No AI involved.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL"},"max_chars":{"type":"integer","minimum":500,"maximum":100000,"default":50000,"description":"Truncate Markdown to this many characters"}},"required":["url"]},"example":{"url":"https://example.com","max_chars":20000}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"markdown":{"type":"string"},"truncated":{"type":"boolean"}},"required":["url","markdown"]},"example":{"url":"https://example.com/","title":"Example Domain","description":"","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples in documents.","truncated":false}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":10,"maxResponseBytes":2000000,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/web/markdown"}},"/text/keywords":{"post":{"operationId":"text_keywords","summary":"Top keywords of a public web page","description":"Use when you need the main terms of a public web page for tagging or SEO: fetches one page (robots.txt respected) and returns top keywords with word frequency counts from the page text. Deterministic, no AI, no API key.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL"},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["url"]},"example":{"url":"https://example.com","limit":5}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"keywords":{"type":"array","items":{"type":"object","properties":{"term":{"type":"string"},"count":{"type":"integer"}}}}},"required":["url","keywords"]},"example":{"url":"https://example.com/","keywords":[{"term":"example","count":3}]}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/text/keywords"}},"/text/readability":{"post":{"operationId":"text_readability","summary":"Text statistics for a public web page","description":"Use when you need to judge how hard a public web page is to read before summarising or quoting it: fetches one page (robots.txt respected) and returns word count, sentence count, average sentence length, reading time at 200 wpm and a Flesch reading-ease score. No AI involved.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL"}},"required":["url"]},"example":{"url":"https://example.com"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"words":{"type":"integer"},"sentences":{"type":"integer"},"avgSentenceWords":{"type":"number"},"readingMinutes":{"type":"number"},"fleschReadingEase":{"type":["number","null"]}},"required":["url","words"]},"example":{"url":"https://example.com/","words":18,"sentences":2,"avgSentenceWords":9,"readingMinutes":0.1,"fleschReadingEase":60.2}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/text/readability"}},"/base/wallet":{"post":{"operationId":"base_wallet","summary":"Quick check of a Base address","description":"Use when you need an on-chain snapshot of a Base (eip155:8453) address: ETH and USDC balance, transaction count, whether it is a contract or wallet, plus name, symbol, decimals and balance for up to 5 ERC-20 tokens. Public read-only RPC lookup, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base address to inspect"},"tokens":{"type":"array","maxItems":5,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"description":"Optional ERC-20 token contracts"}},"required":["address"]},"example":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokens":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"isContract":{"type":"boolean"},"eth":{"type":"string"},"usdc":{"type":"string"},"txCount":{"type":"integer"},"tokens":{"type":"array"}},"required":["address","eth","usdc"]},"example":{"address":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745","network":"eip155:8453","isContract":false,"eth":"0","usdc":"0","txCount":0,"tokens":[]}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":8,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/base/wallet"}},"/web/meta":{"post":{"operationId":"web_meta","summary":"Page title, OG & Twitter card, link-preview metadata (robots.txt respected)","description":"Use when you need link-preview or SEO metadata of a public page: fetches one page (robots.txt respected) and returns title, meta description, language, canonical URL, H1, Open Graph and Twitter card tags, icons, manifest, alternates and JSON-LD count. No AI.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL"}},"required":["url"]},"example":{"url":"https://github.com"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"status":{"type":"integer"},"title":{"type":["string","null"]},"description":{"type":["string","null"]},"openGraph":{"type":"object"},"twitter":{"type":"object"},"icons":{"type":"array"}},"required":["url","title"]},"example":{"url":"https://github.com/","status":200,"title":"GitHub · Build and ship software","description":"Join the world’s most widely adopted developer platform…","lang":"en","canonical":"https://github.com/","openGraph":{"title":"GitHub","image":"https://github.githubassets.com/…/og.png"},"twitter":{"card":"summary_large_image"},"icons":[{"rel":"icon","href":"https://github.githubassets.com/favicons/favicon.svg"}]}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":10,"maxResponseBytes":1500000,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/web/meta"}},"/domain/check":{"post":{"operationId":"domain_check","summary":"Domain DNS & SSL certificate check","description":"Use when you are about to trust or link a domain: checks its DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA) and the live TLS certificate (issuer, validity, days left, SANs, protocol, trusted or not) of a public domain. No AI, no key.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","maxLength":253,"description":"Domain name, e.g. example.com (no scheme, no path)"}},"required":["domain"]},"example":{"domain":"example.com"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"dns":{"type":"object"},"tls":{"type":"object","properties":{"authorized":{"type":"boolean"},"issuer":{"type":["string","null"]},"validTo":{"type":["string","null"]},"daysLeft":{"type":["integer","null"]}}}},"required":["domain","dns","tls"]},"example":{"domain":"example.com","dns":{"A":["93.184.215.14"],"AAAA":["2606:2800:21f:cb07:6820:80da:af6b:8b2c"],"MX":[{"exchange":"","priority":0}],"NS":["a.iana-servers.net","b.iana-servers.net"]},"tls":{"ok":true,"authorized":true,"issuer":"DigiCert Inc / DigiCert Global G3 TLS ECC SHA384 2020 CA1","validTo":"2026-01-15T23:59:59.000Z","daysLeft":59,"protocol":"TLSv1.3"}}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":11,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/domain/check"}},"/web/sitemap":{"post":{"operationId":"web_sitemap","summary":"robots.txt and sitemap.xml analysis: lists sitemap URLs and crawl rules for a site","description":"Use when you need the URLs a site publishes: reads a public site's robots.txt (sitemap lines, crawl rules) and its XML sitemap or sitemap index (.xml.gz supported), returning URL counts, child sitemaps and up to 500 URLs with lastmod. No AI, respects robots.txt.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Any URL of the site, or a direct sitemap URL"},"limit":{"type":"integer","minimum":1,"maximum":500,"default":100,"description":"Max URLs to return"}},"required":["url"]},"example":{"url":"https://www.sitemaps.org","limit":5}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"origin":{"type":"string"},"robots":{"type":"object"},"sitemap":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"},"count":{"type":"integer"},"items":{"type":"array"}}}},"required":["origin","robots"]},"example":{"origin":"https://www.sitemaps.org","robots":{"found":true,"sitemaps":["https://www.sitemaps.org/sitemap.xml"],"disallowForAll":[]},"sitemap":{"url":"https://www.sitemaps.org/sitemap.xml","type":"urlset","count":84,"items":[{"loc":"https://www.sitemaps.org/","lastmod":"2016-11-21"},{"loc":"https://www.sitemaps.org/protocol.html","lastmod":"2022-12-15"}],"truncated":true}}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":12,"maxResponseBytes":8000000,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/web/sitemap"}},"/base/contract":{"post":{"operationId":"base_contract","summary":"Base contract & token inspector","description":"Use when you need to know what a Base (eip155:8453) address is: contract or wallet, bytecode size, proxy detection (EIP-1967, EIP-1167), owner(), ERC-165 interfaces (ERC-721/1155) and ERC-20 token name, symbol, decimals and total supply. Public RPC reads only, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract address on Base"}},"required":["address"]},"example":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"isContract":{"type":"boolean"},"bytecodeBytes":{"type":"integer"},"proxy":{"type":"object"},"standards":{"type":"array","items":{"type":"string"}},"token":{"type":["object","null"]}},"required":["address","isContract"]},"example":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"eip155:8453","isContract":true,"bytecodeBytes":1852,"proxy":{"type":"OpenZeppelin legacy (zos) proxy","implementation":"0x…","admin":"0x…"},"standards":["ERC-20"],"token":{"name":"USD Coin","symbol":"USDC","decimals":6,"totalSupply":"4273029112.755568"}}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":8,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/base/contract"}},"/base/tx":{"post":{"operationId":"base_tx","summary":"Look up a Base transaction receipt","description":"Use when you need to check a Base (eip155:8453) transaction hash: returns status, block number, from and to addresses, value in ETH, gas used and the count of ERC-20 transfer logs. Public RPC lookup only, no key, no AI.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash"}},"required":["hash"]},"example":{"hash":"0x381e09bfbce5fd521773e7840257a240cc042734930e06d56c9528bcfa22e90c"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string"},"found":{"type":"boolean"},"status":{"type":["string","null"]},"blockNumber":{"type":["integer","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"valueEth":{"type":["string","null"]},"gasUsed":{"type":["string","null"]},"erc20Transfers":{"type":"integer"}},"required":["hash","found"]},"example":{"hash":"0x381e09bfbce5fd521773e7840257a240cc042734930e06d56c9528bcfa22e90c","found":true,"network":"eip155:8453","status":"success","blockNumber":58863219,"from":"0x0ada3111b866ff1ad0477f0c5d2e8ed35a36eb5b","to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","valueEth":"0","gasUsed":"62159","erc20Transfers":1,"explorer":"https://basescan.org/tx/0x381e09bfbce5fd521773e7840257a240cc042734930e06d56c9528bcfa22e90c"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/base/tx"}},"/base/wallets":{"post":{"operationId":"base_wallets","summary":"Batch balance check for up to 25 Base addresses","description":"Use when you need balances for many Base addresses at once: batch check of up to 25 Base (eip155:8453) addresses returning ETH balance, USDC balance, transaction count and whether each address is a contract or a wallet. One paid call, public RPC data only, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"addresses":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}},"required":["addresses"]},"example":{"addresses":["0x7BFaBAE4E0103B84298Ecf5ee88141219862d745","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string"},"count":{"type":"integer"},"totals":{"type":"object"},"wallets":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"eth":{"type":"string"},"usdc":{"type":"string"},"txCount":{"type":"integer"},"isContract":{"type":"boolean"}}}}},"required":["wallets"]},"example":{"network":"eip155:8453","count":2,"totals":{"eth":"0","usdc":"0"},"wallets":[{"address":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745","eth":"0","usdc":"0","txCount":0,"isContract":false}]}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":12,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/base/wallets"}},"/eth/wallet":{"post":{"operationId":"eth_wallet","summary":"Ethereum wallet balance (ETH + top ERC-20 tokens)","description":"Use when you need the Ethereum mainnet balance of an address: native ETH, balances of the top ERC-20 tokens (USDC, USDT, DAI, WETH, WBTC, LINK, UNI and up to 10 extra), transaction count and whether it is a contract or a wallet. Public RPC reads only, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Ethereum address"},"tokens":{"type":"array","maxItems":10,"items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"extra ERC-20 token contract"},"description":"Optional extra ERC-20 tokens"},"include_zero":{"type":"boolean","default":false,"description":"Also list tokens with zero balance"}},"required":["address"]},"example":{"address":"0x00000000219ab540356cBB839Cbe05303d7705Fa"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"network":{"type":"string"},"eth":{"type":"string"},"txCount":{"type":"integer"},"isContract":{"type":"boolean"},"tokens":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"address":{"type":"string"},"balance":{"type":"string"}}}}},"required":["address","eth","tokens"]},"example":{"address":"0x00000000219ab540356cBB839Cbe05303d7705Fa","network":"eip155:1","eth":"93673457.172126225268731119","txCount":1,"isContract":true,"tokens":[{"symbol":"USDC","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","balance":"498.563495"},{"symbol":"USDT","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","balance":"5006.362222"},{"symbol":"DAI","address":"0x6B175474E89094C44Da98b954EedeAC495271d0F","balance":"1.76"},{"symbol":"WETH","address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","balance":"0.01000641"},{"symbol":"WBTC","address":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","balance":"0.000001"},{"symbol":"UNI","address":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984","balance":"0.1001"}],"explorer":"https://etherscan.io/address/0x00000000219ab540356cBB839Cbe05303d7705Fa"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/wallet"}},"/eth/token-balance":{"post":{"operationId":"eth_token-balance","summary":"Ethereum ERC-20 token balance of a wallet","description":"Use when you need the ERC-20 token balance of an Ethereum address for one token (USDC, USDT, DAI or any ERC-20 contract address): returns balance, token name, symbol, decimals and total supply. Ethereum mainnet, public RPC reads only, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet address"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 token contract"}},"required":["address","token"]},"example":{"address":"0x00000000219ab540356cBB839Cbe05303d7705Fa","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"token":{"type":"object"},"balance":{"type":"string"}},"required":["address","token","balance"]},"example":{"address":"0x00000000219ab540356cBB839Cbe05303d7705Fa","network":"eip155:1","token":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","name":"USD Coin","symbol":"USDC","decimals":6,"totalSupply":"44468177125.834965"},"balance":"498.563495","explorer":"https://etherscan.io/token/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?a=0x00000000219ab540356cBB839Cbe05303d7705Fa"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/token-balance"}},"/eth/contract":{"post":{"operationId":"eth_contract","summary":"Ethereum contract inspector (proxy, owner, token standard)","description":"Use when you need to inspect an Ethereum mainnet address to see whether it is a contract or a wallet: bytecode size, proxy type (EIP-1967, EIP-1167, legacy OpenZeppelin), owner(), ERC-165 support for ERC-721/1155 and ERC-20 token facts. Public RPC reads, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract address on Ethereum mainnet"}},"required":["address"]},"example":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"isContract":{"type":"boolean"},"bytecodeBytes":{"type":"integer"},"proxy":{"type":["object","null"]},"standards":{"type":"array","items":{"type":"string"}},"token":{"type":["object","null"]}},"required":["address","isContract"]},"example":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"eip155:1","isContract":true,"bytecodeBytes":2186,"proxy":{"type":"OpenZeppelin legacy (zos) proxy","implementation":"0x43506849d7c04f9138d1a2050bbf3a0c054402dd","admin":"0x807a96288a1a408dbc13de2b1d087d10356395d2"},"owner":"0xfcb19e6a322b27c06842a71e8c725399f049ae3a","standards":["ERC-20"],"token":{"name":"USD Coin","symbol":"USDC","decimals":6,"totalSupply":"44468177125.834965"},"explorer":"https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/contract"}},"/eth/tx":{"post":{"operationId":"eth_tx","summary":"Ethereum transaction details by hash","description":"Use when you need an Ethereum mainnet transaction by hash: returns status (success, failed or pending), block, from and to addresses, ETH value, gas used, effective gas price, fee in ETH and the count of ERC-20 Transfer events. Public RPC reads, no key.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash"}},"required":["hash"]},"example":{"hash":"0xa331660de6a379acf06550117719bd8acc372965c5891175b56cb46d89a9643e"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string"},"found":{"type":"boolean"},"status":{"type":["string","null"]},"blockNumber":{"type":["integer","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"valueEth":{"type":["string","null"]},"feeEth":{"type":["string","null"]},"erc20Transfers":{"type":"integer"}},"required":["hash","found"]},"example":{"hash":"0xa331660de6a379acf06550117719bd8acc372965c5891175b56cb46d89a9643e","found":true,"network":"eip155:1","status":"success","blockNumber":26441213,"from":"0xbd1e4a85389d7f1193f29be430113c920e9c12bc","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","valueEth":"0","gasUsed":"40348","effectiveGasPriceGwei":"0.103260492","feeEth":"0.000004166354331216","erc20Transfers":1,"explorer":"https://etherscan.io/tx/0xa331660de6a379acf06550117719bd8acc372965c5891175b56cb46d89a9643e"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":14,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/tx"}},"/weather":{"post":{"operationId":"weather","summary":"Current weather and 24 h forecast","description":"Use when you need the current weather and a 24-hour hourly forecast for a place given as lat/lon or city name: temperature, feels-like, wind, humidity, pressure, cloud cover, precipitation and conditions. Data from MET Norway (CC BY 4.0), geocoding OpenStreetMap (ODbL).","tags":["data"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180},"city":{"type":"string","minLength":2,"maxLength":120,"description":"Place name, e.g. \"Berlin\" or \"Paris, France\" (used when lat/lon are not given)"}}},"example":{"city":"Berlin"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"object"},"current":{"type":"object"},"forecast24h":{"type":"array"},"source":{"type":"string"}},"required":["location","current"]},"example":{"location":{"name":"Berlin, Deutschland","lat":52.517,"lon":13.389},"current":{"time":"2026-11-18T10:00:00Z","temperatureC":6.1,"windSpeedMs":4.2,"windDirectionDeg":250,"humidityPct":81,"pressureHpa":1012,"cloudCoverPct":90,"precipitationNext1hMm":0,"conditions":"cloudy"},"forecast24h":[{"time":"2026-11-18T11:00:00Z","temperatureC":6.5,"precipitationMm":0,"conditions":"cloudy"}],"source":"MET Norway (CC BY 4.0)"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":10,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/weather"}},"/crypto/price":{"post":{"operationId":"crypto_price","summary":"Crypto price in USD","description":"Use when you need the live spot price in USD of a cryptocurrency symbol (ETH, BTC, USDC, SOL and others) with timestamp and source. Source: Coinbase public spot price, fallback Kraken public ticker. No key.","tags":["data"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string","pattern":"^[A-Za-z0-9]{2,10}$","description":"Ticker symbol, e.g. ETH, BTC, USDC, SOL"}},"required":["symbol"]},"example":{"symbol":"ETH"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string"},"priceUsd":{"type":"string"},"source":{"type":"string"},"time":{"type":"string"}},"required":["symbol","priceUsd","source"]},"example":{"symbol":"ETH","priceUsd":"1797.08","source":"coinbase","time":"2026-11-18T10:40:00Z"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":12,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/crypto/price"}},"/web/product":{"post":{"operationId":"web_product","summary":"Structured product price & availability from a product page","description":"Use when you need the price, currency, availability, brand, SKU or GTIN of a product from a public product page URL, read from schema.org Product/Offer JSON-LD or Microdata with OpenGraph fallback. Respects robots.txt; no logins, no bot-protection bypass.","tags":["web"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public product page URL"}},"required":["url"]},"example":{"url":"https://www.apple.com/shop/buy-iphone/iphone-16"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":["string","null"]},"brand":{"type":["string","null"]},"sku":{"type":["string","null"]},"gtin":{"type":["string","null"]},"price":{"type":["string","null"]},"currency":{"type":["string","null"]},"availability":{"type":["string","null"]},"image":{"type":["string","null"]},"url":{"type":"string"},"source":{"type":"string","enum":["jsonld","microdata","og","none"]}},"required":["url","source"]},"example":{"name":"Example Product","brand":"Example","sku":"SKU-123","gtin":"0123456789012","price":"19.99","currency":"EUR","availability":"InStock","image":"https://example.com/p.jpg","url":"https://example.com/product","source":"jsonld"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":15,"maxResponseBytes":3000000,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/web/product"}},"/eth/block":{"post":{"operationId":"eth_block","summary":"Latest Ethereum block number (chain tip) plus header: timestamp, age, base fee, gas used, tx count. Read-only, no API key.","description":"Latest Ethereum block height: current chain tip, block number via eth_blockNumber, plus the block header: timestamp, age in seconds, base fee (gwei), gas used/limit and transaction count. Keywords: Ethereum block height API, latest block number, eth_blockNumber, chain tip, block header lookup, eth_getBlockByNumber, Ethereum block explorer API, block timestamp, gas used, base fee. Use it to check the Ethereum chain tip or a block before reading balances or transactions. Example: POST {} for the latest block, or {\"block\": 20000000} for a specific height. $0.001 per call, no API key, no signup. Ethereum mainnet, public RPC data.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"block":{"type":"integer","minimum":0,"description":"Optional block number (default: latest)"}}},"example":{}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"blockNumber":{"type":"integer"},"timestamp":{"type":"string"},"ageSeconds":{"type":"integer"},"baseFeeGwei":{"type":["string","null"]},"gasUsed":{"type":"string"},"gasLimit":{"type":"string"},"txCount":{"type":"integer"}},"required":["blockNumber"]},"example":{"network":"eip155:1","blockNumber":26441300,"timestamp":"2026-11-18T11:30:11.000Z","ageSeconds":4,"baseFeeGwei":"0.42","gasUsed":"14996521","gasLimit":"45000000","txCount":211,"hash":"0x…"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/block"}},"/eth/network-info":{"post":{"operationId":"eth_network-info","summary":"Ethereum network status: chain id, gas price, block height","description":"Ethereum network info: chain ID, latest block number, gas price and base fee (eth_chainId, eth_blockNumber, eth_gasPrice, base fee via public RPC). Keywords: eth network status, current gas price API, eth base fee, latest block number, chain id check, network health. Use before sending a transaction to pick a gas price, or to confirm the node is live. $0.001 per call, no API key, read-only. Example: POST {} .","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}},"example":{}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string"},"chainId":{"type":"integer"},"blockNumber":{"type":"integer"},"gasPriceGwei":{"type":"string"},"baseFeeGwei":{"type":["string","null"]}},"required":["network","chainId","blockNumber"]},"example":{"network":"eip155:1","chainId":1,"blockNumber":26441300,"gasPriceGwei":"0.53","baseFeeGwei":"0.42"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/network-info"}},"/eth/nonce":{"post":{"operationId":"eth_nonce","summary":"Next Ethereum nonce for an address (pending-safe). For wallet bots and tx builders. Read-only, no API key.","description":"Ethereum address transaction count (nonce). Ethereum nonce lookup (eth_getTransactionCount, pending-safe) for wallets, bots and transaction builders: returns the next transaction nonce for any Ethereum mainnet address, plus a contract-or-wallet flag and chain id. Use it before building or signing a transaction so you never reuse or skip a nonce. Keywords: Ethereum nonce API, eth_getTransactionCount, next transaction nonce, pending nonce for wallet bots, next nonce for wallet, next nonce, transaction nonce lookup, wallet nonce, bot transaction builder, pending nonce, EVM nonce checker. Example: POST {\"address\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"} returns {\"nonce\": <next nonce>, \"isContract\": false}. Also works as GET ?address=0x... $0.001 per call, no API key, no signup, public Ethereum mainnet RPC data (eth_getTransactionCount + eth_getCode).","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Ethereum address"}},"required":["address"]},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"network":{"type":"string"},"nonce":{"type":"integer"},"isContract":{"type":"boolean"}},"required":["address","nonce"]},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","network":"eip155:1","nonce":1,"isContract":false}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/nonce"}},"/eth/token-supply":{"post":{"operationId":"eth_token-supply","summary":"Total supply of an ERC-20 or ERC-721 token","description":"Total supply of an ERC-20 or ERC-721 token contract via totalSupply (eth_call), with name, symbol and decimals and the human-readable amount. Keywords: ERC-20 total supply API, token supply lookup, totalSupply eth_call, token metadata, ERC-721 supply. Example: pass a token contract address, get supply in raw and human units. Also fits: token market cap inputs, circulating supply checks, ERC-20 decimals lookup. Response includes raw totalSupply, decimals and formatted amount so agents can compute market cap without another call. Pair with /eth/token-balance for holder checks (Ethereum mainnet, public RPC, no key) and /eth/contract to confirm the address is a contract first. Returns the same 18-decimal-aware fields as Ethereum JSON-RPC eth_call, no API key needed. Read-only: no transaction is sent, no wallet needed. Input: a 0x-prefixed token contract address. Ethereum mainnet, $0.003 per call, public RPC data.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token contract address"}},"required":["token"]},"example":{"token":"0xdAC17F958D2ee523a2206206994597C13D831ec7"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"name":{"type":["string","null"]},"symbol":{"type":["string","null"]},"decimals":{"type":["integer","null"]},"totalSupply":{"type":["string","null"]},"totalSupplyRaw":{"type":["string","null"]}},"required":["token","totalSupply"]},"example":{"token":"0xdAC17F958D2ee523a2206206994597C13D831ec7","network":"eip155:1","name":"Tether USD","symbol":"USDT","decimals":6,"totalSupply":"…","totalSupplyRaw":"…"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/token-supply"}},"/eth/transfer-logs":{"post":{"operationId":"eth_transfer-logs","summary":"ERC-20 Transfer events for a token or wallet","description":"ERC-20 Transfer logs via eth_getLogs: recent Transfer events for a token contract, optionally filtered by a wallet (sender or receiver), decoded (from, to, amount, block, tx hash). Searches up to the last 2,000 blocks, max 100 events. Keywords: ERC-20 transfer history API, token transfer events, eth_getLogs Transfer, wallet token activity, ERC-20 transfer lookup. Example: pass a token contract and optional wallet, get decoded transfers. $0.002 per call, Ethereum mainnet, public RPC data.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional: only transfers from or to this address"},"blocks":{"type":"integer","minimum":1,"maximum":2000,"default":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25}},"required":["token"]},"example":{"token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","blocks":5,"limit":3}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"fromBlock":{"type":"integer"},"toBlock":{"type":"integer"},"count":{"type":"integer"},"transfers":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"amount":{"type":"string"},"blockNumber":{"type":"integer"},"txHash":{"type":"string"}}}}},"required":["token","transfers"]},"example":{"token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"eip155:1","symbol":"USDC","decimals":6,"fromBlock":0,"toBlock":0,"count":1,"transfers":[{"from":"0x…","to":"0x…","amount":"…","blockNumber":0,"txHash":"0x…"}]}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"maxBlocks":2000,"maxEvents":100,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/transfer-logs"}},"/eth/ens":{"post":{"operationId":"eth_ens","summary":"ENS resolve: name to address and address to name","description":"ENS resolve. ENS name to address (and address to ENS name) on Ethereum mainnet, read live from the ENS registry and resolver. Send {\"name\":\"vitalik.eth\"} for the address, or {\"address\":\"0x...\"} for the name. $0.003 per call, no API key, no signup. Keywords: ENS resolver, vitalik.eth lookup, ENS to address, address to ENS name, reverse resolution, ENS lookup API, ENS name resolution, Ethereum name service. Returns name, address, resolver, direction. Not supported: wildcard or offchain (CCIP-read) names such as *.base.eth. Typical use: wallet and dApp name lookups, resolving vitalik.eth before a transfer.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"description":"ENS name, e.g. vitalik.eth"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address for reverse lookup"}}},"example":{"name":"vitalik.eth"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]},"resolver":{"type":["string","null"]},"verified":{"type":"boolean"}},"required":["name","address"]},"example":{"network":"eip155:1","name":"ens.eth","address":"0x…","resolver":"0x…","direction":"forward"}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"timeoutSeconds":21,"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/ens"}},"/eth/tx-by-hash":{"post":{"operationId":"eth_tx-by-hash","summary":"Ethereum transaction details by hash","description":"Ethereum transaction details by hash (eth_getTransactionByHash, public RPC). Keywords also: tx lookup, transaction status API, eth tx sender and recipient, tx value in ETH, pending or mined check, wallet payment verification. Returns from, to, value in wei and ETH, nonce, input data size, block number, and pending/mined status. Use it to check who sent a transaction, how much ETH moved, and whether it is mined or pending. Pair with /eth/tx-receipt for gas used and event logs. Works on any EVM RPC-backed Ethereum mainnet tx. Typical buyers: wallet monitors, payment verification bots, explorer front-ends. Good for wallet monitoring, payment verification and explorer-style lookups. Keywords: Ethereum transaction by hash, eth_getTransactionByHash, tx details API, look up transaction, tx value, tx sender recipient, tx status checker. Example: POST {\"hash\":\"0x...\"} or GET /eth/tx-by-hash?hash=0x... $0.001 per call, no API key, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash"}},"required":["hash"]},"example":{"hash":"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string"},"network":{"type":"string"},"status":{"type":"string"},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"valueWei":{"type":["string","null"]},"valueEth":{"type":["string","null"]},"nonce":{"type":["integer","null"]},"blockNumber":{"type":["integer","null"]},"inputBytes":{"type":["integer","null"]}},"required":["hash","status"]},"example":{"hash":"0x…","network":"eip155:1","status":"mined","from":"0x…","to":"0x…","valueWei":"1000000000000000000","valueEth":"1","nonce":42,"blockNumber":19000000,"inputBytes":0}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/tx-by-hash"}},"/eth/tx-receipt":{"post":{"operationId":"eth_tx-receipt","summary":"Ethereum transaction receipt and status by tx hash (success/failed/pending, gas used, logs)","description":"Ethereum transaction receipt lookup by transaction hash (eth_getTransactionReceipt and eth_getTransactionByHash, public RPC). Returns status (success/failed/pending/not_found), block number, gas used, from, to, contract address if created, and log count. Keywords: Ethereum transaction receipt API, tx status by hash, eth_getTransactionReceipt, check transaction status, tx hash lookup, transaction confirmed, Ethereum tx checker, payment confirmation check, did my tx succeed, failed transaction status, contract address from deploy tx. Example: POST {\"hash\":\"0x...\"} returns status and block. Typical buyers: payment confirmation bots, checkout verification, deploy-tx trackers. $0.002 per call, no API key, read-only.","tags":["onchain"],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash"}},"required":["hash"]},"example":{"hash":"0x1111111111111111111111111111111111111111111111111111111111111111"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string"},"network":{"type":"string"},"status":{"type":"string"},"blockNumber":{"type":["integer","null"]},"gasUsed":{"type":["integer","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"contractAddress":{"type":["string","null"]},"logCount":{"type":["integer","null"]}},"required":["hash","status"]},"example":{"hash":"0x…","network":"eip155:1","status":"success","blockNumber":19000000,"gasUsed":21000,"from":"0x…","to":"0x…","contractAddress":null,"logCount":0}}}},"400":{"description":"Invalid input (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Payment Required - x402 v2","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON payment requirements","schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded – see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"5XX":{"description":"Upstream error or timeout (payment is not settled)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-limits":{"rateLimit":"120/60s paid calls; 1200/60s unpaid probes"},"x-demo":"https://api.zato.org/demo/eth/tx-receipt"}}},"externalDocs":{"description":"Guide, client code and demos","url":"https://api.zato.org/"},"x-facilitators":[{"url":"https://api.cdp.coinbase.com/platform/v2/x402","role":"primary","status":"ok","checkedAt":"2026-11-23T17:45:28.914Z"},{"url":"https://facilitator.payai.network","role":"fallback","status":"ok","checkedAt":"2026-11-23T17:45:28.851Z"},{"url":"https://facilitator.daydreams.systems","role":"fallback","status":"ok","checkedAt":"2026-11-23T17:45:28.712Z"}],"x-bazaar":{"payai":{"status":"not_listed_yet","checkedAt":"2026-11-23T17:30:53.481Z","listedResources":[],"note":"Settled payments exist but no resource is indexed yet; re-checked every 6 h."}},"x-mcp":{"url":"https://api.zato.org/mcp","transport":"streamable-http","payments":"x402 MCP transport v2 (_meta[\"x402/payment\"])","freeTools":["base64_encode","base64_decode","get_demo"]},"x-status":{"html":"https://api.zato.org/status","json":"https://api.zato.org/status?format=json","health":"https://api.zato.org/health"},"components":{"schemas":{"Error":{"type":"object","properties":{"success":{"type":"boolean","const":false},"error":{"type":"string"},"requestId":{"type":"string"}},"required":["success","error"]}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed per window"},"RateLimit-Remaining":{"schema":{"type":"integer"}},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until the window resets"},"X-Request-Id":{"schema":{"type":"string"}}}}}