# Foundry > Pay-per-call x402 APIs for agents. USDC on Base, no API key, no sign-up. ## How to call Claude Code, Codex or Cursor: add the AgentCash MCP server, fund its wallet with USDC on Base, then ask your agent to "discover minty-sprout.onrender.com and call x402-listing-doctor on https://your.api/route". claude mcp add agentcash --scope user -- npx -y agentcash@latest Coinbase Payments MCP (github.com/coinbase/payments-mcp) also finds and pays us through the x402 Bazaar. Any x402 client: POST JSON {"input": "..."} (or GET ?input=...), sign the 402 challenge, resend. See the price: curl -i -X POST https://minty-sprout.onrender.com/v1/x402-listing-doctor -H 'content-type: application/json' -d '{"input":"https://your.api/route"}' Failed jobs are never charged. ## Endpoints - [x402-preflight](https://minty-sprout.onrender.com/v1/x402-preflight) ($0.005): x402 preflight: checks a paid x402 endpoint before a payment is signed. Probes it unpaid, parses the v1 body or v2 PAYMENT-REQUIRED header, lints every accepts[] option (network, canonical USDC, EIP-712 domain name/version that signatures verify against, EIP-55 payTo, zero payTo, amount, timeout, testnet, resource host) and returns ok/warn/block with reasons. Input: URL, optionally 'POST '. Deterministic, no LLM. - [x402-due-diligence](https://minty-sprout.onrender.com/v1/x402-due-diligence) ($0.01): x402 seller due diligence: everything in x402-preflight PLUS on-chain proof of real demand (USDC actually received by the seller's payTo in the last 24h: payments, distinct payers, volume) and a Bazaar listing-truth audit (is this URL listed, does the listed price match what it charges). Reveals dead, fake or mispriced sellers before payment. - [base-contract-facts](https://minty-sprout.onrender.com/v1/base-contract-facts) ($0.005): Base contract fact sheet from the chain: is it a contract, proxy type (EIP-1967, beacon, EIP-1167 clone, ZeppelinOS) with implementation and admin, owner and whether ownership is renounced or held by a contract (multisig) or single key, privileged powers found in bytecode (mint, pause, blacklist, fee/tax setters, trading switch, tx limits, upgrade), current paused state, ERC-20 name/symbol/decimals/supply. Facts only, no verdict. Input: 0x address. - [base-contract-brief](https://minty-sprout.onrender.com/v1/base-contract-brief) ($0.01): Base contract brief: base-contract-facts plus a plain-English explanation of who controls the contract and what they can do (mint, freeze, blacklist, change fees, upgrade the code), with things to verify. Grounded only in on-chain facts; never investment advice. Input: 0x address. - [base-token-info](https://minty-sprout.onrender.com/v1/base-token-info) ($0.001): ERC-20 token info on Base mainnet from the chain: name, symbol, decimals, total supply, and whether the address is a contract at all. Input: 0x token address. Deterministic, no LLM, cheapest token lookup. - [base-tx-explain](https://minty-sprout.onrender.com/v1/base-tx-explain) ($0.002): Base transaction explained from the chain: success or reverted, block and time, from, to, ETH value, method selector, gas used and fee, contract created, and every ERC-20 transfer decoded with token symbol and amount. Input: 0x transaction hash. Deterministic, no LLM. - [base-address-info](https://minty-sprout.onrender.com/v1/base-address-info) ($0.001): Base address lookup from the chain: wallet (EOA) or contract, bytecode size, ETH balance, USDC balance and number of transactions sent. Useful before sending funds or paying an address. Input: 0x address. Deterministic, no LLM. - [base-gas](https://minty-sprout.onrender.com/v1/base-gas) ($0.001): Current Base mainnet gas: latest block, base fee and priority fee in gwei, a suggested max fee, and the ETH cost of a typical USDC transfer. Input: any text, e.g. 'base'. Deterministic, no LLM. - [x402-seller-revenue](https://minty-sprout.onrender.com/v1/x402-seller-revenue) ($0.003): Real x402 demand from the chain: USDC an address (e.g. a seller's payTo) received on Base in the last 24 hours, with payment count, distinct payers, total, and top payers with the largest payer's share (a high share suggests self-testing or wash volume). Input: 0x address. Deterministic, no LLM. - [x402-listing-doctor](https://minty-sprout.onrender.com/v1/x402-listing-doctor) ($0.005): x402 listing doctor for sellers: why a paid endpoint gets no buyers. Runs the x402 preflight, Coinbase's CDP validator, and presence checks in the CDP Bazaar and 402index, then returns concrete fixes: 402 before input validation, Bazaar metadata, description over 500 chars or instruction-like, slow or sleeping host, no settled sale yet. Input: endpoint URL, optionally 'POST '. Deterministic, no LLM. - [x402-market-scan](https://minty-sprout.onrender.com/v1/x402-market-scan) ($0.01): x402 market scan: for a topic, the top CDP Bazaar listings and who actually gets paid, measured on-chain: each seller's USDC received in the last 24 hours, payments and distinct payers, plus how many sellers earned nothing and the median price. Real demand before you build. Input: a topic, e.g. 'token security'. No LLM. - [x402-market-report](https://minty-sprout.onrender.com/v1/x402-market-report) ($0.1): Daily x402 market report, measured on-chain: across 16 Bazaar topics, 80+ sellers, who earns (distinct payers, payments, USDC in 24 h), how many earn nothing, listing price bands, total USDC, distinct buyers and the biggest buying wallets. Refreshed hourly. Input: any text, e.g. 'today'. No LLM. - [time-now](https://minty-sprout.onrender.com/v1/time-now) ($0.001): Current time in any timezone: ISO time, unix timestamp, UTC offset, weekday. Input: IANA timezone, e.g. 'Europe/London'. - [dev-joke](https://minty-sprout.onrender.com/v1/dev-joke) ($0.001): Programming joke: one short, safe-for-work developer joke per call. Input: any text. - [dns-lookup](https://minty-sprout.onrender.com/v1/dns-lookup) ($0.001): DNS lookup: A, AAAA, MX, TXT, NS, CNAME, SOA or CAA records for a domain, via DNS-over-HTTPS. Input: 'example.com MX'. - [email-validate](https://minty-sprout.onrender.com/v1/email-validate) ($0.001): Email validation: syntax, MX records, disposable domain and role account checks. Input: an email address. - [crypto-price](https://minty-sprout.onrender.com/v1/crypto-price) ($0.001): Crypto price in USD for up to 20 coins (BTC, ETH, SOL...) or tokens by chain:address, from DefiLlama. Input: 'BTC,ETH'. - [quote](https://minty-sprout.onrender.com/v1/quote) ($0.001): Quote: a short public-domain quote with its author (Franklin, Seneca, Curie, Newton...). Input: a topic word or 'any'. - [word-count](https://minty-sprout.onrender.com/v1/word-count) ($0.001): Word count and text statistics: words, characters, sentences, paragraphs, reading time, top words. Input: any text. - [json-format](https://minty-sprout.onrender.com/v1/json-format) ($0.001): JSON validator and formatter: checks JSON, reports the error line and column, returns pretty and minified forms. Input: JSON text. - [math-eval](https://minty-sprout.onrender.com/v1/math-eval) ($0.001): Math calculator: safely evaluates an expression with + - * / % ^, parentheses, pi, e and functions like sqrt, sin, log. Input: '2^10 + sqrt(16)'. - [hash](https://minty-sprout.onrender.com/v1/hash) ($0.001): Hash generator: md5, sha1, sha256, sha512, sha3-256, blake2b and keccak256 of a text. Input: any text. - [jwt-decode](https://minty-sprout.onrender.com/v1/jwt-decode) ($0.001): JWT decoder: header, payload, issued and expiry times, and whether it has expired (signature not verified). Input: a JWT. - [uuid](https://minty-sprout.onrender.com/v1/uuid) ($0.001): UUID generator: 1 to 50 random UUIDs, version 4 or time-ordered version 7. Input: '5' or 'v7 3'. - [base64](https://minty-sprout.onrender.com/v1/base64) ($0.001): Base64 encoder and decoder, standard and URL-safe. Input: 'encode: text' or 'decode: aGVsbG8='. - [unit-convert](https://minty-sprout.onrender.com/v1/unit-convert) ($0.001): Unit converter: length, mass, volume, temperature, time, data size, speed, area, energy, pressure. Input: '10 km to mi'. - [user-agent](https://minty-sprout.onrender.com/v1/user-agent) ($0.001): User agent parser: browser and version, OS, device type, and whether it is a bot or AI crawler. Input: a User-Agent string. - [lorem-ipsum](https://minty-sprout.onrender.com/v1/lorem-ipsum) ($0.001): Lorem ipsum placeholder text: 1 to 10 paragraphs. Input: number of paragraphs. - [color-convert](https://minty-sprout.onrender.com/v1/color-convert) ($0.001): Color converter: hex, RGB and HSL, luminance, contrast against white and black, best text color. Input: '#1e90ff'. - [slugify](https://minty-sprout.onrender.com/v1/slugify) ($0.001): Slug generator: turns any text into a clean URL slug. Input: a title. - [password-generate](https://minty-sprout.onrender.com/v1/password-generate) ($0.001): Password generator: a strong random password (8 to 128 characters) with its entropy. Input: length, e.g. '24'. - [sunrise-sunset](https://minty-sprout.onrender.com/v1/sunrise-sunset) ($0.001): Sunrise and sunset times in UTC for a location and date, with day length. Input: 'lat,lon' or 'lat,lon,YYYY-MM-DD'. - [fx-rate](https://minty-sprout.onrender.com/v1/fx-rate) ($0.001): Currency exchange rates from the European Central Bank: convert an amount or list rates. Input: '100 USD to EUR'. - [public-holidays](https://minty-sprout.onrender.com/v1/public-holidays) ($0.001): Public holidays for a country and year, with the next upcoming one. Input: country code and year, e.g. 'US 2026'. - [dictionary](https://minty-sprout.onrender.com/v1/dictionary) ($0.001): English dictionary: definitions, part of speech, phonetics and synonyms for a word. Input: a word. - [wikipedia-summary](https://minty-sprout.onrender.com/v1/wikipedia-summary) ($0.001): Wikipedia summary: the lead extract and link for a topic. Input: a topic or article title. - [isbn-lookup](https://minty-sprout.onrender.com/v1/isbn-lookup) ($0.001): Book lookup by ISBN: title, authors, publisher, date and pages from Open Library. Input: an ISBN. - [npm-package](https://minty-sprout.onrender.com/v1/npm-package) ($0.001): npm package info: latest version, license, dependencies count and weekly downloads. Input: a package name. - [pypi-package](https://minty-sprout.onrender.com/v1/pypi-package) ($0.001): PyPI package info: latest version, license, Python requirement and recent downloads. Input: a package name. - [arxiv-search](https://minty-sprout.onrender.com/v1/arxiv-search) ($0.001): arXiv paper search: top 5 papers with authors, date, link and abstract. Input: search words. - [hacker-news-top](https://minty-sprout.onrender.com/v1/hacker-news-top) ($0.001): Hacker News top stories right now: title, link, points and comments. Input: how many, 1 to 10. - [earthquakes](https://minty-sprout.onrender.com/v1/earthquakes) ($0.001): Recent earthquakes from USGS: magnitude, place, time and depth. Input: 'day', 'week' or 'significant'. - [weather](https://minty-sprout.onrender.com/v1/weather) ($0.001): Weather now and the next hours for any location: temperature, wind, humidity, conditions (MET Norway). Input: 'lat,lon'. - [whois](https://minty-sprout.onrender.com/v1/whois) ($0.001): Domain WHOIS via RDAP: registrar, creation and expiry dates, status and nameservers. Input: a domain. - [ip-info](https://minty-sprout.onrender.com/v1/ip-info) ($0.001): IP address info: public or private, reverse DNS, ASN, network name, prefix and country. Input: an IPv4 or IPv6 address. - [http-status](https://minty-sprout.onrender.com/v1/http-status) ($0.001): HTTP status check: is a URL up, its status code, redirect chain, latency and server. Input: a URL. - [robots-txt](https://minty-sprout.onrender.com/v1/robots-txt) ($0.001): robots.txt checker: whether GPTBot, ClaudeBot, CCBot and other AI crawlers may crawl a site, plus sitemaps. Input: a domain or URL. - [website-metadata](https://minty-sprout.onrender.com/v1/website-metadata) ($0.001): Website metadata: title, description, Open Graph image, canonical URL, favicon and language of a page. Input: a URL. - [ssl-cert](https://minty-sprout.onrender.com/v1/ssl-cert) ($0.001): SSL certificate check: validity, issuer, expiry date and days left, SANs and TLS version. Input: a domain. - [ens-resolve](https://minty-sprout.onrender.com/v1/ens-resolve) ($0.001): ENS resolver: name to Ethereum address, or address to primary ENS name. Input: 'vitalik.eth' or a 0x address. - [basename-resolve](https://minty-sprout.onrender.com/v1/basename-resolve) ($0.001): Basename resolver: a .base.eth name to its Base address. Input: 'jesse.base.eth'. - [sentiment](https://minty-sprout.onrender.com/v1/sentiment) ($0.002): Sentiment analysis: positive, negative, neutral or mixed, with a score from -1 to 1. Input: any text. - [emoji-search](https://minty-sprout.onrender.com/v1/emoji-search) ($0.001): Emoji search: find emoji by keyword, with names and codepoints. Input: a word, e.g. 'rocket'. - [unicode-info](https://minty-sprout.onrender.com/v1/unicode-info) ($0.001): Unicode character info: codepoint, official name, category, UTF-8 bytes and HTML entity. Input: characters or 'U+1F680'. - [morse-code](https://minty-sprout.onrender.com/v1/morse-code) ($0.001): Morse code translator: text to Morse and Morse to text. Input: text, or dots and dashes. - [roman-numeral](https://minty-sprout.onrender.com/v1/roman-numeral) ($0.001): Roman numeral converter: numbers to Roman numerals and back (1 to 3999). Input: '2026' or 'MMXXVI'. - [number-to-words](https://minty-sprout.onrender.com/v1/number-to-words) ($0.001): Number to words: spells out numbers in English, with a cheque-style amount. Input: '1234.50'. - [percentage](https://minty-sprout.onrender.com/v1/percentage) ($0.001): Percentage calculator: X% of Y, X is what percent of Y, and percent change. Input: '15% of 200' or 'from 80 to 100'. - [loan-calculator](https://minty-sprout.onrender.com/v1/loan-calculator) ($0.001): Loan and mortgage calculator: monthly payment, total paid and total interest. Input: 'amount, rate %, years'. - [bmi](https://minty-sprout.onrender.com/v1/bmi) ($0.001): BMI calculator: body mass index and WHO category from weight and height. Input: 'weight kg, height cm'. - [date-difference](https://minty-sprout.onrender.com/v1/date-difference) ($0.001): Date difference: days, weeks, months and years between two dates. Input: '2026-01-01 2026-12-25'. - [business-days](https://minty-sprout.onrender.com/v1/business-days) ($0.001): Business days between two dates: weekdays, weekend days and calendar days. Input: '2026-11-01 2026-11-30'. - [age-calculator](https://minty-sprout.onrender.com/v1/age-calculator) ($0.001): Age calculator: age in years and days, next birthday and days until it. Input: a birth date 'YYYY-MM-DD'. - [timezone-convert](https://minty-sprout.onrender.com/v1/timezone-convert) ($0.001): Timezone converter: convert a date and time between IANA timezones. Input: '2026-11-01 09:00 Europe/London to Asia/Karachi'. - [calendar](https://minty-sprout.onrender.com/v1/calendar) ($0.001): Calendar: the days of any month laid out by week, with month length and first weekday. Input: 'YYYY-MM'. - [card-validate](https://minty-sprout.onrender.com/v1/card-validate) ($0.001): Credit card number validator: Luhn checksum and card brand (Visa, Mastercard, Amex...). Format check only, never stored. Input: a card number. - [iban-validate](https://minty-sprout.onrender.com/v1/iban-validate) ($0.001): IBAN validator: checksum (mod 97), country length check and formatted IBAN. Input: an IBAN. - [barcode-validate](https://minty-sprout.onrender.com/v1/barcode-validate) ($0.001): Barcode validator: EAN-8, UPC-A, EAN-13 and GTIN-14 check digits. Input: barcode digits. - [name-generator](https://minty-sprout.onrender.com/v1/name-generator) ($0.001): Random name generator: fictional names, usernames and example.com emails for test data. Input: how many, 1 to 20. - [qr-code](https://minty-sprout.onrender.com/v1/qr-code) ($0.001): QR code generator: PNG data URI and SVG for any text or URL. Input: the text or URL to encode. - [country-code](https://minty-sprout.onrender.com/v1/country-code) ($0.001): Country code lookup: ISO 3166 alpha-2, alpha-3 and numeric codes, official name, calling code and flag. Input: a country name or code. - [currency-code](https://minty-sprout.onrender.com/v1/currency-code) ($0.001): Currency code lookup: ISO 4217 code, name and numeric code. Input: a code like 'PKR' or a currency name. - [phone-validate](https://minty-sprout.onrender.com/v1/phone-validate) ($0.001): Phone number validator: validity, E.164 and international format, type, region, carrier and timezone. Input: '+44 20 7946 0958'. - [language-detect](https://minty-sprout.onrender.com/v1/language-detect) ($0.001): Language detection: the language of a text with confidence and alternatives. Input: any text. - [gravatar](https://minty-sprout.onrender.com/v1/gravatar) ($0.001): Gravatar lookup: whether an email has a Gravatar, with avatar and profile URLs. Input: an email address. - [spf-check](https://minty-sprout.onrender.com/v1/spf-check) ($0.001): SPF record checker: the SPF record, includes, DNS lookup count and all-mechanism policy for a domain. Input: a domain. - [dmarc-check](https://minty-sprout.onrender.com/v1/dmarc-check) ($0.001): DMARC record checker: policy, subdomain policy, percentage and report addresses for a domain. Input: a domain. - [dns-propagation](https://minty-sprout.onrender.com/v1/dns-propagation) ($0.001): DNS propagation check: compares answers from Cloudflare and Google resolvers. Input: 'example.com A'. - [domain-availability](https://minty-sprout.onrender.com/v1/domain-availability) ($0.001): Domain availability check via RDAP: is a domain registered or free. Input: a domain. - [postal-code](https://minty-sprout.onrender.com/v1/postal-code) ($0.001): Zip and postal code lookup: place names, state and coordinates for 60+ countries. Input: 'US 90210' or 'DE 10115'. - [bible-verse](https://minty-sprout.onrender.com/v1/bible-verse) ($0.001): Bible verse lookup (King James Version, public domain): text for a reference. Input: 'John 3:16'. - [trivia](https://minty-sprout.onrender.com/v1/trivia) ($0.001): Trivia questions with answers and options from the Open Trivia Database. Input: how many, 1 to 10. - [vin-decode](https://minty-sprout.onrender.com/v1/vin-decode) ($0.001): VIN decoder: make, model, year, trim, body, engine and plant from a vehicle identification number (NHTSA). Input: a 17-character VIN. - [fear-greed](https://minty-sprout.onrender.com/v1/fear-greed) ($0.001): Crypto Fear and Greed Index: today's value and the last 7 days. Input: any text. - [defi-tvl](https://minty-sprout.onrender.com/v1/defi-tvl) ($0.001): DeFi TVL from DefiLlama: total value locked for a chain or protocol, or the top chains. Input: 'Base', 'aave' or 'top'. - [stablecoins](https://minty-sprout.onrender.com/v1/stablecoins) ($0.001): Stablecoin market data: circulating supply, peg and price for the largest stablecoins. Input: a symbol like 'USDC' or 'top'. - [defi-yields](https://minty-sprout.onrender.com/v1/defi-yields) ($0.001): DeFi yields: highest-APY pools with over $1M TVL, filtered by chain and token. Data only. Input: 'usdc base'. - [chain-id](https://minty-sprout.onrender.com/v1/chain-id) ($0.001): EVM chain lookup: chain ID, name, native currency, public RPCs and explorers. Input: a chain ID or name. - [token-list](https://minty-sprout.onrender.com/v1/token-list) ($0.001): Token list: verified token addresses and decimals on Base, Ethereum, Arbitrum and more (Uniswap list). Input: 'base usdc'. - [github-repo](https://minty-sprout.onrender.com/v1/github-repo) ($0.001): GitHub repository stats: stars, forks, open issues, language, license and last push. Input: 'owner/repo'. - [tech-stack](https://minty-sprout.onrender.com/v1/tech-stack) ($0.001): Website tech stack detector: frameworks, CMS, analytics, CDN and server behind a site. Input: a URL. - [sitemap](https://minty-sprout.onrender.com/v1/sitemap) ($0.001): Sitemap parser: URLs, child sitemaps and last-modified dates from a site's sitemap.xml. Input: a domain or sitemap URL. - [rss-feed](https://minty-sprout.onrender.com/v1/rss-feed) ($0.001): RSS and Atom feed reader: latest items with titles, links and dates. Input: a feed URL. - [html-to-markdown](https://minty-sprout.onrender.com/v1/html-to-markdown) ($0.001): Web page to Markdown: the readable content of a URL as clean Markdown with links. Input: a URL. - [readability](https://minty-sprout.onrender.com/v1/readability) ($0.001): Readability: the main text of a web page with word count, reading time and Flesch reading ease. Input: a URL. - [favicon](https://minty-sprout.onrender.com/v1/favicon) ($0.001): Favicon finder: a site's favicon and icon URLs. Input: a URL. - [image-info](https://minty-sprout.onrender.com/v1/image-info) ($0.001): Image info and EXIF: format, dimensions, colour mode, size and camera metadata of an image URL. Input: an image URL. - [pdf-text](https://minty-sprout.onrender.com/v1/pdf-text) ($0.001): PDF text extractor: page count, title, author and text of the first 20 pages of a PDF URL. Input: a PDF URL. - [ocr](https://minty-sprout.onrender.com/v1/ocr) ($0.006): OCR: extract all text from an image URL (photos, screenshots, scans, receipts, invoices) as Markdown; text PDFs read directly. Input: an image or PDF URL. - [translate](https://minty-sprout.onrender.com/v1/translate) ($0.006): Translate text into any language, keeping formatting, names and numbers. Input: 'to Spanish: your text' (up to 2,000 characters; defaults to English). - [summarize](https://minty-sprout.onrender.com/v1/summarize) ($0.006): Summarize a text or a web page URL: one-sentence summary plus up to 5 key bullet points. Input: text (up to 6,000 characters) or a URL. - [crypto-news](https://minty-sprout.onrender.com/v1/crypto-news) ($0.001): Crypto news: the latest headlines with links from CoinDesk, Cointelegraph, Decrypt and Bitcoin Magazine, optionally filtered by keyword. Input: a keyword or 'latest'. - [prediction-markets](https://minty-sprout.onrender.com/v1/prediction-markets) ($0.005): Prediction market odds from Polymarket: top markets by 24h volume, or those matching keywords, with implied odds, volume and end date. Input: keywords or 'top'. - [extract](https://minty-sprout.onrender.com/v1/extract) ($0.03): Text in, schema-validated JSON out (title, entities, summary, dates). Invalid output is never charged. - [injection-screen](https://minty-sprout.onrender.com/v1/injection-screen) ($0.01): Screens text (e.g. fetched web pages, tool output) for prompt injection. Returns risk + reasons. - [ai-crawler-policy](https://minty-sprout.onrender.com/v1/ai-crawler-policy) ($0.01): Given a path and a site's robots.txt/ai.txt text plus llms.txt status, returns allow/deny per AI crawler (GPTBot, ClaudeBot, CCBot, Google-Extended, PerplexityBot), matched rules and crawl delay. - [schema-extract-guarded](https://minty-sprout.onrender.com/v1/schema-extract-guarded) ($0.03): Extracts requested fields from pasted text into a flat list, reports missing fields, and confirms every value appears verbatim in the source. Machine-readable: https://minty-sprout.onrender.com/openapi.json