{"uid":"cap_4o1ULJTYuchWWEKyJMCpC","slug":"402sentinel-x402-counterparty-risk-gate-2c9c20e6","name":"402Sentinel x402 Counterparty Risk Gate","description":"Same input as /api/assess, but returns a trimmed action-oriented view: the allow/limit/deny decision plus a wallet-ready spending policy (max_payment_usdc per-counterparty cap, daily_cap_usdc, add_to_denylist, require_human_approval) an agent can apply directly to its wallet limits.","url":"https://402sentinel.com/api/policy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","properties":{"min_confidence":{"type":"number"},"max_payment_usdc":{"type":"number"},"review_ceiling_usdc":{"type":"number"}},"description":"Optional caller thresholds shaping the returned spending policy."},"target":{"type":"object","required":["payto_address"],"properties":{"payto_address":{"type":"string","description":"Address that receives the payment — 0x EVM (Base) OR base58 Solana."}},"description":"The x402 seller to score."},"payment_context":{"type":"object","properties":{"asset":{"type":"string","description":"e.g. \"USDC\""},"amount":{"type":"number"}}}}},"responseSchema":null,"example":{"request":{"policy":{"min_confidence":0.5,"max_payment_usdc":50,"review_ceiling_usdc":5},"target":{"payto_address":"0x6a5e7d954f49712abf3f873f037ec845b7b8c666"},"payment_context":{"asset":"USDC","amount":10}},"response":{"as_of":"2026-06-12T04:56:30+00:00","coverage":{"age_days":114,"is_contract":false,"real_payers":118,"data_sources":["base_blockscout","outcome_flywheel","x402_registry"],"distinct_payers":118,"outcome_reports":0,"dimensions_scored":["identity_provenance","sybil_flow","settlement_maturity","sanctions"],"settlements_observed":150,"facilitators_excluded":0},"decision":"allow","confidence":0.85,"risk_score":18,"assessment_id":"ca_895f1dee66caadd1be","recommended_policy":{"model":"402sentinel/policy-v0","action":"allow","rationale":"Low risk — allow up to 40.94 USDC per payment (204.7 USDC/day).","daily_cap_usdc":204.7,"add_to_denylist":false,"max_payment_usdc":40.94,"require_human_approval":false,"proposed_amount_within_cap":true}}},"exampleRequest":{"policy":{"min_confidence":0.5,"max_payment_usdc":50,"review_ceiling_usdc":5},"target":{"payto_address":"0x6a5e7d954f49712abf3f873f037ec845b7b8c666"},"payment_context":{"asset":"USDC","amount":10}},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-5Jrnwu7-wpUxFV47tf_X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores an x402 payment counterparty address 0-100 for risk and returns an allow/review/block decision based on on-chain settlement behaviour before you pay","exampleAgentPrompt":"Before I pay that x402 endpoint at address 0xAbC123..., run it through 402Sentinel and tell me its risk score and whether I should allow, review, or block the payment.","exampleUseCases":null,"resultDescription":"Returns a 0-100 risk score and a categorical decision (allow, review, or block) for the queried counterparty address, derived from on-chain signals including address age, payer diversity, facilitator awareness, and settlement maturity on Base.","failureModes":["Unknown or brand-new address with no on-chain history may return low-confidence score","Invalid or malformed address input returns validation error","Address not on Base network may be unsupported","x402 payment for the API call itself fails if caller wallet has insufficient USDC","Rate limiting or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when your AI agent is about to make an x402 pay-per-call payment and needs a pre-payment counterparty risk check based purely on on-chain settlement behaviour. Prefer this over generic blockchain analytics tools when the specific concern is x402 protocol counterparty trust and facilitator-aware risk scoring on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:18.451Z","isFirstParty":false}