{"name":"FHI x402 Revenue API","version":"1.1.0","payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","openapi":"https://polished-truth-c514.fhi-llc-1118.workers.dev/openapi.json"},"discovery":{"catalog":"https://polished-truth-c514.fhi-llc-1118.workers.dev/catalog","llms":"https://polished-truth-c514.fhi-llc-1118.workers.dev/llms.txt","mcp":"https://polished-truth-c514.fhi-llc-1118.workers.dev/mcp"},"resources":[{"method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/domain-change-evidence","price":"$0.01","description":"Stateful DNS, CAA, and certificate-transparency monitoring for a public domain. The first call establishes a baseline; later calls return evidence changes and certificate-expiry signals.","tags":["dns","domain","security","monitoring","certificate-transparency"],"input":{"domain":"example.com"},"inputSchema":{"type":"object","properties":{"domain":{"type":"string","description":"Public DNS name, such as example.com"}},"required":["domain"]},"outputExample":{"domain":"example.com","firstObservation":false,"changed":true,"monitoring":{"state":"change_detected","signals":["dns_a_changed"]},"evidence":{"a":["93.184.216.34"],"aaaa":[],"caa":[],"certificates":[]}},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"domain":{"type":"string"},"firstObservation":{"type":"boolean"},"changed":{"type":["boolean","null"]},"monitoring":{"type":"object"},"evidence":{"type":"object"}},"required":["generatedAt","domain","firstObservation","monitoring","evidence"]}},{"method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/cve-priority-report","price":"$0.05","description":"Prioritized CVE patch evidence from NVD, CISA KEV, and FIRST EPSS.","tags":["security","cve","patching"],"input":{"cves":["CVE-2021-44228"],"assetExposure":"internet"},"inputSchema":{"type":"object","properties":{"cves":{"type":"array","items":{"type":"string","pattern":"^CVE-[0-9]{4}-[0-9]{4,}$"},"minItems":1,"maxItems":20},"assetExposure":{"type":"string","enum":["internet","internal","unknown"]},"patchSlaHours":{"type":"integer","minimum":1}},"required":["cves"]},"outputExample":{"findings":[{"cve":"CVE-2021-44228","priority":"P0","score":100}]},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"findings":{"type":"array"}},"required":["generatedAt","findings"]}},{"method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/package-install-preflight","price":"$0.01","description":"npm or PyPI install preflight: blocks missing packages, detects near-name typosquats when an expected name is supplied, and checks OSV advisories.","tags":["security","packages","dependencies","typosquat","slopsquatting"],"input":{"ecosystem":"npm","name":"lodahs","expectedName":"lodash"},"inputSchema":{"type":"object","properties":{"ecosystem":{"type":"string","enum":["npm","PyPI"]},"name":{"type":"string","minLength":1},"version":{"type":"string"},"expectedName":{"type":"string","minLength":1}},"required":["ecosystem","name"]},"outputExample":{"package":{"ecosystem":"npm","name":"lodahs","exists":false},"action":"block","riskSignals":["package_not_found","near_expected_name"]},"outputSchema":{"type":"object","properties":{"checkedAt":{"type":"string"},"package":{"type":"object"},"action":{"type":"string","enum":["allow","block"]},"riskSignals":{"type":"array"},"vulnerabilities":{"type":"array"}},"required":["checkedAt","package","action","riskSignals","vulnerabilities"]}},{"method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/sec-material-event-delta","price":"$0.01","description":"New SEC 8-K, 6-K, and late-filing evidence since a cursor date; accepts a ticker or CIK.","tags":["sec","filings","research","8-k","ticker"],"input":{"ticker":"AAPL","since":"2026-09-01"},"inputSchema":{"type":"object","properties":{"cik":{"type":"string","pattern":"^[0-9]{1,10}$"},"ticker":{"type":"string","pattern":"^[A-Za-z0-9.-]{1,12}$"},"since":{"type":"string","format":"date"}},"required":["since"]},"outputExample":{"company":{"cik":"0000320193","name":"Apple Inc."},"since":"2026-09-01","filings":[]},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"company":{"type":"object"},"since":{"type":"string"},"filings":{"type":"array"}},"required":["generatedAt","company","since","filings"]}},{"name":"MCP Server Security Audit Before Agent Connect or Payment","method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/mcp-payment-preflight","price":"$0.01","description":"MCP server security audit before an agent connects or pays: probes initialize and tools/list, then returns an ALLOW, CAUTION, or BLOCK risk score for command, filesystem, or wallet capabilities; prompt-injection or data-exfiltration signals; permissive JSON-schema inputs; missing HSTS; and a large tool surface. Does not execute tools.","tags":["mcp","mcp-security","security-audit","prompt-injection","payment-preflight"],"input":{"serverUrl":"https://example.com/mcp"},"inputSchema":{"type":"object","properties":{"serverUrl":{"type":"string","format":"uri","description":"Public HTTPS streamable-HTTP MCP endpoint"}},"required":["serverUrl"]},"outputExample":{"verdict":"CAUTION","score":62,"findings":[{"code":"dangerous_tool_capability","severity":"high"}]},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"endpoint":{"type":"string"},"verdict":{"type":"string","enum":["ALLOW","CAUTION","BLOCK"]},"score":{"type":"integer"},"findings":{"type":"array"},"tools":{"type":"array"}},"required":["generatedAt","endpoint","verdict","score","findings","tools"]}},{"name":"MCP Vendor Due Diligence Dossier","method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/mcp-vendor-due-diligence","price":"$0.10","description":"One decision-ready due-diligence dossier before an agent adopts or pays an MCP vendor: live MCP metadata and tool-risk preflight, DNS/CAA/certificate evidence, plus optional SEC material-filing evidence for a public company. Does not execute vendor tools or certify safety.","tags":["mcp","vendor-risk","due-diligence","counterparty","security"],"input":{"mcpUrl":"https://example.com/mcp","ticker":"AAPL","since":"2026-09-01"},"inputSchema":{"type":"object","properties":{"mcpUrl":{"type":"string","format":"uri","description":"Public HTTPS streamable-HTTP MCP endpoint"},"ticker":{"type":"string","pattern":"^[A-Za-z0-9.-]{1,12}$"},"cik":{"type":"string","pattern":"^[0-9]{1,10}$"},"since":{"type":"string","format":"date"}},"required":["mcpUrl"]},"outputExample":{"decision":"REVIEW","summary":{"mcpVerdict":"CAUTION","domainSignals":["baseline_created"],"secFilings":0}},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"target":{"type":"object"},"decision":{"type":"string","enum":["PROCEED","REVIEW","AVOID"]},"summary":{"type":"object"},"mcp":{"type":"object"},"domain":{"type":"object"},"sec":{"type":["object","null"]}},"required":["generatedAt","target","decision","summary","mcp","domain","sec"]}},{"method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/public-contract-award-delta","price":"$0.05","description":"New USAspending contract awards matching NAICS codes or an awarding agency.","tags":["procurement","contracts","research"],"input":{"since":"2026-09-01","naicsCodes":["541330"]},"inputSchema":{"type":"object","properties":{"since":{"type":"string","format":"date"},"naicsCodes":{"type":"array","items":{"type":"string","pattern":"^[0-9]{2,6}$"},"maxItems":20},"awardingAgency":{"type":"string","maxLength":120}},"required":["since"]},"outputExample":{"since":"2026-09-01","filters":{"naicsCodes":["541330"],"awardingAgency":null},"awards":[]},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"since":{"type":"string"},"filters":{"type":"object"},"awards":{"type":"array"}},"required":["generatedAt","since","filters","awards"]}},{"name":"Autonomous AI Research Agent with Security, SEC, Domain and Contract Tools","method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/api/v1/agent-execute","price":"$0.01","description":"Autonomous AI research agent that plans and executes multi-step tasks using live tools for CVE prioritization, npm and PyPI package security, DNS and certificate investigation, SEC material-event filings, and US federal contract awards. Use it when an agent needs research plus tool execution rather than a single LLM response.","tags":["ai","agent","execution","reasoning"],"input":{"task":"Analyze this problem and return the best actionable result.","context":"optional context"},"inputSchema":{"type":"object","properties":{"task":{"type":"string","minLength":1,"maxLength":20000},"context":{"type":"string","maxLength":50000},"maxSteps":{"type":"integer","minimum":1,"maximum":4,"default":3}},"required":["task"]},"outputExample":{"model":"@cf/zai-org/glm-4.7-flash","result":{"response":"..."}},"outputSchema":{"type":"object","properties":{"generatedAt":{"type":"string"},"model":{"type":"string"},"result":{"type":"object"}},"required":["generatedAt","model","result"]}},{"name":"OpenAI-Compatible LLM Chat Completions","method":"POST","url":"https://polished-truth-c514.fhi-llc-1118.workers.dev/v1/chat/completions","price":"$0.005","description":"OpenAI-compatible low-cost chat completions for autonomous agents, powered by GLM-4.7-Flash.","tags":["ai","chat","llm","openai-compatible"],"input":{"model":"glm-4.7-flash","messages":[{"role":"user","content":"Summarize this text."}]},"inputSchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array","minItems":1},"temperature":{"type":"number","minimum":0,"maximum":2},"max_tokens":{"type":"integer","minimum":16,"maximum":512},"max_completion_tokens":{"type":"integer","minimum":16,"maximum":512},"tools":{"type":"array"},"tool_choice":{}},"required":["messages"]},"outputExample":{"id":"chatcmpl-example","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"..."},"finish_reason":"stop"}]},"outputSchema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"created":{"type":"integer"},"model":{"type":"string"},"choices":{"type":"array"},"usage":{"type":"object"}},"required":["id","object","created","model","choices"]}}]}