{"openapi": "3.0.3", "info": {"title": "agentmail - OFAC Sanctions Screening for AI Agents", "description": "Screen wallet addresses, names, and countries against the OFAC SDN list before your AI agent pays. 782 crypto wallets, 19,086 names, 16 embargoed jurisdictions. Free tier: 5 checks/day, no API key.", "version": "1.0.0", "contact": {"name": "agentmail", "url": "https://sanctionsai.dev", "email": "support@sanctionsai.dev"}, "license": {"name": "MIT", "url": "https://github.com/kindrat86/agentmail"}}, "servers": [{"url": "https://sanctionsai.dev", "description": "Production"}], "paths": {"/sanctions": {"get": {"summary": "Screen a counterparty against OFAC sanctions lists", "description": "Check if a wallet, name, or country is on the OFAC SDN list. At least one parameter required. Returns matches with confidence and list source.", "parameters": [{"name": "wallet", "in": "query", "schema": {"type": "string"}, "description": "Crypto wallet address to screen"}, {"name": "name", "in": "query", "schema": {"type": "string"}, "description": "Name to screen"}, {"name": "country", "in": "query", "schema": {"type": "string"}, "description": "ISO-2 country code"}], "responses": {"200": {"description": "Screening result", "content": {"application/json": {"schema": {"type": "object", "properties": {"clean": {"type": "boolean"}, "matches": {"type": "array"}}}}}}, "402": {"description": "Payment required (x402 or API key needed)"}}, "security": [{"ApiKeyAuth": []}, {"x402": []}]}}, "/risk": {"post": {"summary": "Score transaction fraud risk before authorizing payment", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"counterparty_id": {"type": "string"}, "amount": {"type": "string"}, "currency": {"type": "string", "default": "USDC"}, "rail": {"type": "string"}, "category": {"type": "string"}}}}}}, "responses": {"200": {"description": "Risk score with recommendation (allow/review/decline)"}}}}, "/kya": {"post": {"summary": "Verify an AI agent's identity (Know Your Agent)", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"agent_id": {"type": "string"}, "evidence": {"type": "object"}}}}}}, "responses": {"200": {"description": "KYA verification result"}}}}, "/health": {"get": {"summary": "Health check", "responses": {"200": {"description": "Service status"}}}}, "/dashboard/logs": {"get": {"summary": "Recent screening logs (WRAP layer)", "description": "Returns last 100 screening events with stats. No auth required.", "responses": {"200": {"description": "Screening logs and aggregate stats"}}}}}, "components": {"securitySchemes": {"ApiKeyAuth": {"type": "apiKey", "in": "header", "name": "X-API-Key"}, "x402": {"type": "http", "scheme": "bearer", "description": "x402 micropayment header ($0.05/check)"}}}}