{"openapi":"3.1.0","info":{"title":"EvidenceCheck","version":"3.4.0","description":"Low-cost pay-per-call x402 APIs for AI agents on Base Mainnet."},"servers":[{"url":"https://evidencecheck-api.onrender.com"}],"paths":{"/web-extract":{"post":{"summary":"Webpage Extractor","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https webpage URL."}},"required":["url"]}}}},"responses":{"200":{"description":"Clean webpage content","content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string"},"url":{"type":"string"},"finalUrl":{"type":"string"},"status":{"type":"integer"},"contentType":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"canonical":{"type":"string"},"language":{"type":"string"},"openGraph":{"type":"object"},"headings":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"links":{"type":"array","items":{"type":"object"}},"wordCount":{"type":"integer"},"truncated":{"type":"boolean"},"responseTimeMs":{"type":"integer"},"cacheHit":{"type":"boolean"}},"required":["service","url","finalUrl","status","contentType","title","description","canonical","language","openGraph","headings","text","links","wordCount","truncated","responseTimeMs","cacheHit"]}}}},"402":{"description":"x402 payment required"}}}},"/site-audit":{"post":{"summary":"Website Security Preflight","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https website URL."}},"required":["url"]}}}},"responses":{"200":{"description":"Live public website security signals","content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string"},"url":{"type":"string"},"finalUrl":{"type":"string"},"status":{"type":"integer"},"contentType":{"type":"string"},"responseTimeMs":{"type":"integer"},"title":{"type":"string"},"https":{"type":"boolean"},"securityHeaders":{"type":"object"},"cookieSecurity":{"type":"object"},"exposedServerHeader":{"type":"boolean"},"robotsTxt":{"type":"object"},"securityTxt":{"type":"object"},"findings":{"type":"array","items":{"type":"string"}}},"required":["service","url","finalUrl","status","contentType","responseTimeMs","title","https","securityHeaders","cookieSecurity","exposedServerHeader","robotsTxt","securityTxt","findings"]}}}},"402":{"description":"x402 payment required"}}}},"/analyze":{"post":{"summary":"Business Document Analyzer","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Business document text, maximum 50,000 characters."}},"required":["text"]}}}},"responses":{"200":{"description":"Structured document signals","content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string"},"wordCount":{"type":"integer"},"characterCount":{"type":"integer"},"dates":{"type":"array","items":{"type":"string"}},"monetaryAmounts":{"type":"array","items":{"type":"string"}},"obligations":{"type":"array","items":{"type":"string"}},"securitySignals":{"type":"array","items":{"type":"string"}},"missingAreas":{"type":"array","items":{"type":"string"}},"riskFlags":{"type":"array","items":{"type":"string"}}},"required":["service","wordCount","characterCount","dates","monetaryAmounts","obligations","securitySignals","missingAreas","riskFlags"]}}}},"402":{"description":"x402 payment required"}}}},"/vendor-preflight":{"post":{"summary":"Vendor Security Preflight","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Public vendor website URL."},"requirements":{"type":"array","items":{"type":"string"},"description":"Optional security requirements to check against public-site signals."}},"required":["url"]}}}},"responses":{"200":{"description":"Structured public-site vendor security signal","content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"type":"string"},"service":{"type":"string"},"checkedAt":{"type":"string"},"url":{"type":"string"},"finalUrl":{"type":"string"},"status":{"type":"integer"},"https":{"type":"boolean"},"publicSignalLevel":{"type":"string"},"riskLevel":{"type":"string"},"riskLevelInterpretation":{"type":"string"},"pageTitle":{"type":"string"},"responseTimeMs":{"type":"integer"},"checks":{"type":"array","items":{"type":"object"}},"coverage":{"type":"object"},"gaps":{"type":"array","items":{"type":"string"}},"unverifiableRequirements":{"type":"array","items":{"type":"string"}},"disclosureSignals":{"type":"array","items":{"type":"object"}},"evidencePages":{"type":"array","items":{"type":"object"}},"nextQuestions":{"type":"array","items":{"type":"string"}},"summary":{"type":"string"},"limitations":{"type":"array","items":{"type":"string"}}},"required":["schemaVersion","service","checkedAt","url","finalUrl","status","https","publicSignalLevel","riskLevel","riskLevelInterpretation","pageTitle","responseTimeMs","checks","coverage","gaps","unverifiableRequirements","disclosureSignals","evidencePages","nextQuestions","summary","limitations"]}}}},"402":{"description":"x402 payment required"}}}}}}