{
 "service": "Stablecoin Gateways (MAINNET: Base USDC + XRPL; testnet rails also offered)",
 "links": {
  "contact": "hello@stablecoingateways.com",
  "mcp": "https://api.stablecoingateways.com/mcp",
  "status": "https://api.stablecoingateways.com/status",
  "status_json": "https://api.stablecoingateways.com/status.json",
  "openapi": "https://api.stablecoingateways.com/openapi.json",
  "llms_txt": "https://api.stablecoingateways.com/llms.txt",
  "verify_receipt": "https://api.stablecoingateways.com/v1/verify-receipt",
  "receipt_key": "https://api.stablecoingateways.com/.well-known/receipt-key"
 },
 "rails": [
  "x402-base-main",
  "x402-xrpl-main",
  "x402-base",
  "x402-xrpl",
  "mpp-xrpl"
 ],
 "endpoints": [
  {
   "id": "domain-facts-v1",
   "path": "/v1/domain-facts",
   "price_usd": "0.003",
   "price_atomic": {
    "x402-xrpl": "3000",
    "x402-base": "3000",
    "mpp-xrpl": "3000",
    "x402-base-main": "3000",
    "x402-xrpl-main": "3000"
   },
   "description": "Domain lookup and due diligence (DNS, WHOIS/RDAP, email security): give a domain or hostname, get DNS records (A, AAAA, MX, NS, TXT, CAA), SPF, DMARC, DKIM and MTA-STS email-auth posture, HTTPS/HSTS status, and registrar, creation and expiry dates from registry RDAP. Use to check a website's setup, email deliverability or domain age before trusting it. No personal data. Signed receipt.",
   "params": {
    "domain": "registrable or full hostname, e.g. example.com"
   },
   "source": "Live DNS (Cloudflare DoH); registry data from public RDAP via the IANA bootstrap (Verisign for .com/.net), cached 24 h under a low daily query cap",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "sec-company-facts-v1",
   "path": "/v1/sec/company-facts",
   "price_usd": "0.003",
   "price_atomic": {
    "x402-xrpl": "3000",
    "x402-base": "3000",
    "mpp-xrpl": "3000",
    "x402-base-main": "3000",
    "x402-xrpl-main": "3000"
   },
   "description": "SEC EDGAR company lookup by stock ticker or CIK: revenue, net income, assets, liabilities, equity, cash, EPS and shares from the latest 10-K/10-Q XBRL data, plus recent 10-K, 10-Q and 8-K filings with links, exchange, state of incorporation and industry (SIC). Use when you need a US public company's fundamentals, filings or identity. Signed receipt.",
   "params": {
    "ticker": "e.g. AAPL",
    "cik": "alternative to ticker; listed companies only"
   },
   "source": "SEC EDGAR data.sec.gov (public)",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "sanctions-screen-v1",
   "path": "/v1/sanctions/screen",
   "price_usd": "0.005",
   "price_atomic": {
    "x402-xrpl": "5000",
    "x402-base": "5000",
    "mpp-xrpl": "5000",
    "x402-base-main": "5000",
    "x402-xrpl-main": "5000"
   },
   "description": "Sanctions screening (OFAC, EU, UK, UN): is a company, organisation, vessel (name or IMO), aircraft or crypto wallet address sanctioned? Screens the official US OFAC SDN and Consolidated lists, the EU consolidated financial sanctions list and the UK Sanctions List, flagging UN Security Council designations, with fuzzy name and alias matching; returns matches, scores, programs and each list's date. EU and UK are updated and freshness-checked separately, each for 48 hours; lists= selects which apply, and a stale requested list returns 503 before any payment. A UK update does not refresh EU. Entities only, not individuals. Use for KYB, AML, vendor and pre-payment screening. Data lookup, not a compliance determination. Signed receipt.",
   "params": {
    "name": "organisation/vessel/aircraft name",
    "imo": "7-digit IMO",
    "address": "crypto address (OFAC list only)",
    "min_score": "0.6-1.0 (default 0.85)",
    "lists": "ofac,eu,uk,un or all (default all)"
   },
   "source": "Official OFAC Sanctions List Service files (SDN + Consolidated), US Treasury; EU consolidated financial sanctions list (European Commission Financial Sanctions Files); UK Sanctions List (FCDO, Open Government Licence v3.0); UN Security Council designations as carried in the UK and EU lists. trade.gov Consolidated Screening List only as a labelled OFAC fallback (with ITA notice)",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "page-to-markdown-v1",
   "path": "/v1/page-to-markdown",
   "price_usd": "0.002",
   "price_atomic": {
    "x402-xrpl": "2000",
    "x402-base": "2000",
    "mpp-xrpl": "2000",
    "x402-base-main": "2000",
    "x402-xrpl-main": "2000"
   },
   "description": "Web page to markdown: give a public URL, get its main content as clean Markdown for LLMs (navigation, footers and scripts removed) with title, canonical URL, language, publish date and links. Use when an agent needs to read, quote or summarise a page. Respects robots.txt, ai.txt and noai; no paywall bypass; refusals are not charged. Signed receipt.",
   "params": {
    "url": "public http(s) URL"
   },
   "source": "Buyer-supplied public URL; honours robots.txt, ai.txt, X-Robots-Tag, noai/noindex meta and a terms blocklist",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "business-days-v1",
   "path": "/v1/business-days",
   "price_usd": "0.001",
   "price_atomic": {
    "x402-xrpl": "1000",
    "x402-base": "1000",
    "mpp-xrpl": "1000",
    "x402-base-main": "1000",
    "x402-xrpl-main": "1000"
   },
   "description": "Business days and public holidays: check if a date is a business day, add or subtract N business days, count business days between dates, or list holidays, for 250 countries, 630 subdivisions (e.g. US-NY, GB-ENG) and 31 stock exchanges, 2025-2030. Use for payment due dates, T+N settlement, delivery estimates and SLAs. Data: python-holidays (MIT). Signed receipt.",
   "params": {
    "calendar": "US, US-NY, GB-ENG, DE-BY, FIN-XNYS ...",
    "op": "check|add|between|list",
    "date": "YYYY-MM-DD",
    "days": "for add",
    "end": "for between",
    "year": "for list"
   },
   "source": "python-holidays, MIT License, Copyright (c) Vacanza Team and individual contributors; Copyright (c) dr-prodigy 2017-2023; Copyright (c) ryanss 2014-2017 (https://github.com/vacanza/holidays)",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "fx-reference-rates-v1",
   "path": "/v1/fx/rates",
   "price_usd": "0.001",
   "price_atomic": {
    "x402-xrpl": "1000",
    "x402-base": "1000",
    "mpp-xrpl": "1000",
    "x402-base-main": "1000",
    "x402-xrpl-main": "1000"
   },
   "description": "Currency exchange rates from the European Central Bank: euro reference rates for 29 currencies plus EUR (USD, GBP, JPY, CHF, CNY...), latest or any day in the last 90 days, with cross rates for any base and optional amount conversion (e.g. 100 USD to EUR). Use for invoicing, pricing and reporting. Reference rates, not transaction rates. Source: ECB; free at ecb.europa.eu. Signed receipt.",
   "params": {
    "base": "EUR (default) or any ECB currency",
    "symbols": "comma list",
    "date": "YYYY-MM-DD (optional)",
    "amount": "optional"
   },
   "source": "European Central Bank euro foreign exchange reference rates. Source: ECB. This information may be obtained free of charge at https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "lei-lookup-v1",
   "path": "/v1/lei",
   "price_usd": "0.002",
   "price_atomic": {
    "x402-xrpl": "2000",
    "x402-base": "2000",
    "mpp-xrpl": "2000",
    "x402-base-main": "2000",
    "x402-xrpl-main": "2000"
   },
   "description": "LEI lookup (GLEIF): find a company's Legal Entity Identifier by legal name, or get the full record by LEI: legal name, jurisdiction, entity and registration status, registered and headquarters address, and direct and ultimate parent companies. Use for KYB, company identity verification, counterparty identification and corporate ownership checks. Global coverage, CC0 data. Signed receipt.",
   "params": {
    "lei": "20-char LEI",
    "name": "legal name search"
   },
   "source": "GLEIF API (CC0)",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "product-recalls-us-v1",
   "path": "/v1/recalls",
   "price_usd": "0.002",
   "price_atomic": {
    "x402-xrpl": "2000",
    "x402-base": "2000",
    "mpp-xrpl": "2000",
    "x402-base-main": "2000",
    "x402-xrpl-main": "2000"
   },
   "description": "Product recall check (US): has a product or brand been recalled? Searches CPSC consumer product recalls and FDA food, drug and medical device enforcement reports (openFDA) in one call; returns hazard or reason, remedy, date, FDA recall class and agency link. Use for product safety, e-commerce listing and procurement checks. Signed receipt.",
   "params": {
    "q": "product or brand term",
    "source": "all|cpsc|fda"
   },
   "source": "CPSC Recalls API (public), openFDA enforcement (CC0)",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "us-rates-macro-v1",
   "path": "/v1/us/rates-macro",
   "price_usd": "0.002",
   "price_atomic": {
    "x402-xrpl": "2000",
    "x402-base": "2000",
    "mpp-xrpl": "2000",
    "x402-base-main": "2000",
    "x402-xrpl-main": "2000"
   },
   "description": "US Treasury yields and inflation data: daily Treasury par yield curve (1-month to 30-year) plus BLS CPI, core CPI, unemployment rate and nonfarm payrolls for the last 13 months with year-over-year change. Use when a finance agent needs current US interest rates, inflation or jobs data. Sources: US Treasury, BLS (public). Signed receipt.",
   "params": {
    "series": "comma list of treasury,cpi,core_cpi,unemployment,payrolls (default all)"
   },
   "source": "US Treasury Daily Par Yield Curve (public), BLS Public Data API v2 (public domain; cite BLS). BLS.gov cannot vouch for the data or analyses derived from these data after the data have been retrieved from BLS.gov.",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "whois-v1",
   "path": "/v1/whois",
   "price_usd": "0.003",
   "price_atomic": {
    "x402-xrpl": "3000",
    "x402-base": "3000",
    "mpp-xrpl": "3000",
    "x402-base-main": "3000",
    "x402-xrpl-main": "3000"
   },
   "description": "WHOIS / RDAP domain lookup: give a domain, get registrar, registration (creation), expiry and last-updated dates, status codes and nameservers from the registry's RDAP service, plus DNS records and SPF/DMARC/DKIM email-auth posture. Use to check a domain's age, registrar or expiry before trusting a merchant, vendor or counterparty. No personal data. Signed receipt.",
   "params": {
    "domain": "registrable or full hostname, e.g. example.com"
   },
   "source": "Registry data from public RDAP via the IANA bootstrap (Verisign for .com/.net), cached 24 h; live DNS (Cloudflare DoH). Alias of /v1/domain-facts",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "fx-convert-v1",
   "path": "/v1/fx/convert",
   "price_usd": "0.001",
   "price_atomic": {
    "x402-xrpl": "1000",
    "x402-base": "1000",
    "mpp-xrpl": "1000",
    "x402-base-main": "1000",
    "x402-xrpl-main": "1000"
   },
   "description": "Currency converter (ECB reference rates): convert an amount from one currency to one or more others, e.g. 250 USD to EUR, GBP and JPY, at the latest European Central Bank rate or any day in the last 90 days. Returns the rate, converted amount and rate date for each target. 30 currencies. Reference rates, not transaction rates. Source: ECB. Signed receipt.",
   "params": {
    "from": "ISO 4217 code, e.g. USD",
    "to": "comma list of up to 10 codes, e.g. EUR,GBP",
    "amount": "positive number",
    "date": "YYYY-MM-DD (optional)"
   },
   "source": "European Central Bank euro foreign exchange reference rates. Source: ECB. This information may be obtained free of charge at https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "merchant-check-v1",
   "path": "/v1/merchant-check",
   "price_usd": "0.01",
   "price_atomic": {
    "x402-xrpl": "10000",
    "x402-base": "10000",
    "mpp-xrpl": "10000",
    "x402-base-main": "10000",
    "x402-xrpl-main": "10000"
   },
   "description": "Merchant check (KYB facts) before an agent pays: give a merchant's domain and optionally its company name, get neutral sourced facts in one call for merchant verification and vendor due diligence: domain registration date and age, expiry and registrar (registry RDAP), DNS and SPF/DMARC email-auth, an OFAC sanctions screen of the name, GLEIF LEI match and SEC EDGAR match. No risk score or fraud verdict. Signed receipt.",
   "params": {
    "domain": "merchant domain, e.g. example.com (required)",
    "name": "company legal or trading name (screens OFAC, GLEIF, SEC)",
    "ticker": "optional US ticker",
    "lei": "optional 20-char LEI",
    "country": "optional ISO 3166 alpha-2 filter for LEI"
   },
   "source": "Registry RDAP via IANA bootstrap; DNS via Cloudflare DoH; official OFAC SDN + Consolidated lists (US Treasury); GLEIF (CC0); SEC EDGAR (public). Same engines as /v1/whois, /v1/sanctions/screen, /v1/lei and /v1/sec/company-facts",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "sanctions-address-v1",
   "path": "/v1/sanctions/address",
   "price_usd": "0.002",
   "price_atomic": {
    "x402-xrpl": "2000",
    "x402-base": "2000",
    "mpp-xrpl": "2000",
    "x402-base-main": "2000",
    "x402-xrpl-main": "2000"
   },
   "description": "Crypto wallet sanctions check (OFAC): is this blockchain address on the US Treasury OFAC sanctions lists? Exact match against all 1,000+ digital currency addresses OFAC publishes on SDN and Consolidated entries (Bitcoin, Tron, Ethereum and EVM chains, USDT, Litecoin, Monero and more), returning the listing's program and entry ID. Use before sending or accepting a crypto payment. No tracing or risk scoring. Signed receipt.",
   "params": {
    "address": "crypto wallet address, e.g. 0x... or bc1..."
   },
   "source": "Official OFAC Sanctions List Service files (SDN + Consolidated), US Treasury: 'Digital Currency Address' identifiers",
   "provenance": "sg-provenance/1"
  },
  {
   "id": "counterparty-check-v1",
   "path": "/v1/counterparty-check",
   "price_usd": "0.01",
   "price_atomic": {
    "x402-xrpl": "10000",
    "x402-base": "10000",
    "mpp-xrpl": "10000",
    "x402-base-main": "10000",
    "x402-xrpl-main": "10000"
   },
   "description": "Counterparty check (KYB preflight) in one call: give any of a company name, domain, LEI or crypto wallet address (plus an optional EU VAT number), get neutral sourced facts for vendor onboarding and supplier due diligence: sanctions screen of the name on OFAC, EU and UK lists with UN designations flagged, US federal exclusions (SAM.gov debarments and suspensions of firms, by name or UEI), OFAC wallet check, GLEIF LEI match and status, domain age, registrar and email-auth, and an EU VAT number format check. A name screen needs fresh OFAC, EU and UK lists (48 hours each) and returns 503 before payment if any of those is stale. Domain-only, address-only and UEI-only checks do not require the EU or UK lists. No risk score or verdict. Signed receipt.",
   "params": {
    "name": "company legal or trading name",
    "domain": "company domain",
    "lei": "20-char LEI",
    "vat": "EU VAT number with country prefix (format check only)",
    "country": "ISO 3166 alpha-2 filter for LEI matches",
    "address": "crypto wallet address (OFAC check)",
    "uei": "12-char SAM.gov Unique Entity ID (exact exclusions match)"
   },
   "source": "OFAC SDN + Consolidated (US Treasury); EU Financial Sanctions Files (European Commission); UK Sanctions List (FCDO, OGL v3.0); SAM.gov Exclusions public extract (GSA; some records contain D&B Open Data, source: Dun & Bradstreet); GLEIF (CC0); registry RDAP via IANA bootstrap; DNS via Cloudflare DoH. Same engines as /v1/sanctions/screen, /v1/sanctions/address, /v1/lei and /v1/whois",
   "provenance": "sg-provenance/1"
  }
 ],
 "free": {
  "/v1/free/fx-latest": "ECB latest reference rates (EUR base)",
  "/v1/free/business-day?calendar=US&date=YYYY-MM-DD": "is-business-day check",
  "/v1/data-status": "dataset freshness",
  "/v1/stats": "paid-call counts split mainnet/testnet and self-test/outside (no payer addresses)",
  "POST /v1/verify-receipt": "verify a receipt",
  "/.well-known/receipt-key": "receipt public key",
  "/v1/log/head": "log head",
  "/v1/log/audit": "recompute hash chain",
  "POST /mcp": "remote MCP server (Streamable HTTP); paid tools use the x402 MCP transport"
 },
 "notes": "An unpaid request with no query parameters returns the 402 price quote; malformed input returns 400 before any payment is requested. Payment is settled only after the response is produced. Endpoints marked provenance add a data.provenance block (sg-provenance/1: per-fact source, retrieval time, limits; evidence only). New receipts carry a signed evidence object."
}