{"openapi":"3.0.3","info":{"title":"Wallet Oracle (WickedAPI)","version":"1.0.0","description":"Counterparty check for agents and wallets. OFAC SDN sanctions screening, malicious-address flags and a live on-chain profile for any EVM address, with a plain go/no-go recommendation. Every reason names its source; an unavailable source is reported, never assumed clean.\n\n**Access - both work on every paid endpoint:**\n1. **API key** - `x-api-key` header.\n2. **x402 pay-per-call** - no signup: call with no key, receive a 402 for $0.005/request in USDC on base, pay via an x402 client, get 200 + data."},"servers":[{"url":"https://wallet.wickedapi.com"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object"},"meta":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":true}}}}},"paths":{"/health":{"get":{"operationId":"get_health","summary":"Liveness check","description":"Liveness check.","tags":["Meta"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/status":{"get":{"operationId":"get_v1_status","summary":"Service catalog","description":"Service catalog.","tags":["Wallet"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/sanctions-check":{"get":{"operationId":"get_v1_sanctions_check","summary":"Is this address on the US Treasury OFAC SDN sanctions list? Exact match against every digital-currency address OFAC publishes (EVM, Tron, Bitcoin and others), with the sanctioned entity, program, and the list's publish date","description":"Free. Is this address on the US Treasury OFAC SDN sanctions list? Exact match against every digital-currency address OFAC publishes (EVM, Tron, Bitcoin and others), with the sanctioned entity, program, and the list's publish date. Chain-agnostic.\n\n**Example:** `/v1/sanctions-check?address=0x8589427373D6D84E98730D7795D8f6f8731FDA16`","tags":["Wallet"],"parameters":[{"name":"address","in":"query","required":true,"description":"Required. Any wallet address (0x EVM, Tron T..., Bitcoin, Solana, ...).","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/wallet-check":{"get":{"operationId":"get_v1_wallet_check","summary":"Pre-transaction counterparty check for an EVM wallet or contract: OFAC SDN screening, GoPlus malicious-address flags (phishing, drainers, laundering, mixers ...), and a live on-chain profile (EOA / contract / EIP-7702, nonce, balance, ENS, first transaction, contract verification)","description":"Pre-transaction counterparty check for an EVM wallet or contract: OFAC SDN screening, GoPlus malicious-address flags (phishing, drainers, laundering, mixers ...), and a live on-chain profile (EOA / contract / EIP-7702, nonce, balance, ENS, first transaction, contract verification). Returns risk_level, a plain recommendation (do_not_transact / review_before_transacting / no_red_flags_found), every reason with its source, and which sources were unavailable.\n\n**Example:** `/v1/wallet-check?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&chain=ethereum`","tags":["Wallet"],"parameters":[{"name":"address","in":"query","required":true,"description":"Required. A 0x address.","schema":{"type":"string"}},{"name":"chain","in":"query","required":false,"description":"Optional. ethereum, base, arbitrum, optimism, polygon (default base).","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.005","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}}}}