{"openapi":"3.1.0","info":{"title":"x402-gateway","version":"0.3.0","description":"Pay-per-call MCP gateway, 77 tools with per-tool prices on Base: raas_project_provision=$0.05, shortlink_create=$0.002, shortlink_stats=$0.001, markdown=$0.002, token_price=$0.002, wallet_portfolio=$0.002, whale_alerts=$0.002, cross_chain_balance=$0.002, wallet_token_risk=$0.05, wallet_score=$0.02, token_holders=$0.004, whale_tracker=$0.01, changelog_openapi=$0.005, changelog_git=$0.005, github_repo_health=$0.002, mermaid=$0.005, html_to_markdown=$0.002, qr_generator=$0.002, og_image_generator=$0.002, og_image_generator_ai=$0.01, jobs=$0.002, google_serp=$0.02, keyword_volume=$0.03, keyword_ideas=$0.05, domain_competitors=$0.05, domain_keywords=$0.05, backlinks_overview=$0.05, find_email=$0.025, enrich_person=$0.06, enrich_company=$0.04, company_signals=$0.05, search_intent=$0.02, verify_semaphore=$0.002, verify_worldid=$0.005, verify_batch=$0.005, verify_stablecoin=$0.005, wallet_verify_siwe=$0.002, wallet_verify_nostr=$0.002, wallet_verify_solana=$0.002, wallet_checksum=$0.002, llm_chat=$0.002, pdf_to_markdown=$0.01, docx_to_markdown=$0.005, pptx_to_markdown=$0.005, xlsx_to_markdown=$0.005, epub_to_markdown=$0.005, document_to_markdown=$0.01, image_generate=$0.02, image_generate_quality=$0.09, photo_to_3d_fast=$0.15, photo_to_3d_hq=$0.50, document_extract=$0.02, seo_audit=$0.02, domain_reputation=$0.02, cert_transparency_bundle=$0.02, package_supply_chain_risk=$0.03, web_archive_history=$0.02, page_screenshot=$0.002, swap_currencies=$0, swap_estimate=$0, swap_create=$0.005, swap_status=$0, cargo_run=$0.002, sec_insider_trades=$0.03, sec_financial_snapshot=$0.03, cve_exploit_risk=$0.03, fda_drug_safety=$0.002, clinical_trial_intel=$0.02, sec_13f_holdings=$0.005, sec_8k_events=$0.005, sec_form_d_raises=$0.005, sec_nport_fund_holdings=$0.01, web_search=$0.007, web_scrape=$0.01, deep_research=$0.017. giftcard_buy is dynamic (face value + fee). MCP flat rate $0.001 USDC per call.","x-guidance":"All /tools/{name} and /mcp endpoints are x402-paid in USDC on Base (eip155:8453). GET a tool URL without payment to receive a 402 challenge with payTo/amount. POST JSON to /tools/{name} with the tool's inputSchema (see requestBody), or JSON-RPC 2.0 to /mcp. llm_chat pricing is dynamic per model — free models (auto, eco, premium) cost $0. Health and registry endpoints are free.","contact":{"email":"inapp@freeq.one"}},"servers":[{"url":"https://x402.freeq.one"}],"paths":{"/tools/raas_project_provision":{"post":{"operationId":"tool_raas_project_provision","summary":"raas_project_provision — RaaS Project Provisioner","description":"Provision a Referral-as-a-Service (RaaS) project — one-time $0.05. Returns project_id and apiKey (hashed server-side; shown once — store now). Then call https://api.freeq.one/v1/raas with x-api-key: mint referral codes, track stats, and credit referrers when referred x402 settlements verify on Base.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Project name (<=128 chars).","example":"my-shop"},"description":{"type":"string","description":"Optional human-readable project description.","example":"Credits for buyers referred from the shop blog"},"landing_url":{"type":"string","description":"Optional https redirect target for referred traffic; must be a host you control (domain verification seeds automatically if not yet proven).","example":"https://my-shop.example/landing"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/shortlink_create":{"post":{"operationId":"tool_shortlink_create","summary":"shortlink_create — Short Link Creator","description":"Create a permanent short link on freeq.one (e.g. https://freeq.one/MySlug). Optional: custom slug, expires_at (ISO date) for a TTL link that auto-expires — same price. Returns short_url plus a one-time manage_secret that gates FREE stats (GET /tools/shortlink_stats with X-Link-Secret) and FREE deletion of the link. Store the secret — it is shown only at creation.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Destination URL to shorten (http/https)","example":"https://imapp.blogspot.com/2026/08/uuid-generator-free-uuid-v4-v7-creator.html"},"slug":{"type":"string","description":"Optional custom slug (3-40 chars, a-z0-9-). Random if omitted."},"expires_at":{"type":"string","description":"Optional ISO 8601 expiry; link 404s after this time. Omit for a permanent link.","example":"2027-01-01T00:00:00Z"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/shortlink_stats":{"post":{"operationId":"tool_shortlink_stats","summary":"shortlink_stats — Short Link Stats","description":"Click stats for a freeq.one short link: total clicks, last-30-day clicks, last click time. FREE for the link owner — pass the manage_secret returned at creation as the link_secret field. The paid call is for agents checking a link they did not create (liveness/traffic check).","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0010"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["slug"],"properties":{"slug":{"type":"string","description":"Slug of the short link (the part after freeq.one/)","example":"uuid-tool-2"},"link_secret":{"type":"string","description":"Optional manage_secret — when correct, stats are returned free of click-limit truncation and the call is still priced $0.001 (kept paid for agent verification flows)","example":"a7a7011bcaa56e6cf069d5a21fa6f932"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/markdown":{"post":{"operationId":"tool_markdown","summary":"markdown — Markdown Extractor","description":"Fetch a URL and convert its main content to clean, LLM-ready Markdown (strips nav/ads/sidebars). Options: output_format (markdown|text|json), css_selector, max_length, include_links, include_images.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL to fetch and convert","example":"https://en.wikipedia.org/wiki/Base_(blockchain)"},"options":{"type":"object","description":"Conversion options (output_format, css_selector, max_length, include_links, include_images)","example":{"max_length":20000}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/token_price":{"post":{"operationId":"tool_token_price","summary":"token_price — Token Price Lookup","description":"Get the live USD price of any token by symbol (e.g. BTC, ETH, SOL, PEPE).","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Token symbol, e.g. ETH","example":"ETH"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_portfolio":{"post":{"operationId":"tool_wallet_portfolio","summary":"wallet_portfolio — Wallet Portfolio","description":"Get a complete wallet portfolio for an Ethereum address: native ETH balance, ERC-20 balances, NFT holdings, recent transfers.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Ethereum address (0x-prefixed, 42 chars)","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"include_tokens":{"type":"boolean","description":"Include ERC-20 balances (default true)","example":true},"include_nfts":{"type":"boolean","description":"Include NFT holdings (default false)","example":false},"include_transfers":{"type":"boolean","description":"Include recent transfers (default false)","example":false},"transfer_limit":{"type":"integer","description":"Max transfers (1-100, default 20)","example":20},"chain":{"type":"string","description":"Chain key: eth, arb, base, polygon, opt","example":"eth"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/whale_alerts":{"post":{"operationId":"tool_whale_alerts","summary":"whale_alerts — Whale Alerts Scanner","description":"Scan recent blocks for large ETH transfers involving an address. Filter by direction (in/out/both) and threshold.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Ethereum address to monitor","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"direction":{"type":"string","description":"in, out, or both (default both)","example":"both"},"min_value_eth":{"type":"number","description":"Minimum ETH value threshold","example":100}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/cross_chain_balance":{"post":{"operationId":"tool_cross_chain_balance","summary":"cross_chain_balance — Cross-Chain Balance Checker","description":"Aggregate native balance and token/NFT counts for an address across eth, arb, base, polygon, opt.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Ethereum address","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"chains":{"type":"array","items":{"type":"string"},"description":"Chains to query: eth, arb, base, polygon, opt","example":["eth","base","arb"]}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_token_risk":{"post":{"operationId":"tool_wallet_token_risk","summary":"wallet_token_risk — Wallet & Token Risk Score","description":"Behavioral on-chain risk score (0-100) for a wallet or token contract: activity, age, counterparty concentration, asset diversity and large-transfer share, plus a smart-money score for wallets. Not sanctions or honeypot screening.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address (subject wallet) or token contract address (subject token), 0x-prefixed, 42 chars","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"subject":{"type":"string","enum":["wallet","token"],"description":"What to assess: wallet (default) or token","example":"wallet"},"chain":{"type":"string","description":"Chain key: eth, arb, base, polygon, opt","example":"eth"},"transfer_limit":{"type":"integer","description":"Max transfers sampled per direction, 1-100 (default 50)","example":50}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_score":{"post":{"operationId":"tool_wallet_score","summary":"wallet_score — Wallet Activity Score","description":"Activity score (0-100) for a wallet from on-chain holdings, transfers and history: native balance, token and NFT counts, counterparties, age. Not a risk or sanctions verdict.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address, 0x-prefixed, 42 chars","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"chain":{"type":"string","description":"Chain key: eth, arb, base, polygon, opt","example":"eth"},"transfer_limit":{"type":"integer","description":"Max transfers sampled per direction, 1-100 (default 50)","example":50}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/token_holders":{"post":{"operationId":"tool_token_holders","summary":"token_holders — Token Top Holders (Sampled)","description":"Top holders of an ERC-20 by received volume in a sample of its most recent transfers, with per-holder counts and sample concentration. A transfer sample, not balances or the full holder list.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0040"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Token contract address, 0x-prefixed, 42 chars","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"chain":{"type":"string","description":"Chain key: eth, arb, base, polygon, opt","example":"eth"},"sample_limit":{"type":"integer","description":"Most recent transfers sampled, 1-1000 (default 200)","example":200},"top_n":{"type":"integer","description":"Top holders returned, 1-25 (default 10)","example":10}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/whale_tracker":{"post":{"operationId":"tool_whale_tracker","summary":"whale_tracker — Token Whale Tracker","description":"Largest recent transfers of an ERC-20 above a value threshold, plus the top whale addresses by total volume in the sample. Transfer data only — no USD values, buy/sell side, or exchange labels.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Token contract address, 0x-prefixed, 42 chars","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"chain":{"type":"string","description":"Chain key: eth, arb, base, polygon, opt","example":"eth"},"min_value":{"type":"number","description":"Minimum transfer value in token units, 0 = all sampled transfers (default 0)","example":1000},"sample_limit":{"type":"integer","description":"Most recent transfers sampled, 1-1000 (default 200)","example":200},"top_n":{"type":"integer","description":"Largest transfers and top whales returned, 1-25 (default 10)","example":10}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/changelog_openapi":{"post":{"operationId":"tool_changelog_openapi","summary":"changelog_openapi — OpenAPI Changelog Generator","description":"Diff two OpenAPI specs and generate a structured breaking-change changelog (no LLM — deterministic diff). Provide base_spec_url and new_spec.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["new_spec"],"properties":{"base_spec_url":{"type":"string","description":"URL of the base (old) OpenAPI spec","example":"https://petstore3.swagger.io/api/v3/openapi.json"},"new_spec":{"type":"object","description":"New OpenAPI specification as a JSON object","example":{"openapi":"3.1.0","info":{"title":"My API v2","version":"2.0.0"},"paths":{}}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/changelog_git":{"post":{"operationId":"tool_changelog_git","summary":"changelog_git — Git Changelog Generator","description":"Diff git commits and generate a structured breaking-change changelog. Provide repository_url, base_commit, and optional target_commit.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["repository_url","base_commit"],"properties":{"repository_url":{"type":"string","description":"Git repo URL (https)","example":"https://github.com/expressjs/express"},"base_commit":{"type":"string","description":"Base commit SHA","example":"04bb13b6c5a17b8c07aaac20a9ea4b1cbafa0e0d"},"target_commit":{"type":"string","description":"Head commit SHA (optional, defaults to repo HEAD)","example":"v4.21.2"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/github_repo_health":{"post":{"operationId":"tool_github_repo_health","summary":"github_repo_health — GitHub Repo Health Score","description":"0-100 health score for a public GitHub repo from stars, forks, open issues, contributors, last push, latest release, languages and community profile, with a documented component breakdown. Provide repo as owner/repo.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","description":"GitHub repository as owner/repo","example":"expressjs/express"},"repository_url":{"type":"string","description":"Full GitHub URL instead of repo, e.g. https://github.com/expressjs/express","example":"https://github.com/expressjs/express"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/mermaid":{"post":{"operationId":"tool_mermaid","summary":"mermaid — Mermaid Diagram Renderer","description":"Render a Mermaid diagram to an image (PNG or SVG). Returns a base64-encoded image (MCP content type image). Options: format (png|svg), theme (default|dark|forest|neutral), scale (1-4, PNG only).","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Mermaid diagram source code, e.g. 'graph TD; A-->B'. Max 50000 chars.","example":"graph TD\n  A[Client] -->|402| B[x402 Gateway]\n  B -->|settle| C[USDC on Base]\n  B -->|forward| D[Upstream API]"},"format":{"type":"string","enum":["png","svg"],"description":"Output format (default png). SVG returns vector text.","example":"svg"},"theme":{"type":"string","enum":["default","dark","forest","neutral"],"description":"Mermaid theme (default 'default').","example":"default"},"scale":{"type":"number","description":"Raster scale 1-4, PNG only (default 2).","example":2}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/html_to_markdown":{"post":{"operationId":"tool_html_to_markdown","summary":"html_to_markdown — HTML to Markdown Converter","description":"Convert an HTML string to clean, LLM-ready Markdown. Handles headings, links, images, tables, lists and code blocks. Options: heading style (atx|setext), bullet list marker, code block style, emphasis delimiters.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"HTML source string to convert to Markdown","example":"<h1>Hello</h1><p>This is <b>rich text</b> being converted to <a href=\"https://example.com\">Markdown</a>.</p>"},"options":{"type":"object","description":"Conversion options (headingStyle, bulletListMarker, codeBlockStyle, emDelimiter, strongDelimiter)","example":{"headingStyle":"atx"}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/qr_generator":{"post":{"operationId":"tool_qr_generator","summary":"qr_generator — QR/Barcode Generator","description":"Generate a QR code or barcode as an image (SVG or PNG). Returns a base64-encoded image (MCP content type image). Symbologies: qrcode/qr, code128, code39, ean13, ean8, upca, upce, isbn10, isbn13, issn, itf, gs1-128, databar.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["format","data"],"properties":{"format":{"type":"string","enum":["qrcode","code128","code39","ean13","ean8","upca","upce","isbn10","isbn13","issn","itf","gs1-128","databar"],"description":"Barcode symbology; use qrcode (or qr) for QR codes","example":"qrcode"},"data":{"type":"string","description":"Data to encode (URL or text for QR; numeric for EAN/UPC)","example":"https://x402.freeq.one"},"type":{"type":"string","enum":["svg","png"],"description":"Output image format (default svg)","example":"svg"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/og_image_generator":{"post":{"operationId":"tool_og_image_generator","summary":"og_image_generator — OG Image Generator","description":"Generate an Open Graph social-card image (1200x630 PNG) from a title and description. Returns a base64-encoded image (MCP content type image). Optional image URL embeds a header graphic. Title truncated to 60 chars, description to 120.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string","description":"Card title, max 60 chars","example":"Jobs API — Pay Per Call"},"description":{"type":"string","description":"Card description, max 120 chars","example":"Search live job postings with USDC micro-payments on Base"},"image":{"type":"string","description":"Optional http(s) header image URL"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/og_image_generator_ai":{"post":{"operationId":"tool_og_image_generator_ai","summary":"og_image_generator_ai — OG Image Generator (AI Background)","description":"Generate an Open Graph social-card image (1200x630 PNG) with an AI-generated background matched to your title, under a clean typographic overlay. Styles: photo, gradient3d (default), illustration, minimal. Optional corner badge and header image. Falls back to the clean template when generation is unavailable. Returns a base64-encoded image (MCP image).","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string","description":"Card title, max 60 chars","example":"Jobs API — Pay Per Call"},"description":{"type":"string","description":"Card description, max 120 chars","example":"Search live job postings with USDC micro-payments on Base"},"badge":{"type":"string","description":"Optional corner badge, max 28 chars","example":"x402"},"style":{"type":"string","enum":["photo","gradient3d","illustration","minimal"],"description":"Background art style (default gradient3d)","example":"gradient3d"},"image":{"type":"string","description":"Optional http(s) header image URL"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/jobs":{"post":{"operationId":"tool_jobs","summary":"jobs — Job Search","description":"Search live job postings by keywords and locations. Returns structured results: title, company, location, apply URL, work types, employment type, seniority, industry, salary, and description. Supports onsite/remote/hybrid preferences. One call covers the whole market for a keyword + location pair.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keywords"],"properties":{"keywords":{"type":"array","items":{"type":"string"},"description":"Search terms, e.g. ['software engineer', 'rust']","example":["software engineer"]},"searches":{"type":"array","description":"Search criteria list: {location: string (city/region/country), work_type: 'onsite'|'remote'|'hybrid'|''}","example":[{"location":"Berlin","work_type":"hybrid"}],"items":{"type":"object","properties":{"location":{"type":"string","example":"Berlin"},"work_type":{"type":"string","example":"hybrid"}}}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/google_serp":{"post":{"operationId":"tool_google_serp","summary":"google_serp — Google SERP","description":"Live Google organic results for any keyword. Returns top 10 titles, URLs, snippets, and rank. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","description":"Search keyword to look up","example":"best running shoes"},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/keyword_volume":{"post":{"operationId":"tool_keyword_volume","summary":"keyword_volume — Keyword Volume","description":"Google search volume, CPC, and competition for up to 100 keywords. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keywords"],"properties":{"keywords":{"type":"array","maxItems":100,"items":{"type":"string"},"description":"Up to 100 keywords.","example":["running shoes","protein powder"]},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/keyword_ideas":{"post":{"operationId":"tool_keyword_ideas","summary":"keyword_ideas — Keyword Ideas","description":"Generate keyword ideas from a seed keyword with volume data. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","description":"Seed keyword","example":"running shoes"},"limit":{"type":"integer","description":"Max ideas to return, 1-100 (default 25)"},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/domain_competitors":{"post":{"operationId":"tool_domain_competitors","summary":"domain_competitors — Domain Competitors","description":"Find organic competitors for any domain. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain, e.g. example.com (no path)","example":"example.com"},"limit":{"type":"integer","description":"Max competitors, 1-100 (default 10)"},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/domain_keywords":{"post":{"operationId":"tool_domain_keywords","summary":"domain_keywords — Domain Keywords","description":"Get all keywords a domain ranks for with position and volume. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain, e.g. example.com (no path)","example":"example.com"},"limit":{"type":"integer","description":"Max keywords, 1-200 (default 50)"},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/backlinks_overview":{"post":{"operationId":"tool_backlinks_overview","summary":"backlinks_overview — Backlinks Overview","description":"Backlink overview for any domain — referring domains, backlink count, authority. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain, e.g. example.com (no path)","example":"example.com"},"location_code":{"type":"integer","description":"Geo location code, e.g. 2840 = United States (NOT the ISO-3166 country number 840)"},"language_code":{"type":"string","description":"ISO 639-1 two-letter lowercase language code, e.g. 'en' (no language names, no 'en-US')"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/find_email":{"post":{"operationId":"tool_find_email","summary":"find_email — Find Work Email","description":"Resolve one person's work email from a full name and company domain. Returns the best address with its verification status plus every work email found. Unfinished lookups return status \"pending\"; a settled no-match returns 404 and is not charged.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0250"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["full_name","company_domain"],"properties":{"full_name":{"type":"string","description":"Person's full name, e.g. 'Patrick Collison'","example":"Patrick Collison"},"company_domain":{"type":"string","description":"Company domain, e.g. stripe.com (no path)","example":"stripe.com"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/enrich_person":{"post":{"operationId":"tool_enrich_person","summary":"enrich_person — Person Enrichment","description":"Enrich one person by professional-profile URL, or by full name plus company domain or company name. Returns the work email (verification status plus all variants found) and the full public profile: headline, current role, experience history, education, skills, location. Unfinished lookups return status \"pending\"; a settled no-match returns 404 and is not charged.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0600"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"full_name":{"type":"string","description":"Person's full name. Required unless profile_url is supplied; the email search also needs a company key.","example":"Patrick Collison"},"company_domain":{"type":"string","description":"Company domain, e.g. stripe.com — disambiguates the email search.","example":"stripe.com"},"company_name":{"type":"string","description":"Company name — alternative to company_domain for the email search.","example":"Stripe"},"profile_url":{"type":"string","description":"Professional-profile URL (e.g. LinkedIn) — the richest key; alone it yields a profile without an email.","example":"https://www.linkedin.com/in/patrickcollison"},"want_email":{"type":"boolean","description":"Request the work email (default true). Needs full_name plus company_domain or company_name.","example":true},"want_phone":{"type":"boolean","description":"Must stay false — phone lookup is not available and returns a 400.","example":false},"want_personal_email":{"type":"boolean","description":"Must stay false — personal-email lookup is not available and returns a 400.","example":false}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/enrich_company":{"post":{"operationId":"tool_enrich_company","summary":"enrich_company — Company Enrichment","description":"Company firmographics by domain (preferred) or exact name: description, industry, company type, exact and range headcount, headcount growth by timespan, founding year, headquarters, specialties and LinkedIn URL. A settled no-match returns 404 and is not charged.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0400"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Company domain, e.g. stripe.com (no path) — the most reliable key.","example":"stripe.com"},"name":{"type":"string","description":"Exact company name — used when the domain is unknown. Either domain or name is required.","example":"Stripe"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/company_signals":{"post":{"operationId":"tool_company_signals","summary":"company_signals — Company Signals","description":"Firmographics, headcount-growth classification, homepage tech detection, and an explainable 0-100 lead score. Score reflects findability, size and growth — not buying intent or funding; funding, revenue, layoffs and hiring-posting counts unavailable upstream. A settled no-match returns 404 and is not charged.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Company domain, e.g. stripe.com (no path) — the most reliable key.","example":"stripe.com"},"name":{"type":"string","description":"Exact company name — used when the domain is unknown. Either domain or name is required.","example":"Stripe"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/search_intent":{"post":{"operationId":"tool_search_intent","summary":"search_intent — Search Intent","description":"Detect search intent (informational, transactional, commercial) for a keyword. Priced below typical SEO-data APIs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keywords"],"properties":{"keywords":{"type":"array","maxItems":20,"items":{"type":"string"},"description":"Up to 20 keywords to classify","example":["best running shoes","buy running shoes"]}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/verify_semaphore":{"post":{"operationId":"tool_verify_semaphore","summary":"verify_semaphore — Semaphore ZK Proof Verifier","description":"Verify a Semaphore ZK proof locally using Groth16 (embedded official vkey). No external dependency. Send the proof object from @semaphore-protocol/proof generateProof().","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proof"],"properties":{"proof":{"type":"object","description":"Semaphore proof: { merkleTreeDepth, merkleTreeRoot, nullifier, message, scope, points }"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/verify_worldid":{"post":{"operationId":"tool_verify_worldid","summary":"verify_worldid — World ID Proof Verifier","description":"Verify a World ID 4.0 proof via the Worldcoin Developer Portal API. Generates an RP signature server-side, then proxies the full IDKit proof to developer.world.org. Returns { valid, nullifier, worldcoin_response }.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["proof"],"properties":{"proof":{"type":"object","description":"IDKit proof payload: { protocol_version, responses, action?, session_id? }"},"action":{"type":"string","description":"Action string (must match what IDKit used). Required for uniqueness proofs, omitted for session proofs."},"environment":{"type":"string","enum":["production","staging"],"description":"Worldcoin environment. Defaults to production."}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/verify_batch":{"post":{"operationId":"tool_verify_batch","summary":"verify_batch — Batch Semaphore Proof Verifier","description":"Batch verify up to 10 Semaphore proofs in a single request. Returns per-proof results with total count and average duration.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Array of up to 10 Semaphore proof objects to verify","maxItems":10,"items":{"type":"object","properties":{"proof":{"type":"object","description":"Semaphore proof object"}}}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/verify_stablecoin":{"post":{"operationId":"tool_verify_stablecoin","summary":"verify_stablecoin — Stablecoin Issuer / GENIUS / Reserve Verifier","description":"Verify a stablecoin: issuer identity, GENIUS Act qualification status, and latest reserve attestation. Resolves the token from chain+address, a known symbol (USDC, USDT, PYUSD, USDS, FDUSD, USDe), or a tx hash. Free preview: preview=true validates the input and returns the issuer only — no payment required.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain for address lookup: base (default), ethereum, arbitrum, optimism, polygon"},"address":{"type":"string","description":"Token contract address (0x + 40 hex). e.g. 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC on Base)"},"symbol":{"type":"string","description":"Known symbol: USDC, USDT, PYUSD, USDS, FDUSD, USDe (alternative to address)"},"tx_hash":{"type":"string","description":"Transaction hash — resolves the token contract from the tx's ERC-20 Transfer log"},"preview":{"type":"boolean","description":"true = free registry-only check: input validation + issuer identity, no on-chain calls, no attestation payload. No payment required."}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_verify_siwe":{"post":{"operationId":"tool_wallet_verify_siwe","summary":"wallet_verify_siwe — SIWE Signature Verifier","description":"Verify a Sign-In-With-Ethereum (EIP-4361) signature. Stateless oracle: checks the signature against the message and returns the wallet address + chainId. Never mints sessions or consumes nonces. Get a checksummed address first via wallet_checksum.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message","signature"],"properties":{"message":{"type":"string","description":"EIP-4361 SIWE message (line 2 must be a checksummed address)"},"signature":{"type":"string","description":"0x-prefixed personal_sign signature over the exact message bytes"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_verify_nostr":{"post":{"operationId":"tool_wallet_verify_nostr","summary":"wallet_verify_nostr — NIP-98 Nostr Auth Verifier","description":"Verify a NIP-98 Nostr HTTP auth event. Returns the signer pubkey. Stateful replay protection: each event id can only be verified once.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Base64-encoded NIP-98 event, or 'Nostr <base64>' Authorization header value"},"url":{"type":"string","description":"Expected u-tag URL (optional; defaults to the request URL)"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_verify_solana":{"post":{"operationId":"tool_wallet_verify_solana","summary":"wallet_verify_solana — Solana Signature Verifier","description":"Verify an ed25519 Solana wallet signature over a message containing a 'Nonce: <value>' line. Returns the signer pubkey. Consumes the nonce — one verification per nonce.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["pubkey","message","signature"],"properties":{"pubkey":{"type":"string","description":"Base58 Solana public key of the signer"},"message":{"type":"string","description":"Signed message containing a 'Nonce: <value>' line (get one via the /auth/solana/nonce endpoint pattern)"},"signature":{"type":"string","description":"Base58 ed25519 signature"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/wallet_checksum":{"post":{"operationId":"tool_wallet_checksum","summary":"wallet_checksum — Ethereum Address Checksum","description":"Convert an Ethereum address to its EIP-55 checksummed form. SIWE messages require the checksummed address on line 2 before signing.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Ethereum address in any casing (0x...)","example":"0x90b0dc893406d6ea63bb077ed59f5e8340f98d84"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/llm_chat":{"post":{"operationId":"tool_llm_chat","summary":"llm_chat — LLM Chat","description":"Chat with a language model. OpenAI-compatible /v1/chat/completions interface. Supports 50+ models. Free models (auto, eco, premium) are $0 — paid models (gpt-5.2, claude-opus-5, deepseek-v4-pro, ...) are charged at cost. See /tools/llm_chat/models for the full model list and rates.","tags":["tools"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0","max":"15.00"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"Model ID. Examples: auto/eco/premium (free, $0.002), openai/gpt-5.2, anthropic/claude-opus-5, google/gemini-3.1-pro, deepseek/deepseek-v4-pro. Short names accepted (gpt-5.2, claude-opus-5). See /tools for full list.","example":"auto"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"],"description":"Message role","example":"user"},"content":{"type":"string","description":"Message text content","example":"Say hello in one short sentence."}}},"description":"Conversation messages array","example":[{"role":"user","content":"Say hello in one short sentence."}]},"temperature":{"type":"number","description":"Sampling temperature 0-2 (default 0.7)","example":0.7},"max_tokens":{"type":"integer","description":"Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models.","example":256}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Completion ID"},"object":{"type":"string","const":"chat.completion"},"created":{"type":"integer","description":"Unix timestamp"},"model":{"type":"string","description":"Resolved model ID"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"message":{"type":"object","properties":{"role":{"type":"string","const":"assistant"},"content":{"type":"string","description":"Generated text"}}},"finish_reason":{"type":"string","description":"stop | length"}}}},"usage":{"type":"object","properties":{"prompt_tokens":{"type":"integer"},"completion_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}}}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/pdf_to_markdown":{"post":{"operationId":"tool_pdf_to_markdown","summary":"pdf_to_markdown — PDF to Markdown","description":"Convert a PDF document to clean, LLM-ready Markdown. Provide a direct URL to the PDF or base64-encoded file bytes. Auto-extracts headings, paragraphs, lists and tables. Ideal for feeding reports, papers and contracts into RAG pipelines.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to the PDF document","example":"https://x402.freeq.one/samples/report.pdf"},"file_b64":{"type":"string","description":"Base64-encoded PDF bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate output to N characters","example":100000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/docx_to_markdown":{"post":{"operationId":"tool_docx_to_markdown","summary":"docx_to_markdown — DOCX to Markdown","description":"Convert a DOCX (Word) document to clean, LLM-ready Markdown. Provide a direct URL or base64-encoded file bytes. Preserves headings, lists, tables and formatting. Works for contracts, resumes, reports and letters.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to the DOCX file","example":"https://x402.freeq.one/samples/contract.docx"},"file_b64":{"type":"string","description":"Base64-encoded DOCX bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate output to N characters","example":100000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/pptx_to_markdown":{"post":{"operationId":"tool_pptx_to_markdown","summary":"pptx_to_markdown — PPTX to Markdown","description":"Convert a PPTX (PowerPoint) presentation to Markdown. Provide a direct URL or base64-encoded file bytes. Each slide becomes a heading with its text content — pitch decks and slide reports become LLM-readable text.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to the PPTX file","example":"https://x402.freeq.one/samples/deck.pptx"},"file_b64":{"type":"string","description":"Base64-encoded PPTX bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate output to N characters","example":100000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/xlsx_to_markdown":{"post":{"operationId":"tool_xlsx_to_markdown","summary":"xlsx_to_markdown — XLSX/CSV to Markdown + JSON","description":"Convert an XLSX spreadsheet or CSV to Markdown table AND a JSON array of row objects in one call. Provide a direct URL or base64-encoded file bytes. All sheets are included; multi-sheet workbooks are flattened in sheet order.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to the XLSX or CSV file","example":"https://x402.freeq.one/samples/data.xlsx"},"file_b64":{"type":"string","description":"Base64-encoded XLSX/CSV bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate the markdown output to N characters (JSON rows unaffected)","example":50000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/epub_to_markdown":{"post":{"operationId":"tool_epub_to_markdown","summary":"epub_to_markdown — EPUB to Markdown","description":"Convert an EPUB e-book to clean Markdown. Provide a direct URL or base64-encoded file bytes. Chapters become headings; metadata (title, author) is included. Feed whole books into LLM context or RAG.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to the EPUB file","example":"https://x402.freeq.one/samples/book.epub"},"file_b64":{"type":"string","description":"Base64-encoded EPUB bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate output to N characters","example":200000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/document_to_markdown":{"post":{"operationId":"tool_document_to_markdown","summary":"document_to_markdown — Document to Markdown (auto-detect)","description":"Convert any document to Markdown with automatic format detection. One endpoint for pdf, docx, pptx, xlsx, csv, epub, html and plain text — provide a URL or base64 bytes and the type is detected from the file contents. Spreadsheets return both a Markdown table and a JSON array of rows.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Direct URL to any supported document (pdf, docx, pptx, xlsx, csv, epub, html, text)","example":"https://x402.freeq.one/samples/report.pdf"},"file_b64":{"type":"string","description":"Base64-encoded document bytes (alternative to url)","maxLength":28000000},"max_length":{"type":"integer","description":"Truncate output to N characters","example":100000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/image_generate":{"post":{"operationId":"tool_image_generate","summary":"image_generate — Text to Image (fast)","description":"Generate an image from a text prompt (fast tier, 2-6s). Returns a permanent https URL to the hosted image on api.freeq.one/media/*. Game assets, avatars, illustrations, concept art.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Text description of the image to generate (max 1200 chars)","example":"a cat wearing a tiny hat, studio lighting"},"width":{"type":"integer","description":"Image width in px (256-1536, default 1024)","example":1024},"height":{"type":"integer","description":"Image height in px (256-1536, default 1024)","example":1024}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/image_generate_quality":{"post":{"operationId":"tool_image_generate_quality","summary":"image_generate_quality — Text to Image (premium)","description":"Generate a premium-quality image from a text prompt (10-30s, better prompt adherence and typography). Returns a permanent https URL to the hosted image on api.freeq.one/media/*.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0900"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Text description of the image to generate (max 1200 chars)","example":"a cyberpunk market at night, volumetric fog, 4k"},"width":{"type":"integer","description":"Image width in px (256-1536, default 1024)","example":1024},"height":{"type":"integer","description":"Image height in px (256-1536, default 1024)","example":1024}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/photo_to_3d_fast":{"post":{"operationId":"tool_photo_to_3d_fast","summary":"photo_to_3d_fast — Photo to 3D Model (fast)","description":"Photo to 3D model (fast tier, 10-30s). Upload a single 2D image URL, get a textured low-poly GLB mesh with a preview thumbnail. Game-ready — drop straight into Three.js, Unity, or Godot.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.1500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["image_url"],"properties":{"image_url":{"type":"string","description":"https URL of a single-product or single-object photo (transparent/white background works best)","example":"https://x402.freeq.one/samples/toy.png"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/photo_to_3d_hq":{"post":{"operationId":"tool_photo_to_3d_hq","summary":"photo_to_3d_hq — Photo to 3D Model (high detail)","description":"Photo to 3D model (high-detail tier, 1-3 min). Single input image to a high-poly textured GLB with PBR-like shading and a preview thumbnail. Game-ready — drop straight into Three.js, Unity, or Godot.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.5000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["image_url"],"properties":{"image_url":{"type":"string","description":"https URL of a single-product or single-object photo (transparent/white background works best)","example":"https://x402.freeq.one/samples/toy.png"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/document_extract":{"post":{"operationId":"tool_document_extract","summary":"document_extract — Document Extract to JSON","description":"Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"document_url":{"type":"string","description":"Direct URL to the document (alternative: file_b64)","example":"https://x402.freeq.one/samples/report.pdf"},"url":{"type":"string","description":"Alias for document_url","example":"https://x402.freeq.one/samples/report.pdf"},"file_b64":{"type":"string","description":"Base64-encoded document bytes (alternative to document_url)","maxLength":28000000},"filename":{"type":"string","description":"Optional original filename","example":"report.pdf"},"fields":{"type":"array","description":"Optional caller-named fields (max 20), each {name, type} with type string, number, boolean or date; unmatched fields return null, never guessed","items":{"type":"object","properties":{"name":{"type":"string","example":"invoice_number"},"type":{"type":"string","enum":["string","number","boolean","date"],"example":"string"}}}},"max_length":{"type":"integer","description":"Truncate converted text to N characters","example":100000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/seo_audit":{"post":{"operationId":"tool_seo_audit","summary":"seo_audit — Single-Page SEO Audit","description":"Single-page SEO audit: 0-100 score, graded checks and prioritized fixes from the page's own HTML. Deterministic — no JS rendering, no rankings, no backlinks, no crawl.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The page to audit (http/https); also the identity used for the HTTPS check and internal/external link classification","example":"https://example.com/blog/post"},"html":{"type":"string","description":"Optional raw HTML to audit instead of fetching the URL; no network fetch happens when supplied","maxLength":10000000}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/domain_reputation":{"post":{"operationId":"tool_domain_reputation","summary":"domain_reputation — Domain Reputation Bundle","description":"Domain reputation bundle: 0-100 trust score and band from registration age, DNS, email auth, TLS, redirects and blocklists. Deterministic — no malware verdicts, no history.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"A bare domain name, or a URL whose host is used","example":"example.com"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/cert_transparency_bundle":{"post":{"operationId":"tool_cert_transparency_bundle","summary":"cert_transparency_bundle — Certificate Transparency Bundle","description":"Certificate Transparency bundle: cert history, first-seen, issuer timeline and CT-log subdomain hints for a domain, plus a continuity score. From crt.sh — no live TLS check, no full enumeration.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"A bare domain name, or a URL whose host is used","example":"example.com"},"include_subdomains":{"type":"boolean","description":"Also query the wildcard %.domain so subdomain certificates appear in the history and hints (default true)","example":true}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/package_supply_chain_risk":{"post":{"operationId":"tool_package_supply_chain_risk","summary":"package_supply_chain_risk — Package Supply-Chain Risk","description":"Package supply-chain risk bundle: 0-100 safety score and risk band for an npm or PyPI package, with OSV vulnerabilities and fixed versions plus maintenance and adoption evidence. Known-vuln data only — no code scan.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Package name, e.g. lodash or @scope/pkg (npm) or requests (PyPI)","example":"lodash"},"ecosystem":{"type":"string","enum":["npm","pypi"],"description":"Registry ecosystem (default npm)","example":"npm"},"version":{"type":"string","description":"A registry version; defaults to latest","example":"4.17.21"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/web_archive_history":{"post":{"operationId":"tool_web_archive_history","summary":"web_archive_history — Web Archive History","description":"Wayback Machine homepage history for a domain: 0-100 longevity score and band, first/last captures, captures by year, and recent snapshots with archive links. Homepage only — no subpages or content diffs.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"A bare domain name, or a URL whose host is used","example":"example.com"},"include_www":{"type":"boolean","description":"Also count www.<domain> captures as the same homepage (default true)","example":true}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/page_screenshot":{"post":{"operationId":"tool_page_screenshot","summary":"page_screenshot — Page Screenshot","description":"Full-browser screenshot of any public page as base64 PNG or JPEG: viewport or full-page, custom size, rendered in headless Chromium.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The page to screenshot (http/https)","example":"https://example.com"},"width":{"type":"integer","description":"CSS viewport width, 320-1920 (default 1280)","example":1280},"height":{"type":"integer","description":"CSS viewport height, 240-1080 (default 720)","example":720},"full_page":{"type":"boolean","description":"Capture the whole document up to 10,000 px tall; taller documents return 413 (default false). With y_offset it captures the slice [y_offset, y_offset + 10,000 px) instead","example":false},"y_offset":{"type":"integer","description":"Vertical offset in CSS pixels from the top of the document (default 0). With full_page, captures the slice starting at y_offset so documents taller than 10,000 px can be captured in slices (0, 10000, 20000, ...); without full_page, captures the viewport window starting at y_offset. Chromium only — stealth rejects a nonzero y_offset","example":0},"format":{"type":"string","enum":["png","jpeg"],"description":"Image format: png (default, lossless) or jpeg (quality 85)","example":"png"},"delay_ms":{"type":"integer","description":"Settle time after load, 0-5000 ms (default 500)","example":500},"device_scale_factor":{"type":"integer","description":"Retina scaling, 1-2 (default 1)","example":1}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/swap_currencies":{"post":{"operationId":"tool_swap_currencies","summary":"swap_currencies — Swap Currencies","description":"Free (no payment required): supported swap currencies with networks, fixed/floating availability and address format: the full SimpleSwap catalog for building a swap.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ticker":{"type":"string","description":"Optional ticker filter (e.g. eth)","example":"eth"},"network":{"type":"string","description":"Optional network filter (e.g. eth)","example":"eth"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/swap_estimate":{"post":{"operationId":"tool_swap_estimate","summary":"swap_estimate — Swap Estimate","description":"Free (no payment required): fixed or floating quote for one swap: amount you receive, locked rate id and expiry for fixed quotes. Quote only — no order is created.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["currency_from","currency_to","amount"],"properties":{"currency_from":{"type":"string","description":"Source currency as ticker:network (e.g. btc:btc)","example":"btc:btc"},"currency_to":{"type":"string","description":"Destination currency as ticker:network (e.g. eth:eth)","example":"eth:eth"},"amount":{"type":"string","description":"Amount of the source currency to swap (positive decimal)","example":"0.01"},"fixed":{"type":"boolean","description":"Fixed (locked-rate) quote; returns a rate_id and expiry (default false = floating)","example":false}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/swap_create":{"post":{"operationId":"tool_swap_create","summary":"swap_create — Swap Create","description":"Create a live non-custodial swap order and get the deposit address: send exactly the expected amount there and the payout goes to your address. Paid call — the request itself moves no funds; the swap executes when your deposit confirms.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["currency_from","currency_to","address_to","amount"],"properties":{"currency_from":{"type":"string","description":"Source currency as ticker:network (e.g. btc:btc)","example":"btc:btc"},"currency_to":{"type":"string","description":"Destination currency as ticker:network (e.g. eth:eth)","example":"eth:eth"},"address_to":{"type":"string","description":"Destination wallet address; validated against the destination currency's own address format before any order is created","example":"0x0000000000000000000000000000000000000000"},"amount":{"type":"string","description":"Amount of the source currency to swap (positive decimal)","example":"0.01"},"fixed":{"type":"boolean","description":"Fixed (locked-rate) order; requires rate_id from swap_estimate (default false = floating)","example":false},"rate_id":{"type":"string","description":"Locked-rate id from a fixed swap_estimate; required when fixed is true","example":"rate1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/swap_status":{"post":{"operationId":"tool_swap_status","summary":"swap_status — Swap Status","description":"Free status check (no payment required): track a swap order by id: status, amounts, deposit and payout transactions. Read-only — never moves funds. Upstream cost is $0, so the check is free.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["exchange_id"],"properties":{"exchange_id":{"type":"string","description":"Exchange id returned by swap_create","example":"a1b2c3d4e5f6a7b8"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/cargo_run":{"post":{"operationId":"tool_cargo_run","summary":"cargo_run — App Runner","description":"Run any app from a zip URL. One call buys up to an hour: your zip is fetched and run from entrypoint.sh at its root. Poll the free result endpoint for stdout/stderr, exit code, timings. Zip ≤50 MB, ≤250 MB unpacked. Results kept 7 days; extend with the same zip URL + job_id. A bad zip is reported, not refunded, and still charged. Price $0.002–$0.10, shown before you pay.","tags":["tools"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.002","max":"0.10"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["zip_url"],"properties":{"zip_url":{"type":"string","description":"Public URL of the zip to run; entrypoint.sh at the zip root runs (a single top-level folder is also accepted)"},"job_id":{"type":"string","description":"Extend a previous job with the same zip URL for one more hour","example":"job_abc123"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_insider_trades":{"post":{"operationId":"tool_sec_insider_trades","summary":"sec_insider_trades — SEC Insider Trades","description":"SEC insider trades for a listed company by ticker or CIK: recent Form 4 buys, sells, grants and exercises with shares, price and holdings, plus net flow and cluster buys. Filed facts only — no advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ticker":{"type":"string","description":"Stock ticker, e.g. AAPL (at least one of ticker/cik required)","example":"AAPL"},"cik":{"type":"string","description":"SEC CIK number, e.g. 320193 for Apple (wins over ticker when both given)","example":"320193"},"lookback_days":{"type":"number","description":"Lookback window in days, default 90, cap 365","example":90},"max_filings":{"type":"number","description":"Maximum Form 4 filings parsed, default 20, cap 50","example":20}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_financial_snapshot":{"post":{"operationId":"tool_sec_financial_snapshot","summary":"sec_financial_snapshot — SEC Financial Snapshot","description":"SEC financial snapshot for a listed company by ticker or CIK: latest 10-K revenue, net income, total assets, diluted EPS and shares, prior-year revenue growth, and recent filings with document links. Filed XBRL facts only — no prices, estimates, or advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ticker":{"type":"string","description":"Stock ticker, e.g. AAPL (at least one of ticker/cik required)","example":"AAPL"},"cik":{"type":"string","description":"SEC CIK number, e.g. 320193 for Apple (wins over ticker when both given)","example":"320193"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/cve_exploit_risk":{"post":{"operationId":"tool_cve_exploit_risk","summary":"cve_exploit_risk — CVE Exploit Risk","description":"Exploit risk for one CVE from free public sources: NVD CVSS score and vector, CWE and affected products, FIRST EPSS 30-day exploit probability and percentile, and CISA KEV known-exploited flag with ransomware use. No exploit code or PoC.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cve"],"properties":{"cve":{"type":"string","description":"CVE id, e.g. CVE-2024-3094","example":"CVE-2024-3094"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/fda_drug_safety":{"post":{"operationId":"tool_fda_drug_safety","summary":"fda_drug_safety — FDA Drug Safety","description":"FDA drug safety bundle for one drug: FAERS adverse-event report total, top reported reactions and serious share, enforcement recalls with class and reason, and label boxed warning, indications and contraindications. Reported facts only — no medical advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0020"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["drug"],"properties":{"drug":{"type":"string","description":"Drug name, brand or generic, e.g. metformin","example":"metformin"},"top_reactions":{"type":"integer","description":"Top reported reactions to return (default 10, 1-20)","example":10},"max_recalls":{"type":"integer","description":"Enforcement recalls to return, most recent first (default 5, 0-10)","example":5}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/clinical_trial_intel":{"post":{"operationId":"tool_clinical_trial_intel","summary":"clinical_trial_intel — Clinical Trial Intel","description":"Clinical trial intelligence for one NCT ID or condition: status, phase, sponsor, enrollment, interventions, arms, outcomes, locations, eligibility summary, results flag, and a deterministic 0-100 evidence maturity score. Reported facts only — no medical advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"nct_id":{"type":"string","description":"Trial NCT id, e.g. NCT04852770 (wins over condition when both given)","example":"NCT04852770"},"condition":{"type":"string","description":"Condition to search, e.g. type 2 diabetes (at least one of nct_id/condition required)","example":"type 2 diabetes"},"status":{"type":"string","description":"Search only: overall status filter, e.g. RECRUITING or COMPLETED","example":"RECRUITING"},"phase":{"type":"string","description":"Search only: phase filter, e.g. PHASE3","example":"PHASE3"},"max_results":{"type":"integer","description":"Search only: trials to return (default 5, 1-10)","example":5}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_13f_holdings":{"post":{"operationId":"tool_sec_13f_holdings","summary":"sec_13f_holdings — SEC 13F Holdings","description":"Institutional 13F holdings for one manager by CIK or name: latest Form 13F-HR top holdings by value, portfolio total, position count, concentration score, and quarter-over-quarter changes. Filed facts only — no investment advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cik":{"type":"string","description":"Manager CIK, e.g. 1067983 (wins over manager when both given)","example":"1067983"},"manager":{"type":"string","description":"Manager name, e.g. Berkshire Hathaway Inc (at least one of cik/manager required)","example":"Berkshire Hathaway Inc"},"top_holdings":{"type":"integer","description":"Top holdings to return, by value (default 10, 1-25)","example":10}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_8k_events":{"post":{"operationId":"tool_sec_8k_events","summary":"sec_8k_events — SEC 8-K Events","description":"SEC 8-K material events for a listed company by ticker or CIK: recent 8-K filings with item numbers, plain labels, categories and high-signal flags, plus counts and the latest event. Filed facts only — no investment advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ticker":{"type":"string","description":"Stock ticker, e.g. AAPL (at least one of ticker/cik required)","example":"AAPL"},"cik":{"type":"string","description":"SEC CIK number, e.g. 320193 for Apple (wins over ticker when both given)","example":"320193"},"lookback_days":{"type":"number","description":"Lookback window in days, default 365, cap 730","example":365},"max_filings":{"type":"number","description":"Maximum 8-K filings returned, default 25, cap 50","example":25}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_form_d_raises":{"post":{"operationId":"tool_sec_form_d_raises","summary":"sec_form_d_raises — SEC Form D Raises","description":"SEC Form D private-capital raises for one issuer by CIK or name: recent Form D filings with offering amount, amount sold, remaining, first-sale date, minimum investment, industry group, investor count and sales-compensation recipients. Filed facts only — no investment advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0050"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cik":{"type":"string","description":"SEC CIK number, e.g. 2162140 for Parallax Space (wins over name when both given)","example":"2162140"},"name":{"type":"string","description":"Issuer name, e.g. Parallax Space (at least one of cik/name required)","example":"Parallax Space"},"lookback_days":{"type":"number","description":"Lookback window in days, default 365, cap 730","example":365},"max_filings":{"type":"number","description":"Maximum Form D filings returned, default 10, cap 25","example":10}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/sec_nport_fund_holdings":{"post":{"operationId":"tool_sec_nport_fund_holdings","summary":"sec_nport_fund_holdings — SEC N-PORT Fund Holdings","description":"Complete portfolio of one registered fund from its latest public SEC Form N-PORT filing: every holding with CUSIP/ISIN, USD value and % of net assets, asset category and fair-value level, plus fund totals and top holdings. Quarterly reports only, ~55-60 days after quarter-end. Filed facts only — no investment advice.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cik":{"type":"string","description":"SEC CIK number, e.g. 24238 for Fidelity Contrafund (wins over name when both given)","example":"24238"},"name":{"type":"string","description":"Fund registrant name, e.g. Fidelity Contrafund (at least one of cik/name required)","example":"Fidelity Contrafund"},"series_id":{"type":"string","description":"Series ID, e.g. S000006037 for Fidelity Contrafund (exact match; a CIK files for many series)","example":"S000006037"},"series_name":{"type":"string","description":"Series name substring, e.g. Contrafund (matched on the filing's seriesName)","example":"Contrafund"},"max_holdings":{"type":"number","description":"Top holdings by USD value returned, default 50, cap 200 (aggregates always cover the full filing)","example":50}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/web_search":{"post":{"operationId":"tool_web_search","summary":"web_search — Web Search (Brave)","description":"Independent-index web search for AI agents: up to 20 ranked results with titles, URLs, snippets and age, plus news and video blocks when relevant. Metadata only — no page text; use web_scrape for page content.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0070"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query, 1-600 characters, max 75 words","example":"Brave Search API pricing"},"count":{"type":"number","description":"Results to return, default 10, max 20 (Brave returns at most 20 per request)","example":10},"freshness":{"type":"string","description":"Filter by page age: pd (past day), pw (past week), pm (past month), py (past year), or a YYYY-MM-DDtoYYYY-MM-DD range","example":"pw"},"country":{"type":"string","description":"2-letter country code for results, e.g. US","example":"US"},"search_lang":{"type":"string","description":"Language code for results, e.g. en or en-gb","example":"en"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/web_scrape":{"post":{"operationId":"tool_web_scrape","summary":"web_scrape — Web Scrape to Markdown","description":"Fetch any public URL as clean Markdown: fast extractor first, automatic JS-render fallback for pages it can't read. Returns title, markdown and the method used. No login or paywalled pages.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0100"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public URL to fetch as Markdown","example":"https://example.com/article"},"max_chars":{"type":"number","description":"Truncate markdown to N characters, default 50000, max 200000","example":50000},"use_firecrawl":{"type":"boolean","description":"Allow the JS-render fallback when the extractor can't read the page (default true)","example":true}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/deep_research":{"post":{"operationId":"tool_deep_research","summary":"deep_research — Deep Research","description":"Multi-search research for agents: runs your query plus sub-queries on Brave, scrapes the top pages to Markdown with JS fallback, deduped. Price $0.017–$0.17 by depth, shown before you pay.","tags":["tools"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0170"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Research question, 1-600 characters, max 75 words","example":"Brave Search API pricing and free tier"},"sub_queries":{"type":"array","items":{"type":"string"},"description":"Your own follow-up queries (at most 9 — 10 searches total). The tool never invents queries.","example":["Brave Search API rate limits"]},"max_pages":{"type":"number","description":"Pages to scrape across all searches, default 5, max 10","example":5},"max_chars_per_page":{"type":"number","description":"Markdown characters kept per page, default 20000, max 100000","example":20000},"freshness":{"type":"string","description":"Filter by page age: pd, pw, pm, py, or a YYYY-MM-DDtoYYYY-MM-DD range","example":"pm"}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"description":"Tool output (JSON)"},"isError":{"type":"boolean","description":"True when the upstream tool failed"}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","const":2},"accepts":{"type":"array","items":{"type":"object"}}}}}}}}}},"/tools/cargo_run/result/{job_id}":{"get":{"operationId":"cargo_run_result","summary":"cargo_run job result (free polling)","description":"Poll a cargo_run job by job_id until it completes. Free — no payment. A job that has not finished returns only job_id, status, and expires_at; a finished job returns stdout, stderr, exit_code, and timings. Results are kept 7 days, then the job returns 404.","tags":["tools"],"security":[],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string"},"description":"Job id from the cargo_run acceptance, e.g. job_a1b2c3d4e5f60718293a"}],"responses":{"200":{"description":"Job view (pending or finished)"},"404":{"description":"Unknown job id, or result expired after 7 days"}}}},"/mcp":{"post":{"operationId":"mcp_jsonrpc","summary":"MCP JSON-RPC (initialize, tools/list, tools/call)","description":"Pay-per-call MCP gateway. initialize/tools-list are free; tools/call pays per tool.","tags":["mcp"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0","max":"0.0010"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"jsonrpc":{"const":"2.0"},"id":{"type":"integer"},"method":{"const":"initialize"}},"required":["jsonrpc","id","method"]},{"type":"object","properties":{"jsonrpc":{"const":"2.0"},"id":{"type":"integer"},"method":{"const":"tools/list"}},"required":["jsonrpc","id","method"]},{"type":"object","properties":{"jsonrpc":{"const":"2.0"},"id":{"type":"integer"},"method":{"const":"tools/call"},"params":{"type":"object","properties":{"name":{"type":"string","enum":["raas_project_provision","shortlink_create","shortlink_stats","markdown","token_price","wallet_portfolio","whale_alerts","cross_chain_balance","wallet_token_risk","wallet_score","token_holders","whale_tracker","changelog_openapi","changelog_git","github_repo_health","mermaid","html_to_markdown","qr_generator","og_image_generator","og_image_generator_ai","jobs","google_serp","keyword_volume","keyword_ideas","domain_competitors","domain_keywords","backlinks_overview","find_email","enrich_person","enrich_company","company_signals","search_intent","verify_semaphore","verify_worldid","verify_batch","verify_stablecoin","wallet_verify_siwe","wallet_verify_nostr","wallet_verify_solana","wallet_checksum","llm_chat","pdf_to_markdown","docx_to_markdown","pptx_to_markdown","xlsx_to_markdown","epub_to_markdown","document_to_markdown","image_generate","image_generate_quality","photo_to_3d_fast","photo_to_3d_hq","document_extract","seo_audit","domain_reputation","cert_transparency_bundle","package_supply_chain_risk","web_archive_history","page_screenshot","swap_currencies","swap_estimate","swap_create","swap_status","cargo_run","sec_insider_trades","sec_financial_snapshot","cve_exploit_risk","fda_drug_safety","clinical_trial_intel","sec_13f_holdings","sec_8k_events","sec_form_d_raises","sec_nport_fund_holdings","web_search","web_scrape","deep_research"]},"arguments":{"type":"object"}},"required":["name"]}},"required":["jsonrpc","id","method","params"]}]}}}},"responses":{"200":{"description":"MCP JSON-RPC response","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":"integer"},"result":{"description":"Method result"},"error":{"type":"object","description":"Present on JSON-RPC failure"}},"required":["jsonrpc","id"]}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/tools":{"get":{"summary":"Free tool registry","security":[]}},"/health":{"get":{"summary":"Health check","security":[]}},"/tools/giftcard/api/products":{"get":{"operationId":"giftcard_products","summary":"Gift card catalog (free)","description":"Search and browse the gift card catalog. Returns curated top 20 products with pricing ranges.","tags":["giftcard"],"security":[],"responses":{"200":{"description":"Product catalog","content":{"application/json":{"schema":{"type":"array"}}}}}}},"/tools/giftcard/api/buy":{"post":{"operationId":"giftcard_buy","summary":"Buy a gift card code (x402-paid)","description":"Buy a gift card code. Price is returned in the payment challenge before you sign. Max face value $50 per order. Returns redemption code after x402 settlement.","tags":["giftcard"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0","max":"50.00"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"product_id":{"type":"string","description":"Catalog product id, e.g. foot-locker-usa"},"value":{"type":"number","description":"Face value to buy (USD)"},"email":{"type":"string","description":"Optional buyer email"}},"required":["product_id"]}}}},"responses":{"200":{"description":"Redemption code","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"order_id":{"type":"string","description":"Internal order id"},"product_id":{"type":"string"},"value":{"type":"number"},"codes":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/tools/webhook_catch":{"post":{"operationId":"webhook_catch_create","summary":"webhook_catch — create an ephemeral webhook receiver (x402-paid)","description":"Ephemeral webhook receiver. Creates a single-use HTTPS URL that catches any POST (Stripe, GitHub, internal) for 1 hour — webhook senders need no payment, the receiver stores up to 100 events. Read captured events for $0.01 per read, extend the hook for $0.05/hour. In-memory storage, auto-deletes on expiry. Perfect for agent integration testing.","tags":["webhooks"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"ttl_minutes":{"type":"number","description":"Hook lifetime in minutes (5-1440). Default 60."}}}}}},"responses":{"200":{"description":"Hook created — point webhook senders at hook_url","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"hook_id":{"type":"string"},"hook_url":{"type":"string","description":"FREE ingest URL — give this to Stripe/GitHub/etc"},"read_url":{"type":"string","description":"POST here with x402 payment to read events ($0.01/read)"},"extend_url":{"type":"string","description":"POST here with x402 payment to extend +1h ($0.05)"},"expires_at":{"type":"string","description":"ISO timestamp; hook auto-deletes"},"max_events":{"type":"integer","const":100}}}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/tools/webhook_catch/:id/events":{"post":{"operationId":"webhook_catch_read","summary":"webhook_catch — read captured events (x402-paid, $0.01/read)","description":"Read all events captured by the hook. Optional {\"clear\":true} empties the hook after this read. Returns {count, events:[{headers, body, timestamp}], expires_at}.","tags":["webhooks"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"clear":{"type":"boolean","description":"Empty the hook after this read (default false)"}}}}}},"responses":{"200":{"description":"Captured events","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Hook not found or expired"}}}},"/tools/webhook_catch/:id/extend":{"post":{"operationId":"webhook_catch_extend","summary":"webhook_catch — extend hook lifetime +1h (x402-paid, $0.05)","description":"Extend the hook's expiry by +1 hour. Returns the new expires_at plus fresh read_url/extend_url.","tags":["webhooks"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Extended expiry","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required — x402 v2 challenge (see Payment-Required header)","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Hook not found or expired"}}}},"/tools/webhook_catch/{id}":{"post":{"operationId":"webhook_catch_ingest","summary":"webhook_catch — free webhook ingest (no payment, always 200)","description":"Webhook senders (Stripe, GitHub, any POST) deliver events here. Never paywalled — senders must never see a 402. Stores up to 100 events.","tags":["webhooks"],"security":[],"responses":{"200":{"description":"Accepted (or hook-not-found notice, still 200)"}}}}}}