{"openapi":"3.1.0","info":{"title":"PayGuard","version":"0.2.0","contact":{"name":"PayGuard","email":"hello@youraitools.co","url":"https://agentgate-source.pages.dev/x402-payguard/"},"license":{"name":"MIT"},"x-service-name":"PayGuard by AgentGate","x-category":"compliance","x-categories":["compliance","security"],"x-tags":["compliance","security","sanctions","ofac","aml"],"x-logo":{"url":"https://agentgate-source.pages.dev/icons/payguard.png"},"description":"Sanctions screening of crypto addresses for AI agents and payment flows. Exact match against every digital currency address in the official US Treasury OFAC SDN list (EVM case-insensitive), with SDN entity name, programs and list date, plus a chain guess and checksum validity. Informational screening, not legal advice.","x-guidance":"GET /v1/address?address=<addr> ($0.001) returns sanctioned true/false with any SDN matches; POST /v1/batch {\"addresses\": [...]} screens up to 50 ($0.01). USDC on Base via x402, charged only on HTTP 200. Free preview: /v1/preview?address=<addr>."},"servers":[{"url":"https://api.youraitools.co/payguard"}],"externalDocs":{"description":"Source and docs","url":"https://agentgate-source.pages.dev/x402-payguard/"},"paths":{"/v1/address":{"get":{"operationId":"screen_address","summary":"OFAC SDN screen of one crypto address (matches, programs, list date, chain, checksum)","tags":["paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"x-x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","amount":"1000","assetSymbol":"USDC","x402Versions":[2,1]},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","maxLength":140},"description":"Blockchain address (EVM 0x, bc1 / 1 / 3, T..., Solana, Litecoin, XMR ...)"}],"responses":{"200":{"description":"Screening result (payment settled)","content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"string"},"address":{"type":"string","description":"Lookup key (EVM hex and bech32 lower-cased)"},"sanctioned":{"type":"boolean"},"match_count":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"entity_type":{"type":"string"},"sdn_uid":{"type":"integer"},"programs":{"type":"array","items":{"type":"string"}},"list_date":{"type":["string","null"],"format":"date"},"listed_currency":{"type":"string"},"listed_as":{"type":"string"}}}},"chain":{"type":"object","description":"format, guess, candidates, checksum (eip55 | base58check | bech32 | cashaddr | null), checksum_valid (true | false | null), checksum_address"},"source":{"type":"string"},"source_url":{"type":"string"},"list_updated_at":{"type":"string","format":"date"},"list_age_days":{"type":"integer"},"sdn_address_count":{"type":"integer"},"disclaimer":{"type":"string"}}}}}},"400":{"description":"Invalid input (never charged)"},"402":{"description":"Payment Required (x402 v2 terms in the PAYMENT-REQUIRED header, v1 terms in the body)"}}},"post":{"operationId":"screen_address_post","summary":"OFAC SDN screen of one address (POST {\"address\"})","tags":["paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"x-x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","amount":"1000","assetSymbol":"USDC","x402Versions":[2,1]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"}},"required":["address"]}}}},"responses":{"200":{"description":"Screening result (payment settled)","content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"string"},"address":{"type":"string","description":"Lookup key (EVM hex and bech32 lower-cased)"},"sanctioned":{"type":"boolean"},"match_count":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"entity_type":{"type":"string"},"sdn_uid":{"type":"integer"},"programs":{"type":"array","items":{"type":"string"}},"list_date":{"type":["string","null"],"format":"date"},"listed_currency":{"type":"string"},"listed_as":{"type":"string"}}}},"chain":{"type":"object","description":"format, guess, candidates, checksum (eip55 | base58check | bech32 | cashaddr | null), checksum_valid (true | false | null), checksum_address"},"source":{"type":"string"},"source_url":{"type":"string"},"list_updated_at":{"type":"string","format":"date"},"list_age_days":{"type":"integer"},"sdn_address_count":{"type":"integer"},"disclaimer":{"type":"string"}}}}}},"400":{"description":"Invalid input (never charged)"},"402":{"description":"Payment Required (x402 v2 terms in the PAYMENT-REQUIRED header, v1 terms in the body)"}}}},"/v1/batch":{"post":{"operationId":"screen_batch","summary":"OFAC SDN screen of up to 50 addresses","tags":["paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"x-x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","amount":"10000","assetSymbol":"USDC","x402Versions":[2,1]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50}},"required":["addresses"]}}}},"responses":{"200":{"description":"Batch result (payment settled)","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"sanctioned_count":{"type":"integer"},"any_sanctioned":{"type":"boolean"},"results":{"type":"array","items":{"type":"object","properties":{"input":{"type":"string"},"address":{"type":"string","description":"Lookup key (EVM hex and bech32 lower-cased)"},"sanctioned":{"type":"boolean"},"match_count":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"entity_type":{"type":"string"},"sdn_uid":{"type":"integer"},"programs":{"type":"array","items":{"type":"string"}},"list_date":{"type":["string","null"],"format":"date"},"listed_currency":{"type":"string"},"listed_as":{"type":"string"}}}},"chain":{"type":"object","description":"format, guess, candidates, checksum (eip55 | base58check | bech32 | cashaddr | null), checksum_valid (true | false | null), checksum_address"},"source":{"type":"string"},"source_url":{"type":"string"},"list_updated_at":{"type":"string","format":"date"},"list_age_days":{"type":"integer"},"sdn_address_count":{"type":"integer"},"disclaimer":{"type":"string"}}}},"list_updated_at":{"type":"string"},"disclaimer":{"type":"string"}}}}}},"400":{"description":"Invalid input (never charged)"},"402":{"description":"Payment Required (x402 v2 terms in the PAYMENT-REQUIRED header, v1 terms in the body)"}}}},"/v1/preview":{"get":{"operationId":"screen_preview","summary":"Free sanctioned true/false + chain guess (10/min/IP)","security":[],"responses":{"200":{"description":"OK"},"429":{"description":"Free tier rate limit"}},"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","maxLength":140},"description":"Blockchain address (EVM 0x, bc1 / 1 / 3, T..., Solana, Litecoin, XMR ...)"}]},"post":{"operationId":"screen_preview_post","summary":"Free preview (POST {\"address\"})","security":[],"responses":{"200":{"description":"OK"},"429":{"description":"Free tier rate limit"}}}}}}