X402 Preflight
Give it the x402 endpoints your agent is about to call and your spending rules (per-request cap, total budget, allowed networks). It probes every endpoint without paying, in parallel, and returns which ones are safe to pay, the real price in USD, network and pay-to address of each, the total cost, and a plain reason for every endpoint it blocks (over the cap, over budget, testnet only, not a valid x402 endpoint, non-USD price). Use it as a guardrail step in any agent that spends money.
POST https://x402-tools.com/v1/x402-preflight
0.005 USDC on Base · payTo 0xd9801be480584b0885592c48b1083345ab1154d8
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"budget_usd": 0.02,
"max_price_usd": 0.01,
"networks": [
"base"
],
"urls": [
"https://x402-tools.com/v1/markdown",
"https://x402-tools.com/v1/image"
]
}{
"approved": 1,
"blocked": 1,
"checked": 2,
"endpoints": [
{
"grade": "A",
"network": "eip155:8453",
"network_name": "Base",
"ok_to_pay": true,
"pay_to": "0x8e27…AB92",
"price_usd": 0.003,
"reasons": [],
"scheme": "exact",
"url": "https://x402-tools.com/v1/markdown"
},
{
"grade": "A",
"network": "eip155:8453",
"network_name": "Base",
"ok_to_pay": false,
"price_usd": 0.02,
"reasons": [
"Costs $0.02, above the per-request cap of $0.01."
],
"url": "https://x402-tools.com/v1/image"
}
],
"rules": {
"budget_usd": 0.02,
"max_price_usd": 0.01,
"networks": [
"base"
]
},
"total_cost_usd": 0.003
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://x402-tools.com/v1/x402-preflight · input in body · spec from feed (schema inferred from example)
Input schema
{
"type": "object",
"properties": {
"budget_usd": {
"type": "number"
},
"max_price_usd": {
"type": "number"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"urls": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Output schema
{
"type": "object",
"properties": {
"approved": {
"type": "integer"
},
"blocked": {
"type": "integer"
},
"checked": {
"type": "integer"
},
"endpoints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"grade": {
"type": "string"
},
"network": {
"type": "string"
},
"network_name": {
"type": "string"
},
"ok_to_pay": {
"type": "boolean"
},
"pay_to": {
"type": "string"
},
"price_usd": {
"type": "number"
},
"reasons": {
"type": "array"
},
"scheme": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
},
"rules": {
"type": "object",
"properties": {
"budget_usd": {
"type": "number"
},
"max_price_usd": {
"type": "number"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"total_cost_usd": {
"type": "number"
}
}
}curl -i -X POST 'https://x402-tools.com/v1/x402-preflight' \
-H 'content-type: application/json' -d '{"budget_usd":0.02,"max_price_usd":0.01,"networks":["base"],"urls":["https://x402-tools.com/v1/markdown","https://x402-tools.com/v1/image"]}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs