{
  "service": "Fable Drop tools",
  "payment": {
    "protocol": "x402 v2, scheme exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "pay_to": "0xd0d50cC6355ACf93f7210D4138e6FfC260554Cfa",
    "charged": "only when the tool returns a result"
  },
  "trial": "Add trial=1 to a tool URL for a free unpaid call, 3 a day per address, to see the output first. Not offered on tools that fetch a URL you supply (x402-check, security-headers, web-read, csv-preflight).",
  "day_pass": "0.99 USDC at https://fable-drop-nine.vercel.app/x402/tools/day-pass buys 24 hours of every tool (up to 2000 calls): send the returned pass as the X-Pass header.",
  "how_to_pay": {
    "note": "Any x402 v2 client works. The wallet needs USDC on Base; no ETH, since the facilitator pays gas.",
    "install": "npm i @x402/fetch @x402/evm viem",
    "code": "import { wrapFetchWithPaymentFromConfig } from \"@x402/fetch\";\nimport { ExactEvmScheme } from \"@x402/evm\";\nimport { privateKeyToAccount } from \"viem/accounts\";\n\nconst account = privateKeyToAccount(process.env.EVM_PRIVATE_KEY);\nconst pay = wrapFetchWithPaymentFromConfig(fetch, { schemes: [{ network: \"eip155:8453\", client: new ExactEvmScheme(account) }] });\nconst res = await pay(\"https://fable-drop-nine.vercel.app/x402/tools/dns?domain=example.com\");\nconsole.log(await res.json());"
  },
  "tools": [
    {
      "name": "dns",
      "title": "DNS lookup",
      "description": "A, AAAA, MX, TXT, NS and CNAME records for a domain, as JSON.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/dns",
      "query": {
        "domain": "Domain name, e.g. example.com"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/dns?domain=example.com",
      "price_usdc": 0.001,
      "trial": true
    },
    {
      "name": "email-domain",
      "title": "Email domain check",
      "description": "Whether a domain can receive mail: MX hosts by priority, null MX, the SPF record and its all-qualifier, the DMARC record and its policy.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/email-domain",
      "query": {
        "domain": "Domain part of an email address, e.g. example.com"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/email-domain?domain=example.com",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "x402-check",
      "title": "x402 endpoint check before paying",
      "description": "Calls an x402 endpoint without paying and reports whether it answers 402 with readable terms: version, each payment option's network, asset, receiver and price in USD, whether a client running in a web page can read them, plus a list of problems found.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/x402-check",
      "query": {
        "url": "https URL of the paid endpoint, URL-encoded",
        "method": "GET (default) or POST"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/x402-check?url=https%3A%2F%2Fexample.com%2Fpaid",
      "price_usdc": 0.003,
      "trial": false
    },
    {
      "name": "weather",
      "title": "Weather now and forecast",
      "description": "Current weather, the next 24 hours by hour and about 9 days by day (temperature, wind, precipitation, condition) for a place name or coordinates. Forecast data from MET Norway.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/weather",
      "query": {
        "place": "Place name, e.g. Paris or Austin, Texas. Or use lat and lon.",
        "lat": "Latitude, -90..90",
        "lon": "Longitude, -180..180"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/weather?place=Paris",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "funding-rates",
      "title": "Perpetual funding rates",
      "description": "Current funding rate for a perpetual on Hyperliquid and dYdX v4: hourly rate, annualized percent, mark and oracle price, open interest and 24h volume.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/funding-rates",
      "query": {
        "symbol": "Base asset, e.g. BTC, ETH, SOL"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/funding-rates?symbol=BTC",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "package-advisories",
      "title": "Package vulnerability check",
      "description": "Known security advisories for one exact package version on npm, PyPI, Go, crates.io, Maven, NuGet, RubyGems, Packagist, Pub or Hex, from OSV.dev: advisory and CVE ids, severity, CVSS vector, summary and the releases that fix each one.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/package-advisories",
      "query": {
        "ecosystem": "npm, pypi, go, cargo, maven, nuget, rubygems, packagist, pub or hex",
        "name": "package name as the registry spells it",
        "version": "exact version to check, e.g. 4.17.15"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/package-advisories?ecosystem=npm&name=lodash&version=4.17.15",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "sanctions-address",
      "title": "Sanctioned wallet address check (OFAC SDN)",
      "description": "Checks one crypto wallet address (Bitcoin, Ethereum and other EVM chains, Tron, Solana, Litecoin, Monero and others) for an exact match against the addresses published on the US Treasury OFAC SDN sanctions list. Returns listed true or false, the sanctioned party's name, type and sanctions programs for a match, and the publication date of the list used. Exact published addresses only: no fund tracing, no other lists, not a compliance clearance.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/sanctions-address",
      "query": {
        "address": "Wallet address to check, e.g. an 0x address or a Bitcoin address"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/sanctions-address?address=0x7F367cC41522cE07553e823bf3be79A889DEbe1B",
      "price_usdc": 0.003,
      "trial": true
    },
    {
      "name": "tls-certificate",
      "title": "TLS certificate check",
      "description": "Connects to one public host on port 443 and reads the TLS certificate it serves: whether it is trusted and covers the host name, expiry date and days remaining, subject and alternative names, issuer, chain, serial number, SHA-256 fingerprint, and the negotiated TLS version and cipher. Use it to catch expiring or misissued certificates before a deploy or an outage.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/tls-certificate",
      "query": {
        "host": "Public domain name to check, e.g. example.com"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/tls-certificate?host=example.com",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "security-headers",
      "title": "HTTP security header check",
      "description": "Fetches one https URL and grades its security headers: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, plus cookie flags and version disclosure. Returns a 0-100 score, a letter grade, and what is missing and why.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/security-headers",
      "query": {
        "url": "https URL of the page, URL-encoded"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/security-headers?url=https%3A%2F%2Fexample.com",
      "price_usdc": 0.002,
      "trial": false
    },
    {
      "name": "web-read",
      "title": "Web page to Markdown",
      "description": "Fetches one https page and returns its readable content as Markdown: title, description, headings, lists, links with absolute URLs, and text, with scripts, styles and markup removed. Follows up to three redirects. Static HTML only; scripts are not run.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/web-read",
      "query": {
        "url": "https URL of the page, URL-encoded",
        "max_chars": "optional, most characters of Markdown to return (default 20000, up to 50000)"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/web-read?url=https%3A%2F%2Fexample.com",
      "price_usdc": 0.002,
      "trial": false
    },
    {
      "name": "csv-preflight",
      "title": "CSV preflight check",
      "description": "Reads a CSV file from an https URL (first 2 MB) and reports whether it will load cleanly: encoding, byte order mark, delimiter, header names, row count, rows whose field count differs from the header, unclosed quotes, blank lines, plus an inferred type and empty count per column.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/csv-preflight",
      "query": {
        "url": "https URL of the CSV file, URL-encoded"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/csv-preflight?url=https%3A%2F%2Fexample.com%2Fdata.csv",
      "price_usdc": 0.002,
      "trial": false
    },
    {
      "name": "domain-registration",
      "title": "Domain registration and expiry",
      "description": "Registration details of one domain from its registry (RDAP, the successor of WHOIS): expiry date and days remaining, registration date, last change, registrar, status codes such as clientTransferProhibited, name servers, and whether DNSSEC is signed. Use it to catch a domain about to lapse or a registrar or name-server change.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/domain-registration",
      "query": {
        "domain": "Registered domain name, e.g. example.com (not a subdomain)"
      },
      "example": "https://fable-drop-nine.vercel.app/x402/tools/domain-registration?domain=example.com",
      "price_usdc": 0.002,
      "trial": true
    },
    {
      "name": "day-pass",
      "title": "Day pass",
      "description": "One payment for 24 hours of every other tool: returns a pass; send it as the X-Pass header (or pass= query parameter) on any tool URL instead of paying per call, up to 2000 calls.",
      "method": "GET",
      "url": "https://fable-drop-nine.vercel.app/x402/tools/day-pass",
      "query": {},
      "example": "https://fable-drop-nine.vercel.app/x402/tools/day-pass?",
      "price_usdc": 0.99,
      "trial": false
    }
  ]
}
