{"openapi":"3.1.0","info":{"title":"Crest x402 Audit","version":"1.0.0","description":"Smart contract audit, code security scan, wallet risk profiling. Pay per call with USDC on Base. No API keys.","contact":{"name":"Crest Deployment Systems","url":"https://crestsystems.ai"}},"servers":[{"url":"https://audit.crestsystems.ai","description":"Production (Base mainnet)"}],"paths":{"/audit/contract":{"post":{"operationId":"auditContract","summary":"Smart contract security audit ($1.00 USDC)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","description":"Solidity/Vyper source code"},"address":{"type":"string","description":"Contract address (alternative to source)"},"bytecode":{"type":"string","description":"Contract bytecode (alternative to source)"}}}}}},"responses":{"200":{"description":"Audit report"},"402":{"description":"Payment required. $1.00 USDC on Base via x402."}},"x-x402":{"price":"$1.00","network":"eip155:8453","token":"USDC"}}},"/audit/code":{"post":{"operationId":"scanCode","summary":"Code security scan ($0.50 USDC)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Source code to scan"},"language":{"type":"string","description":"Programming language"},"filename":{"type":"string","description":"Optional filename for context"}}}}}},"responses":{"200":{"description":"Security scan report"},"402":{"description":"Payment required. $0.50 USDC on Base via x402."}},"x-x402":{"price":"$0.50","network":"eip155:8453","token":"USDC"}}},"/audit/wallet":{"post":{"operationId":"profileWallet","summary":"Wallet risk profiling ($0.25 USDC)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address (EVM)"},"chain":{"type":"string","description":"Blockchain (default: base)"}}}}}},"responses":{"200":{"description":"Wallet risk profile"},"402":{"description":"Payment required. $0.25 USDC on Base via x402."}},"x-x402":{"price":"$0.25","network":"eip155:8453","token":"USDC"}}}},"x-x402-payment":{"protocol":"x402","network":"eip155:8453","chain":"Base","token":"USDC","receiver":"0xAb5DEcB819BbDB823E472c388D0826E294f99973","facilitator":"Coinbase CDP"}}