Verify an x402 purchase before an AI agent signs
Verify an x402 purchase before an AI agent signs. Validate the live HTTP 402 challenge, Base network, USDC asset, quoted price, recipient, price ceiling, buyer funding, optional gas reserve, and destination hazards, then receive a machine-readable safe-to-sign, fund, review, or reject decision. No account or API key.
10000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-04
updated
Provider
anywaypossible.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe5690D37805107C56f6195E65A262b234E0E5e75",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"expectedPayTo": "0x2222222222222222222222222222222222222222",
"maxAmountUsdc": "0.10",
"minGasReserveEth": "0",
"payerAddress": "0x1111111111111111111111111111111111111111",
"serviceUrl": "https://example.com/api/report"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"alerts": [],
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"checks": [
{
"id": "x402_contract",
"status": "pass"
}
],
"decision": "safe_to_sign",
"network": "eip155:8453",
"quotedAmountUsdc": "0.01",
"quotedPayTo": "0x2222222222222222222222222222222222222222",
"recommendedAction": "Sign only the validated payment requirements.",
"riskLevel": "low",
"safeToSign": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"expectedPayTo": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"maxAmountUsdc": {
"pattern": "^[0-9]+(\\.[0-9]{1,6})?$",
"type": "string"
},
"minGasReserveEth": {
"pattern": "^[0-9]+(\\.[0-9]{1,18})?$",
"type": "string"
},
"payerAddress": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"serviceUrl": {
"format": "uri",
"type": "string"
}
},
"required": [
"payerAddress",
"serviceUrl",
"maxAmountUsdc"
],
"type": "object"
},
"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": {
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"asset": {
"type": "string"
},
"checks": {
"items": {
"type": "object"
},
"type": "array"
},
"decision": {
"type": "string"
},
"network": {
"type": "string"
},
"quotedAmountUsdc": {
"type": "string"
},
"quotedPayTo": {
"type": "string"
},
"recommendedAction": {
"type": "string"
},
"riskLevel": {
"type": "string"
},
"safeToSign": {
"type": "boolean"
}
},
"required": [
"decision",
"safeToSign",
"riskLevel",
"quotedAmountUsdc",
"quotedPayTo",
"network",
"asset",
"checks",
"alerts",
"recommendedAction"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "anyway_possible",
"s": [
"cdp_sdk_server"
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"maxItems": 11,
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
},
"eip2612GasSponsoring": {},
"erc20ApprovalGasSponsoring": {}
}Use it
curl
curl "https://anywaypossible.com/api/payment-guard" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://anywaypossible.com/api/payment-guard");
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://anywaypossible.com/api/payment-guard")
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/4536.json, and this resource appears in /discovery/resources and /discovery/search.