{"openapi":"3.1.0","info":{"title":"x402 Tools Hub","version":"0.1.0"},"servers":[{"url":"https://x402-tools-hub.ivanbenks7-e96.workers.dev"}],"paths":{"/api/flight-recorder":{"post":{"operationId":"flight-recorder","summary":"The black box for x402: inspect every USDC receipt an address got on Base.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-passport":{"post":{"operationId":"agent-passport","summary":"Reputation passport for x402 payer wallets: a 0-100 Trust Score from on-chain history.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/x402-simulate":{"post":{"operationId":"x402-simulate","summary":"Cost modeller for x402 workloads: effective price per call, network overhead and break-even.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/merchant-trust":{"post":{"operationId":"merchant-trust","summary":"Reputation for a receiving wallet: volume, distinct payers, frequency and concentration risk.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-registry":{"post":{"operationId":"agent-registry","summary":"Live, stateless directory of agents and merchants built one hop from seed wallets on Base.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-studio":{"post":{"operationId":"agent-studio","summary":"Build an x402 agent from a short description: manifest, capability check and a dry-run cost model.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.002 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/web-markdown":{"post":{"operationId":"web-markdown","summary":"Convert any public web page into clean, readable Markdown.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/url-metadata":{"post":{"operationId":"url-metadata","summary":"Extract title, description, OpenGraph tags and favicon from a URL.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/token-counter":{"post":{"operationId":"token-counter","summary":"Count LLM tokens for a given text and model family.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/json-studio":{"post":{"operationId":"json-studio","summary":"Format, minify, validate, query and diff JSON locally in the browser.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/jwt-inspector":{"post":{"operationId":"jwt-inspector","summary":"Decode, audit, verify and diff JSON Web Tokens locally in the browser.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/regex-mentor":{"post":{"operationId":"regex-mentor","summary":"Test, debug and explain regular expressions with highlighted matches.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/encoder-hub":{"post":{"operationId":"encoder-hub","summary":"Base64, URL, HTML entities, hex, binary and JWT segment encode/decode.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/diff-pro":{"post":{"operationId":"diff-pro","summary":"Line-level text diff with unified and side-by-side views.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/time-toolkit":{"post":{"operationId":"time-toolkit","summary":"Convert Unix, ISO, RFC 2822 and natural-language dates; time zones and durations.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/env-studio":{"post":{"operationId":"env-studio","summary":"Parse .env files, mask secrets and convert to JSON, YAML, docker-compose or shell.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/hash-studio":{"post":{"operationId":"hash-studio","summary":"Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes locally.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/color-palette":{"post":{"operationId":"color-palette","summary":"Palette generator with HEX/RGB/HSL, WCAG contrast and CSS/Tailwind export.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/unit-converter":{"post":{"operationId":"unit-converter","summary":"Convert length, weight, volume, temperature, area, speed and data units.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/git-explainer":{"post":{"operationId":"git-explainer","summary":"Plain-English explanations for git commands and error messages.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/meta-tags":{"post":{"operationId":"meta-tags","summary":"Generate SEO, OpenGraph and Twitter Card meta tags with live preview.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.0005 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/wallet-intel":{"post":{"operationId":"wallet-intel","summary":"Base wallet snapshot: ETH balance, top ERC-20 tokens, transfer history and a heuristic risk score.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-intel":{"post":{"operationId":"agent-intel","summary":"Agent Intelligence: read a page as Markdown, discover counterparties and trust-score a wallet in one pipeline.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.002 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-route":{"post":{"operationId":"agent-route","summary":"Agent Route: plan the optimal sequence of hub tools for a task, with budget check.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.003 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/402-probe":{"post":{"operationId":"402-probe","summary":"Probe any URL: is it a live x402 endpoint, and what are its exact payment terms?","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.002 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/well-known":{"post":{"operationId":"well-known","summary":"Read the discovery surface of any origin: well-known/x402, openapi, agent.json, llms.txt, robots.txt.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent-health":{"post":{"operationId":"agent-health","summary":"Agent Health: cosmic diagnostics — payment readiness + discovery + latency in one scan.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.003 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/address-toolkit":{"post":{"operationId":"address-toolkit","summary":"Validate, EIP-55 checksum and classify any EVM address (EOA vs contract).","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/base-gas":{"post":{"operationId":"base-gas","summary":"Live Base gas price and transaction cost estimate in USD.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/payment-decoder":{"post":{"operationId":"payment-decoder","summary":"Decode a raw PAYMENT-REQUIRED header or 402 body into structured payment fields.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/receipt-notary":{"post":{"operationId":"receipt-notary","summary":"Notarize a paid response: SHA-256 + timestamp + resource + tx into a compact receipt.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/token-inspector":{"post":{"operationId":"token-inspector","summary":"Fact-only token identity for Base: contract vs EOA, ERC-20 vs ERC-721, name, symbol, decimals, total supply and owner.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/token-quote":{"post":{"operationId":"token-quote","summary":"Fact-only token quote: price, 24h change, source and timestamp. No advice, no history.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/hn-news":{"post":{"operationId":"hn-news","summary":"Fresh Hacker News stories by keyword: AI agents, x402, crypto infra, incidents. Public Algolia API, no key.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/x-search":{"post":{"operationId":"x-search","summary":"Recent X/Twitter mentions and news by keyword — agent launches, token drama, AI agent incidents.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/ai-incidents":{"post":{"operationId":"ai-incidents","summary":"Rotating feed of AI agent incidents and risks: failures, bugs, hacks, hallucinations, leaks. HN + Google News.","description":"x402 paid endpoint: returns 402 with payment requirements; retry with X-PAYMENT after paying $0.001 USDC.","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"OK"},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}