A stateless rule check for agents that pay for x402 endpoints
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
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.halowerk.com/policy/check
| Category | Everything else |
|---|---|
| Provider host | x402.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.002 | 1320 ms |
| 2026-11-26 | valid payment request | 402 | $0.002 | 1165 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 1325 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 1208 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 1180 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 1205 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 1177 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 1193 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 1167 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 1270 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 1142 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 1215 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 1156 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 1164 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 1148 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 1129 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 1164 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 1203 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 1175 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 1164 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 1183 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 1162 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 1202 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 1156 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 1160 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}