{"slug":"x402-halowerk-com-policy-check-530801","title":"A stateless rule check for agents that pay for x402 endpoints","host":"x402.halowerk.com","method":"POST","resource":"https://x402.halowerk.com/policy/check","category":"other","description":"A stateless rule check for agents that pay for x402 endpoints. You supply the proposed payment, your policy and the amounts already spent this hour and this day; this endpoint keeps no ledger of its own and returns your counters unchanged. Every configured rule — max_per_call, max_per_hour, max_per_","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1205,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"policy":{"max_per_call":"1000000","max_per_day":"1000000","max_per_hour":"1000000"},"proposed_payment":{"amount_units":"1000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain":"eip155:8453"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"policy":{"additionalProperties":false,"properties":{"allowed_assets":{"description":"Token addresses you accept. Omit to allow any.","items":{"type":"string"},"type":"array"},"allowed_chains":{"description":"Chains you accept, as CAIP-2 or short names. Omit to allow any.","items":{"type":"string"},"type":"array"},"allowed_recipients":{"description":"Recipient addresses you accept. Omit to allow any; the recipient is then flagged as unverified.","items":{"type":"string"},"type":"array"},"blocked_recipients":{"description":"Recipient addresses you refuse. Beats allowed_recipients on conflict.","items":{"type":"string"},"type":"array"},"max_per_call":{"description":"Largest allowed single payment, in whole tokens of the proposed asset, for example \"0.05\".","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"},"max_per_day":{"description":"Largest allowed sum per day, in whole tokens.","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"},"max_per_hour":{"description":"Largest allowed sum per hour, in whole tokens.","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"},"require_schema":{"description":"Whether the offer must declare an inputSchema.","type":"boolean"}},"type":"object"},"proposed_payment":{"additionalProperties":false,"properties":{"amount_units":{"description":"Amount of the proposed payment as an integer in the smallest unit of the token.","pattern":"^[0-9]{1,78}$","type":"string"},"asset":{"description":"Token contract address, or \"native\" for the chain coin.","type":"string"},"chain":{"description":"Chain as CAIP-2 (\"eip155:8453\"), short name (\"base\") or chain id.","type":"string"},"input_schema_present":{"description":"Whether the offer declares an inputSchema. Use Nr. 83 to find out if you do not know.","type":"boolean"},"pay_to":{"description":"Recipient address of the proposed payment.","type":"string"},"resource":{"description":"URL of the resource being bought. Nothing is fetched; it is only checked for shape.","maxLength":2048,"type":"string"}},"required":["amount_units"],"type":"object"},"spent_so_far":{"additionalProperties":false,"properties":{"day":{"description":"Already spent in the current day, in whole tokens.","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"},"hour":{"description":"Already spent in the current hour, in whole tokens.","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"}},"type":"object"}},"required":["proposed_payment","policy"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1320,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1165,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1325,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1208,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1180,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1177,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1167,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1270,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1142,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1215,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1156,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1164,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1148,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1129,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1164,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1203,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1175,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1164,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1183,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1162,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1202,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1156,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1160,"error":null}],"description_full":"A stateless rule check for agents that pay for x402 endpoints. You supply the proposed payment, your policy and the amounts already spent this hour and this day; this endpoint keeps no ledger of its own and returns your counters unchanged. Every configured rule — max_per_call, max_per_hour, max_per_day, allowed_chains, allowed_assets, allowed_recipients, blocked_recipients, require_schema — is reported individually as erfuellt, verletzt, nicht_pruefbar or nicht_gesetzt, together with the limit a","last_updated":"2026-11-02T14:55:28.041Z","schemes":["exact"]}