Spend-policy verdict for AI agents: POST a proposed spend, get allow/review/deny with the
Spend-policy verdict for AI agents: POST a proposed spend, get allow/review/deny with the exact rules that fired (per-tx caps, per-agent daily ledger, destination allowlists, time windows) - 'review' can page a human on Telegram for approval before the agent proceeds. Pay per call.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
api.clawinabox.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x46f297e342bc0B44b9f9C427e53C56E9f83bb660",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 600
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"agent_id": "agent-7",
"amount": 150,
"destination": "merchant-x",
"policy": "standard"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"approval_id": "apr_9f2c1a",
"poll": "/v1/approvals/apr_9f2c1a",
"reasons": [
"amount 150 exceeds review threshold 100"
],
"triggered": [
"review_threshold"
],
"verdict": "review"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"agent_id": {
"description": "stable id of the spending agent (per-agent daily ledger)",
"type": "string"
},
"amount": {
"description": "proposed spend amount",
"type": "number"
},
"destination": {
"description": "optional payee / merchant identifier checked against allowlists",
"type": "string"
},
"policy": {
"description": "preset name (conservative|standard|permissive) or inline policy object",
"type": "string"
},
"wait": {
"description": "if the verdict is 'review', block until a human approves/denies on Telegram (default 120s timeout)",
"type": "boolean"
}
},
"required": [
"agent_id",
"amount"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.clawinabox.xyz/paid/v1/guard/check" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.clawinabox.xyz/paid/v1/guard/check");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.clawinabox.xyz/paid/v1/guard/check")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5475.json, and this resource appears in /discovery/resources and /discovery/search.