{"openapi":"3.1.0","info":{"title":"Mat Web & Data Toolkit","version":"1.6.1","description":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","contact":{"email":"matt@tinkn.ai"},"x-guidance":"Pass a public http(s) URL in the url query parameter to get structured text from that page."},"paths":{"/extract":{"get":{"summary":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"Extracted page","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"links":{"type":"array","items":{"type":"string"}},"text":{"type":"string"}}}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/dns":{"get":{"summary":"Resolves A, AAAA, MX, TXT, NS and CNAME records for a hostname and returns them as JSON.","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"DNS records","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/readable":{"get":{"summary":"Returns the main readable article text of a web page (article/main content, scripts and navigation removed) as JSON paragraphs.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/rss":{"get":{"summary":"Parses an RSS or Atom feed URL and returns its title and items (title, link, date, summary) as JSON.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/audit":{"get":{"summary":"Quick site audit: HTTP status, response time, redirects, TLS certificate issuer and days to expiry, security headers, and SEO meta tags as JSON.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/fx":{"get":{"summary":"Latest foreign-exchange reference rates (ECB via Frankfurter) for a base currency, e.g. USD, AUD, EUR, as JSON.","parameters":[{"name":"base","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/btc":{"get":{"summary":"Bitcoin snapshot: price in major fiat currencies, recommended fees (sat/vB), mempool size, block height and next difficulty adjustment, as JSON.","parameters":[{"name":"currency","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/leads":{"get":{"summary":"Small-business web-agency leads (AU/NZ): business name, website, country, public business phone and the website issues found by a passive audit (no personal names, no email addresses). Filter by country/q; up to 25 rows per call.","parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/weather-alerts":{"get":{"summary":"Active US National Weather Service alerts (warnings, watches, advisories) for a US state code (area=TX) or a point (lat=&lon=): event, severity, urgency, areas, onset/expiry, headline and instructions.","parameters":[{"name":"area","in":"query","required":false,"schema":{"type":"string"}},{"name":"lat","in":"query","required":false,"schema":{"type":"string"}},{"name":"lon","in":"query","required":false,"schema":{"type":"string"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/forecast":{"get":{"summary":"US weather forecast for a point (lat=&lon=) from the National Weather Service: next 7 days of 12-hour periods (temperature, wind, precipitation chance, short and detailed forecast), plus the forecast office and nearest city.","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"string"}},{"name":"lon","in":"query","required":true,"schema":{"type":"string"}},{"name":"hourly","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/earthquakes":{"get":{"summary":"Recent earthquakes worldwide from the USGS: filter by minimum magnitude, period (hour|day|week|month) and optional radius around lat/lon (km). Returns magnitude, place, time, depth, tsunami flag and USGS link.","parameters":[{"name":"minmag","in":"query","required":false,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"name":"lat","in":"query","required":false,"schema":{"type":"string"}},{"name":"lon","in":"query","required":false,"schema":{"type":"string"}},{"name":"radius_km","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/wiki":{"get":{"summary":"Wikipedia lookup: searches a topic and returns the best-matching article's title, short description, plain-text summary, URL and thumbnail, plus other matching titles (lang= for other Wikipedias, default en). Text CC BY-SA 4.0.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/rdap":{"get":{"summary":"Domain registration data via RDAP (registrar, created/expiry dates, status, nameservers) as JSON.","parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/ssl":{"get":{"summary":"TLS certificate details for a host: subject, issuer, SANs, validity dates and days to expiry (live HTTPS check plus Certificate Transparency logs).","parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/robots":{"get":{"summary":"Fetches and parses a site's robots.txt into user-agent groups (allow/disallow rules), crawl-delay and sitemap URLs.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/sitemap":{"get":{"summary":"Parses an XML sitemap or sitemap index: URL count and up to 500 entries with lastmod, changefreq and priority.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/headers":{"get":{"summary":"HTTP response headers, status and timing for a URL (no redirect following, HEAD then GET fallback).","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/meta":{"get":{"summary":"Page metadata: title, description, canonical, Open Graph, Twitter card, favicon, language and JSON-LD types.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/readability":{"get":{"summary":"Readability scores for text or a web page: Flesch reading ease, Flesch-Kincaid grade, sentences, words, syllables.","parameters":[{"name":"text","in":"query","required":false,"schema":{"type":"string"}},{"name":"url","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/keywords":{"get":{"summary":"Word count and top keywords/bigrams (stopwords removed) for text or a web page.","parameters":[{"name":"text","in":"query","required":false,"schema":{"type":"string"}},{"name":"url","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/timezone":{"get":{"summary":"Converts a date-time between IANA time zones and reports UTC offsets (e.g. time=2026-10-18T09:00&from=Australia/Sydney&to=America/New_York).","parameters":[{"name":"time","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/ipinfo":{"get":{"summary":"IP address geolocation and network info (country, region, city, timezone, ASN/ISP) from free public sources.","parameters":[{"name":"ip","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/unshorten":{"get":{"summary":"Expands a short or redirecting URL: full redirect chain with status codes and the final destination.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/markdown":{"get":{"summary":"Converts Markdown (headings, emphasis, links, images, lists, code, quotes, tables) to HTML.","parameters":[{"name":"md","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/jsonvalidate":{"get":{"summary":"Validates a JSON string: reports parse errors with position/line, type, depth, key count, and a pretty-printed copy.","parameters":[{"name":"json","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/hash":{"get":{"summary":"Hashes text with md5, sha1, sha256, sha512 (all by default) plus optional HMAC with a key.","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"}},{"name":"alg","in":"query","required":false,"schema":{"type":"string"}},{"name":"key","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/encode":{"get":{"summary":"Encodes/decodes text: base64, base64url, hex, URL-encoding, HTML entities; op=encode or decode (all encodings returned by default).","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string"}},{"name":"op","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/crypto":{"get":{"summary":"Crypto prices from CoinGecko: price, 24h change, market cap and volume for comma-separated coin ids (e.g. bitcoin,ethereum,solana).","parameters":[{"name":"ids","in":"query","required":false,"schema":{"type":"string"}},{"name":"vs","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/lightning":{"get":{"summary":"Bitcoin Lightning Network statistics: channel and node counts, total capacity, average/median fees and channel sizes (mempool.space). Optional unit=btc|sats for capacity.","parameters":[{"name":"unit","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/holidays":{"get":{"summary":"Public holidays for a country and year (ISO country code, e.g. AU, US, GB) with dates, local names and regions (Nager.Date).","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string"}},{"name":"year","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/convert":{"get":{"summary":"Unit conversion for length, mass, volume, speed, area, data size, time and temperature (e.g. value=10&from=mi&to=km).","parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/emailcheck":{"get":{"summary":"Checks an email address's syntax and its domain's MX/A records (deliverability signal, no mail is sent).","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/links":{"get":{"summary":"Checks every link on a web page (up to 50) and reports HTTP status of each: broken, redirected or OK.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/evm-balance":{"get":{"summary":"Wallet balance on an EVM chain (base, ethereum, arbitrum, optimism, polygon): native coin plus ERC-20 balances. tokens= takes symbols (USDC, USDT, DAI, WETH) or contract addresses, comma-separated; default is the chain's major stablecoins and WETH. Read live from public RPC.","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"chain","in":"query","required":false,"schema":{"type":"string"}},{"name":"tokens","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/evm-token":{"get":{"summary":"ERC-20 token facts for a contract on an EVM chain (base, ethereum, arbitrum, optimism, polygon): name, symbol, decimals, total supply and whether the address holds contract code. Read live from public RPC.","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"chain","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/evm-tx":{"get":{"summary":"Transaction lookup by hash on an EVM chain (base, ethereum, arbitrum, optimism, polygon): status, block, time, from, to, value, gas used, fee paid, and decoded ERC-20 Transfer events with token symbols and amounts.","parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"}},{"name":"chain","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/evm-gas":{"get":{"summary":"Live gas snapshot across EVM chains in one call (ethereum, base, arbitrum, optimism, polygon, or chain= for one): latest block, block age, base fee, gas price and priority fee in gwei, plus the estimated cost of a plain transfer and an ERC-20 transfer in the native coin.","parameters":[{"name":"chain","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/dataset-worldbank":{"get":{"summary":"World Bank open data as a dataset: one indicator (alias gdp|gdp_per_capita|gdp_growth|population|inflation|unemployment|life_expectancy|co2_per_capita|internet_users|exports_pct_gdp, or any WDI code like NY.GDP.MKTP.CD) for up to 20 ISO country codes (country=AU;NZ;US) over a year range (from=2015&to=2025). Returns rows plus a ready-to-save CSV. Data CC BY 4.0.","parameters":[{"name":"indicator","in":"query","required":true,"schema":{"type":"string"}},{"name":"country","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/dataset-fx":{"get":{"summary":"Daily foreign-exchange rate history as a dataset (ECB reference rates): base currency (default USD), comma-separated symbols (default AUD,EUR,GBP,JPY), date range from=YYYY-MM-DD&to=YYYY-MM-DD (max 366 days, default last 30). Returns one row per business day plus a ready-to-save CSV.","parameters":[{"name":"base","in":"query","required":false,"schema":{"type":"string"}},{"name":"symbols","in":"query","required":false,"schema":{"type":"string"}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/nip05/register":{"get":{"summary":"Registers a Nostr NIP-05 identity name@automatom.matt-d59.workers.dev for a hex pubkey (optional relays, comma-separated wss:// URLs). Served at /.well-known/nostr.json. Names a-z0-9._- (max 30), first come first served; invalid or taken names are refused before payment. Free availability check: /nip05/check?name=","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"}},{"name":"pubkey","in":"query","required":true,"schema":{"type":"string"}},{"name":"relays","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":12,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":12,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"0.01","currency":"USDC"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"}}}},"/relay/admit":{"get":{"summary":"One-time write admission to Mat's paid Nostr relay wss://automatom.matt-d59.workers.dev/relay for a hex pubkey (reads are free for everyone). Price 1.00 USDC on Base (x402) or 1000 sats (Cashu NUT-24 / Lightning L402). Bundle: add name= to also register name@automatom.matt-d59.workers.dev as your NIP-05 identity at no extra cost. Already-admitted pubkeys and taken names are refused before payment. Free check: /relay/status?pubkey=","parameters":[{"name":"pubkey","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"relays","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":1000,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":1000,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"1.00","currency":"USDC"},"responses":{"200":{"description":"Admitted","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"pubkey":{"type":"string"},"relay":{"type":"string"},"nip05":{"type":"string"},"via":{"type":"string"}}}}}},"402":{"description":"Payment Required (x402 PAYMENT-REQUIRED header, plus NUT-24 X-Cashu payment request, plus L402 WWW-Authenticate Lightning invoice)"},"409":{"description":"Pubkey already admitted or name taken (no payment taken)"}}}},"/relay/status":{"get":{"security":[],"summary":"Free: is this pubkey admitted to write to wss://automatom.matt-d59.workers.dev/relay?","parameters":[{"name":"pubkey","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/leads/broken-sites":{"get":{"summary":"Full pack of small-business websites with verified passive-audit issues (business name, website, country, public business phone, issues found). No personal names, no email addresses. US$5.00 USDC on Base (x402) or 5000 sats (Cashu / L402). Free 3-row sample at /leads/broken-sites/sample.","parameters":[],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":5000,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":5000,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"5.00","currency":"USDC"},"responses":{"200":{"description":"Full lead pack","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required"}}}},"/products/x402-mcp-starter":{"get":{"summary":"Original Mat pack: x402 + MCP paid-API starter kit (working Cloudflare Worker template, Claude Code skill, prompts, ship checklist). ZIP download. US$9.00 USDC on Base (x402) or 11000 sats (Cashu / L402). Free preview at /products/x402-mcp-starter/preview.","parameters":[],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":11000,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":11000,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"9.00","currency":"USDC"},"responses":{"200":{"description":"ZIP download","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required"}}}},"/products/x402-mcp-starter/preview":{"get":{"security":[],"summary":"Free preview of the x402+MCP starter skill pack (contents list + excerpt).","parameters":[],"responses":{"200":{"description":"Preview","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/list-me/run":{"get":{"summary":"List your x402 agent/API origin on free no-account directories (agent402.tools, 402index.io, x402dash). Pass url=https://your.origin (optional contact=email). Returns proof links; rate-limited leftovers are queued. US$3.00 USDC on Base (x402) or 3700 sats (Cashu / L402). Free info: GET /list-me ; status: GET /list-me/status?id=","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}},{"name":"contact","in":"query","required":false,"schema":{"type":"string"}}],"x-payment-info":{"protocols":[{"x402":{}},{"cashu":{"nut":24,"header":"X-Cashu","amount":3700,"unit":"sat","mints":["https://mint.minibits.cash/Bitcoin"]}},{"l402":{"header":"WWW-Authenticate","authorization":"L402 <macaroon>:<preimage>","amount":3700,"unit":"sat","network":"lightning"}}],"pricingMode":"fixed","price":"3.00","currency":"USDC"},"responses":{"200":{"description":"Registration report + proof links","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required"}}}},"/list-me":{"get":{"security":[],"summary":"Free info for the agent directory listing service.","parameters":[],"responses":{"200":{"description":"Info","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/list-me/status":{"get":{"security":[],"summary":"Free job status for a prior /list-me/run.","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/health":{"get":{"security":[],"responses":{"200":{"description":"ok"}}}}}}