{"name":"ModelFlow x402 Agent API Gateway","description":"Pay-per-call Base USDC utility, web extraction, PDF parsing, domain audit, and Base wallet preflight APIs for AI agents.","version":"1.0.0","baseUrl":"https://x402.modelflow.chat","protocol":"x402/2","network":"eip155:8453","currency":"USDC","payTo":"0xD20Ef80824E8ec89e4EBaeD2B11051d7724C0Ed1","endpoints":[{"method":"POST","path":"/v1/web/markdown","url":"https://x402.modelflow.chat/v1/web/markdown","priceUsd":"$0.005","description":"Fetch a public web page, strip boilerplate via Readability, and return clean Markdown, metadata, and outbound links.","tags":["web","markdown","scraping","extraction","rag"],"inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http/https URL to extract"},"maxChars":{"type":"number","description":"Optional max output character length (500-100000)"}},"required":["url"]},"exampleInput":{"url":"https://example.com","maxChars":40000}},{"method":"POST","path":"/v1/web/metadata","url":"https://x402.modelflow.chat/v1/web/metadata","priceUsd":"$0.003","description":"Extract OpenGraph, Twitter Cards, JSON-LD, RSS feeds, robots.txt, llms.txt, and .well-known/x402 from any public URL.","tags":["web","metadata","seo","llms-txt","discovery"],"inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http/https URL to inspect"},"probeAgentFiles":{"type":"boolean","description":"Check /robots.txt, /llms.txt, /.well-known/agent.json, /.well-known/x402"}},"required":["url"]},"exampleInput":{"url":"https://example.com","probeAgentFiles":true}},{"method":"POST","path":"/v1/doc/pdf-extract","url":"https://x402.modelflow.chat/v1/doc/pdf-extract","priceUsd":"$0.010","description":"Download a public PDF (up to 8 MB) and extract clean text, page count, and PDF document metadata.","tags":["pdf","document","extraction","text"],"inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http/https URL of the PDF file"},"maxChars":{"type":"number","description":"Optional max output character length (1000-150000)"}},"required":["url"]},"exampleInput":{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf","maxChars":60000}},{"method":"POST","path":"/v1/audit/domain","url":"https://x402.modelflow.chat/v1/audit/domain","priceUsd":"$0.005","description":"Live domain health and trust audit: DNS (A/AAAA/MX/SPF/DMARC), TLS certificate expiry, redirect chain, latency, and security headers.","tags":["security","dns","tls","audit","devops"],"inputSchema":{"type":"object","properties":{"domain":{"type":"string","description":"Public domain name (e.g. example.com)"}},"required":["domain"]},"exampleInput":{"domain":"example.com"}},{"method":"POST","path":"/v1/tools/convert","url":"https://x402.modelflow.chat/v1/tools/convert","priceUsd":"$0.002","description":"Deterministic data conversion and utility toolbox: JSON/YAML/CSV/Markdown table conversion, SHA-256/512/MD5 hashing, and QR code PNG generation.","tags":["tools","json","yaml","csv","hash","qrcode"],"inputSchema":{"type":"object","properties":{"operation":{"type":"string","enum":["json_to_yaml","yaml_to_json","csv_to_json","json_to_csv","json_to_markdown_table","hash","qrcode"]},"input":{"description":"String, object, or array depending on operation"}},"required":["operation","input"]},"exampleInput":{"operation":"json_to_yaml","input":{"service":"ModelFlow","protocol":"x402"}}},{"method":"POST","path":"/v1/base/wallet-check","url":"https://x402.modelflow.chat/v1/base/wallet-check","priceUsd":"$0.004","description":"Base Mainnet (eip155:8453) wallet preflight: live ETH balance, native USDC balance, transaction nonce, and EOA vs smart-contract check.","tags":["base","crypto","usdc","wallet","onchain"],"inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"0x-prefixed 40-hex EVM address on Base Mainnet"}},"required":["address"]},"exampleInput":{"address":"0xc8d8ad314FD354791e14EfA4e9354179b58445EA"}}]}