x402 Pay Precheck
x402 uç noktalarına ödeme yapan AI ajanları için ödeme öncesi güvenlik kontrolü: ödeme yapmadan önce payTo, tutar, ağ ve uç nokta riskini doğrular. Base mainnet USDC.
Barındırılan MCP Sunucusu
npx add-mcp 'https://x402-pay-precheck.moneytools.workers.dev/mcp'Claude Code, Codex, Cursor ve daha fazlasına kurulur
Dokümantasyon
GET https://api.moneytools.dev/v1/precheck?url=<endpoint> before an agent pays an unfamiliar x402 seller. The response checks the endpoint's 402 terms (network, amount, asset, payTo) and OFAC-screens payTo, then returns a verdict of ok, warn, block, or not_402. Price: 0.005 USDC on Base via x402. Also ranks live x402 services for a task, verifies settlements, checks Solana mint launch-config, converts a web page to Markdown, and offers a non-custodial Pay Gateway (fee only if the seller answers 2xx). Swap/bridge quotes via LI.FI. Then x402 pay-per-call or X-API-Key credits. Referral: 20% of net revenue on every paid endpoint.
Machine-readable: JSON service info · OpenAPI · llms.txt · /.well-known/x402 · MCP: https://mcp.moneytools.dev/mcp
{
"service": "MoneyTools x402 Precheck — check a seller's 402 terms and OFAC-screen payTo",
"version": "2.11.19",
"description": "GET https://api.moneytools.dev/v1/precheck?url=<endpoint> before an agent pays an unfamiliar x402 seller. The response checks the endpoint's 402 terms (network, amount, asset, payTo) and OFAC-screens payTo, then returns a verdict of ok, warn, block, or not_402. Price: 0.005 USDC on Base via x402. Also ranks live x402 services for a task, verifies settlements, checks Solana mint launch-config, converts a web page to Markdown, and offers a non-custodial Pay Gateway (fee only if the seller answers 2xx). Swap/bridge quotes via LI.FI. Then x402 pay-per-call or X-API-Key credits. Referral: 20% of net revenue on every paid endpoint.",
"endpoints": {
"precheck": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/precheck",
"method": "GET|POST",
"params": "url (required), method (GET|POST)",
"priceUsd": "0.005"
},
"verify": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/verify",
"method": "GET|POST",
"params": "txHash, network (base|base-sepolia|polygon|arbitrum|avalanche|bsc or CAIP-2), payTo, amount|amountAtomic, from?, match?=exact|atLeast, minConfirmations?=2, maxAgeSeconds?, asset?, decimals?",
"priceUsd": "0.005"
},
"recommend": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/recommend",
"method": "GET|POST",
"params": "task (required, free text), maxPrice? (USD), network? (base|CAIP-2), limit? (1-10), liveOnly?=true",
"priceUsd": "0.005"
},
"solmint": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/sol-mint",
"method": "GET|POST",
"params": "mint, ref?",
"priceUsd": "0.005",
"demo": "https://x402-pay-precheck.moneytools.workers.dev/demo/sol-mint"
},
"read": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/read",
"method": "GET|POST",
"params": "url, maxChars?, ref?",
"priceUsd": "0.005",
"demo": "https://x402-pay-precheck.moneytools.workers.dev/demo/read"
},
"gateway": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/gateway?url=<seller x402 endpoint>&maxPrice=<USD>",
"altHost": "https://pay.moneytools.dev/v1/gateway",
"method": "GET|POST (same as the seller)",
"auth": "X-API-Key (prepaid credits)",
"fee": "max(0.5%, $0.001) in credits, only when the seller answers 2xx",
"plan": "https://x402-pay-precheck.moneytools.workers.dev/v1/gateway/plan?url=",
"note": "non-custodial: your own wallet pays the seller directly; we precheck and relay"
},
"credits": {
"buy": "https://x402-pay-precheck.moneytools.workers.dev/v1/credits/buy?pack=1000",
"balance": "https://x402-pay-precheck.moneytools.workers.dev/v1/credits",
"method": "GET|POST",
"packs": [
{
"credits": 100,
"priceUsd": "0.1"
},
{
"credits": 1000,
"priceUsd": "1"
}
],
"header": "X-API-Key: mtk_... (or Authorization: Bearer mtk_...)",
"note": "pay once via x402, then 1 credit per paid call on any /v1 endpoint or MCP tool"
},
"referral": {
"url": "https://x402-pay-precheck.moneytools.workers.dev/v1/referral/{address}",
"method": "GET",
"priceUsd": "0",
"note": "free: referral earnings"
},
"partners": {
"join": "https://partners.moneytools.dev/v1/partners",
"program": "https://partners.moneytools.dev/program.json",
"page": "https://moneytools.dev/partners/",
"attribution": "?ref=<mt-code> or header X-Ref: <mt-code>",
"note": "AI sales-partner program: 20% of net revenue for 12 months; manual owner-approved USDC payouts >= 5 USDC"
},
"demo": {
"recommend": "https://x402-pay-precheck.moneytools.workers.dev/demo/recommend",
"precheck": "https://x402-pay-precheck.moneytools.workers.dev/demo/precheck",
"verify": "https://x402-pay-precheck.moneytools.workers.dev/demo/verify",
"solmint": "https://x402-pay-precheck.moneytools.workers.dev/demo/sol-mint",
"read": "https://x402-pay-precheck.moneytools.workers.dev/demo/read",
"freePerHourPerIp": 10
},
"freeTier": {
"callsPerDayPerIpPerEndpoint": 5,
"how": "Call any /v1 paid endpoint with its parameters and no payment header; the JSON reply has freeTier.remaining (also header x-free-calls-remaining). When it reaches 0 you get the normal HTTP 402 x402 challenge.",
"resets": "00:00 UTC"
}
},
"payment": {
"protocol": "x402",
"x402Version": 2,
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"payTo": "0x64eB63904Cf9688AC5B3087A72AcF9C31a273169",
"facilitator": "cdp+payai",
"facilitatorUrl": "https://api.cdp.coinbase.com/platform/v2/x402",
"paywall": true
},
"referralProgram": {
"name": "Referral revenue share",
"sharePct": 20,
"howTo": "Add ref=<your 0x Base wallet> as a query parameter (or X-Referrer header) to any paid /v1/* call you route here (precheck, verify, recommend, sol-mint, read).",
"terms": "Referrer accrues 20% of net revenue (amount received minus facilitator and gas fees) from referred paid calls that settle successfully on Base mainnet. Tracked off-chain (ref + ledger), settled monthly. Self-referral is not credited. Payouts are batched and sent manually in USDC on Base after owner review, minimum 1 USDC unpaid balance (smaller balances roll over); no automatic payouts. Check earnings free at GET /v1/referral/{address}."
},
"prepaidCredits": {
"available": true,
"what": "Pay once, skip per-call payments: buy an API key with a call balance in a single x402 payment (USDC on Base), then send header X-API-Key on any paid /v1 endpoint or MCP tool call.",
"packs": [
{
"credits": 100,
"priceUsd": "0.1",
"perCallUsd": 0.001,
"buy": "https://x402-pay-precheck.moneytools.workers.dev/v1/credits/buy?pack=100"
},
{
"credits": 1000,
"priceUsd": "1",
"perCallUsd": 0.001,
"buy": "https://x402-pay-precheck.moneytools.workers.dev/v1/credits/buy?pack=1000"
}
],
"use": "Header X-API-Key: mtk_... (or Authorization: Bearer mtk_...). 1 credit = 1 successful call on any /v1 endpoint; input errors (400) and upstream failures (5xx) are not deducted.",
"balance": "https://x402-pay-precheck.moneytools.workers.dev/v1/credits (GET with X-API-Key, free)",
"validDays": 365,
"terms": "Key is shown once and stored by us only as a SHA-256 hash; lost keys cannot be recovered. Credits are non-refundable, non-transferable, expire 365 days after purchase. We record the paying wallet and settlement tx for support. Payments go to the MoneyTools team wallet via the PayAI facilitator."
},
"batchPass": {
"buy": "https://tools.moneytools.dev/v1/pass/buy",
"priceUsd": "0.01",
"calls": 20,
"coversToolPriceUsd": "0.005",
"header": "X-MoneyTools-Pass",
"note": "one payment, no per-call signing on $0.005 tools.moneytools.dev tools"
},
"endpointWatch": {
"buy": "https://tools.moneytools.dev/v1/watch",
"priceUsd": "0.50",
"days": 30,
"note": "hourly uptime + valid x402 PAYMENT-REQUIRED monitor for one endpoint; optional webhook"
},
"monthlyPlan": {
"available": true,
"priceUsd": "1",
"days": 30,
"fairUseCapPerDay": 1000,
"buy": "https://x402-pay-precheck.moneytools.workers.dev/v1/plan/buy",
"status": "https://x402-pay-precheck.moneytools.workers.dev/v1/plan (GET with X-API-Key, free)",
"covers": "all paid MoneyTools tool calls: api.moneytools.dev /v1 endpoints (precheck, verify, recommend, read, sol-mint), the main MCP tools, status.moneytools.dev find + reputation, and all 100+ tools.moneytools.dev tools",
"excludes": "Pay Gateway 0.5% fees (need prepaid credits) and the 0.25% on-chain swap fee",
"terms": "One x402 payment of 1 USDC (Base) = 30 days from activation. NOT auto-renewing: nothing is charged again; to continue, buy again. Fair-use cap 1000 successful calls per key per UTC day (then HTTP 429 until 00:00 UTC; failed calls do not count). Key shown once, stored only as a SHA-256 hash; non-refundable, non-transferable."
},
"sanctionsList": {
"source": "OFAC SDN list, SDN.CSV + SDN_COMMENTS.CSV, https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.CSV",
"publication": "2026-11-12",
"lastModified": "2026-11-13T16:33:06Z",
"retrievedAt": "2026-11-18T01:47:41Z",
"lastUpdated": "2026-11-18T01:47:41Z",
"coverage": "OFAC SDN digital currency addresses only (remarks 'Digital Currency Address - <CCY> <addr>'). Not UN/EU/UK lists.",
"count": 1064,
"origin": "box script (scripts/update-ofac.py --push)"
},
"discovery": {
"a2a": "https://x402-pay-precheck.moneytools.workers.dev/a2a",
"mcp": "https://x402-pay-precheck.moneytools.workers.dev/mcp",
"agentCard": "https://x402-pay-precheck.moneytools.workers.dev/.well-known/agent.json",
"x402": "https://x402-pay-precheck.moneytools.workers.dev/.well-known/x402",
"llms": "https://x402-pay-precheck.moneytools.workers.dev/llms.txt"
},
"notes": [
"Payments in USDC on Base mainnet (eip155:8453).",
"Malformed input returns 400 before payment.",
"Upstream failures (target unreachable, RPC down) return 5xx and are not settled.",
"Automated technical check; not legal or compliance advice."
]
}