{"openapi":"3.1.0","info":{"title":"Sovereign x402 Engineering & Web3 Security API","description":"8 deterministic pay-per-call Data, SEO, Log Forensics, Live EVM Token & GEO Domain Intelligence APIs settled in Base Mainnet USDC via x402.","contact":{"name":"Sovereign Engineering Studio","url":"https://hathoai.github.io/","email":"security@hathoai.github.io"},"version":"1.3.0"},"paths":{"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Root  Get"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/api/geo/scan":{"post":{"tags":["Free Lead Magnet"],"summary":"Free Geo Scan","operationId":"free_geo_scan_api_geo_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainTrustGeoBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/x402.json":{"get":{"summary":"Well Known X402","operationId":"well_known_x402__well_known_x402_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known X402  Well Known X402 Json Get"}}}}}}},"/.well-known/x402":{"get":{"summary":"Well Known X402","operationId":"well_known_x402__well_known_x402_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known X402  Well Known X402 Get"}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/agents.json":{"get":{"summary":"Agents Json","operationId":"agents_json_agents_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agents Json Agents Json Get"}}}}}}},"/.well-known/agent-card.json":{"get":{"summary":"Well Known Agent Card","operationId":"well_known_agent_card__well_known_agent_card_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known Agent Card  Well Known Agent Card Json Get"}}}}}}},"/.well-known/agent.json":{"get":{"summary":"Well Known Agent Card","operationId":"well_known_agent_card__well_known_agent_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known Agent Card  Well Known Agent Json Get"}}}}}}},"/mcp":{"get":{"tags":["MCP Streamable HTTP"],"summary":"Mcp Http Info","operationId":"mcp_http_info_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mcp Http Info Mcp Get"}}}}}},"post":{"tags":["MCP Streamable HTTP"],"summary":"Mcp Http","operationId":"mcp_http_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/x402/csv-pii-audit":{"post":{"tags":["x402"],"summary":"Ep Csv","operationId":"ep_csv_v1_x402_csv_pii_audit_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CsvPiiBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/seo-page-audit":{"post":{"tags":["x402"],"summary":"Ep Seo","operationId":"ep_seo_v1_x402_seo_page_audit_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SeoAuditBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/log-forensics":{"post":{"tags":["x402"],"summary":"Ep Log","operationId":"ep_log_v1_x402_log_forensics_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/LogForensicsBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/solidity-security-scan":{"post":{"tags":["x402"],"summary":"Ep Sol","operationId":"ep_sol_v1_x402_solidity_security_scan_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SolidityScanBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/evm-tx-preflight":{"post":{"tags":["x402"],"summary":"Ep Evm","operationId":"ep_evm_v1_x402_evm_tx_preflight_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EvmPreflightBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/token-allowance-risk":{"post":{"tags":["x402"],"summary":"Ep Allow","operationId":"ep_allow_v1_x402_token_allowance_risk_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AllowanceRiskBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/evm-token-deep-intel":{"post":{"tags":["x402"],"summary":"Ep Token Intel","operationId":"ep_token_intel_v1_x402_evm_token_deep_intel_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EvmTokenDeepIntelBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/domain-trust-geo-intel":{"post":{"tags":["x402"],"summary":"Ep Domain Geo","operationId":"ep_domain_geo_v1_x402_domain_trust_geo_intel_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DomainTrustGeoBody"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment Required — Base Mainnet USDC via x402"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AllowanceRiskBody":{"properties":{"chain":{"type":"string","title":"Chain","default":"base"},"token_address":{"type":"string","title":"Token Address","default":""},"owner_address":{"type":"string","title":"Owner Address","default":""},"spender_address":{"type":"string","title":"Spender Address","default":""}},"type":"object","title":"AllowanceRiskBody"},"CsvPiiBody":{"properties":{"csv_text":{"type":"string","title":"Csv Text","description":"Raw CSV/TSV text to profile and redact","default":""},"pii_mode":{"type":"string","title":"Pii Mode","description":"mask or none","default":"mask"}},"type":"object","title":"CsvPiiBody"},"DomainTrustGeoBody":{"properties":{"domain":{"type":"string","title":"Domain","description":"Public domain or https:// URL","default":""}},"type":"object","title":"DomainTrustGeoBody"},"EvmPreflightBody":{"properties":{"chain":{"type":"string","title":"Chain","default":"base"},"to_address":{"type":"string","title":"To Address","default":""},"calldata_hex":{"type":"string","title":"Calldata Hex","default":"0x"},"value_wei":{"type":"string","title":"Value Wei","default":"0"}},"type":"object","title":"EvmPreflightBody"},"EvmTokenDeepIntelBody":{"properties":{"chain":{"type":"string","title":"Chain","description":"base, ethereum, arbitrum, polygon, optimism","default":"base"},"token_address":{"type":"string","title":"Token Address","description":"ERC-20 contract 0x address","default":""}},"type":"object","title":"EvmTokenDeepIntelBody"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LogForensicsBody":{"properties":{"log_text":{"type":"string","title":"Log Text","description":"Raw Nginx/Apache access log lines","default":""}},"type":"object","title":"LogForensicsBody"},"SeoAuditBody":{"properties":{"html":{"type":"string","title":"Html","description":"Raw HTML5 document","default":""},"page_path":{"type":"string","title":"Page Path","default":"/index.html"}},"type":"object","title":"SeoAuditBody"},"SolidityScanBody":{"properties":{"solidity_code":{"type":"string","title":"Solidity Code","description":"Solidity smart contract source code","default":""},"filename":{"type":"string","title":"Filename","default":"Contract.sol"}},"type":"object","title":"SolidityScanBody"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}