# MoneyTools Agent Guide — x402 precheck GET https://api.moneytools.dev/v1/precheck?url= 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. ## When to call - Check a seller before paying: GET https://mcp.moneytools.dev/v1/precheck?url= ($0.005 USDC, eip155:8453) - Confirm a USDC payment arrived: GET https://mcp.moneytools.dev/v1/verify?txHash=<0x..>&network=base&payTo=<0x..>&amount= ($0.005 USDC) - Find a live x402 service for a task: GET https://mcp.moneytools.dev/v1/recommend?task=&maxPrice=0.05&network=base ($0.005 USDC) -> ranked live services, top 3 pre-checked - Route a payment through a non-custodial precheck + relay: https://mcp.moneytools.dev/v1/gateway?url=&maxPrice= (fee max(0.5%, $0.001) in credits, charged only if the seller answers 2xx) - Solana token launch-config check: GET https://mcp.moneytools.dev/v1/sol-mint?mint= ($0.005 USDC) params: mint, ref?. Rule-based safety check of a Solana SPL / Token-2022 mint: mint & freeze authority, permanent delegate, transfer hook/fee, pausable, default-frozen, largest-holder concentration. Returns riskScore 0-100 and verdict low|medium|high. Free demo: https://mcp.moneytools.dev/demo/sol-mint - Web page to Markdown: GET https://mcp.moneytools.dev/v1/read?url= ($0.005 USDC) params: url, maxChars?, ref?. Fetch a public web page and return clean Markdown (title, headings, links, lists, code) with a sha256 of the content. Respects robots.txt, public pages only, 1h cache. Free demo: https://mcp.moneytools.dev/demo/read ## When you are not charged - Malformed input returns HTTP 400 before payment. - Upstream failures (target unreachable, RPC down) return HTTP 5xx and are not settled. - Prepaid credits: 1 credit per successful call; HTTP 400/5xx are not deducted. - Pay Gateway fee is charged only if the seller answers 2xx. - Never charged twice: resending the same signed payment (same payer + EIP-3009 nonce) or the same Idempotency-Key header (per payer + endpoint) returns the stored result with payment.charged=false. - Every paid 200 includes operation_id + result_url (= status_url): GET https://mcp.moneytools.dev/v1/results/ is free for 7 days. - A rejected payment returns HTTP 402 with paymentError.fields naming what did not match: scheme, network, asset, amount, payTo, resource or expiry (plus facilitator reasons: balance, nonce, signature). Fix that field, sign the current accepts[] and resend. ## Total payable before you pay + client-side spend caps - Every unpaid 402 body has totalPayable {priceUsd, platformFeeUsd, totalUsd}. Direct calls to MoneyTools: platformFeeUsd is 0, so totalUsd = accepts[].amount, the exact amount you sign. - Pay Gateway (paying another x402 seller): total = seller price + fee max(0.5% of price, $0.001), rounded up to whole $0.001 credits, from prepaid credits, only on seller 2xx. Free preview: GET https://mcp.moneytools.dev/v1/gateway/plan?url= returns totalPayable {sellerPriceUsd, gatewayFeeUsd, totalUsd}. The step-1 gateway 402 (seller's own terms) carries X-Gateway-Seller-Price-Usd, X-Gateway-Fee-Usd and X-Gateway-Total-Usd headers. - Client-side caps that refuse to sign above them (clear error, nothing signed): npm @moneytools-dev/transcripts and @moneytools-dev/plugin-moneytools, PyPI moneytools-transcripts. Options maxPerCallUsd, maxPerWindowUsd + windowSeconds (Python: max_per_call_usd, max_per_window_usd, window_seconds). Policy-only guard without signing: @moneytools-dev/x402-guard / moneytools-x402-guard (maxUsd, dailyMaxUsd). ## Prices: two tiers only - $0.005 per call: lightweight lookups (precheck, verify, recommend, read, sol-mint here; most tools.moneytools.dev tools; status find/reputation/check; settle spend checks; relay approvals). - $0.02 per call: heavier / composite calls: Wallet Risk Card (https://tools.moneytools.dev/v1/wallet-risk), html-to-markdown, trends/detail, MCP readiness report, Spend Ledger wallet report, model fidelity audit. - Bundles (optional): credits 1 USDC = 1,000 calls (0.10 = 100), monthly plan 1 USDC / 30 days, Batch Pass 0.01 USDC = 20 calls. ## Wallet Risk Card ($0.02) GET https://tools.moneytools.dev/v1/wallet-risk?address=<0x or ENS>&chain=base — one compact JSON card combining this service's OFAC SDN screen (daily refresh), address checks (burn/zero, contract, EIP-7702 delegation) and an open-approvals scan: riskScore 0-100, grade A-F, flags, sanctioned yes/no, approvals summary, sources, timestamp. MCP tool wallet_risk_card (also in this MCP at https://mcp.moneytools.dev/mcp). ## Install with AgentCash (one line) npx agentcash add https://mcp.moneytools.dev Pay for one check in one line (pays from your own AgentCash wallet, USDC on Base; failed checks are not charged): npx agentcash fetch "https://mcp.moneytools.dev/v1/precheck?url=https://example.com/paid&method=GET" Check a route and its price without paying: npx agentcash check https://mcp.moneytools.dev/v1/precheck · discovery lint: npx -y @agentcash/discovery@latest discover https://mcp.moneytools.dev --json (reads https://mcp.moneytools.dev/openapi.json x-payment-info). ## How to pay (x402 v2, USDC on Base) Prices are per endpoint, not a single 0.005 USDC rate. Per-call tools are 0.005 USDC (precheck, verify, recommend, read, sol-mint, and the other $0.005 routes listed above) or 0.02 USDC for composite tools (Wallet Risk Card, html-to-markdown, trends/detail, MCP readiness report, Spend Ledger wallet report, model fidelity audit). Prepaid credits: 100 calls for 0.1 USDC at /v1/credits/buy?pack=100, or 1000 calls for 1 USDC at /v1/credits/buy?pack=1000. Monthly plan at /v1/plan/buy: 1 USDC. The default 402 challenge is x402 v2 (JSON body and PAYMENT-REQUIRED header). A v1 body is returned only when the client sends header X402-Version: 1 or query ?x402Version=1. 1. Call without payment: curl -i -X GET 'https://mcp.moneytools.dev/v1/precheck?url=https://example.com/paid&method=GET' → HTTP 402, header PAYMENT-REQUIRED (base64 JSON; same JSON in the body: accepts[] with scheme exact, network eip155:8453, asset USDC, amount, payTo). 2. Sign one accepts[] entry (EIP-3009 TransferWithAuthorization) with your wallet and resend the same GET or POST with header PAYMENT-SIGNATURE: base64({"x402Version":2,"accepted":{…},"payload":{"signature":"0x…","authorization":{"from","to","value","validAfter","validBefore","nonce"}}}). Payment must be sent as PAYMENT-SIGNATURE on the same GET or POST that received the 402. Do not attach a payment header to HEAD: HEAD never settles a payment (you will get another 402). Legacy v1 clients may send header X-PAYMENT. 3. 200 + PAYMENT-RESPONSE header = paid. Failed calls are not settled. Malformed payment header on GET or POST → HTTP 400 {error: invalid_payload | invalid_exact_evm_payload_signature | …}. JS (any x402 client works): import { wrapFetchWithPayment } from "@x402/fetch"; // + your viem/CDP signer const pay = wrapFetchWithPayment(fetch, signer); const r = await pay("https://mcp.moneytools.dev/v1/precheck?url=https://example.com/paid&method=GET", { method: "GET" }); Python: x402 package (x402.clients.requests / httpx) wraps requests the same way. Guard helper (optional, our own library): npm install @moneytools-dev/x402-guard (0.2.1 on npm) runs this precheck, an advisory spend cap and Approval Relay before your client signs an x402 payment. It never loads a key or sends a payment. MCP: an unpaid paid-tool call returns isError + structuredContent = PaymentRequired; resend tools/call with params._meta["x402/payment"] = the PaymentPayload object; receipt in result._meta["x402/payment-response"]. ## Free tier, credits, and monthly plan - FREE TIER: 5 free calls per day per IP on each /v1 endpoint below. Just call it with parameters and no payment header; response field freeTier.remaining and header x-free-calls-remaining show what is left. After that the endpoint answers HTTP 402 (x402, USDC on Base). MCP: 20 free tool calls per client per day (first call always free; invalid arguments not counted). Slim payment-safety MCP (6 tools): https://mcp.moneytools.dev/mcp/payment-safety — full toolkit: https://mcp.moneytools.dev/mcp. - Python urllib users: set a User-Agent header (e.g. headers={'User-Agent': 'my-agent/1.0'}); on the legacy *.workers.dev host Cloudflare blocks the default Python-urllib UA (403 error 1010); use https://api.moneytools.dev instead. - PREPAID CREDITS (skip per-call payments): 100 calls for 0.1 USDC: GET https://mcp.moneytools.dev/v1/credits/buy?pack=100; 1000 calls for 1 USDC: GET https://mcp.moneytools.dev/v1/credits/buy?pack=1000. First unpaid GET returns HTTP 402 (x402 v2, PAYMENT-REQUIRED; amount is that pack's price, not 0.005 USDC). Sign one accepts[] entry and retry the same GET with header PAYMENT-SIGNATURE. Do not pay with HEAD. A 200 returns an API key once. Then send header X-API-Key: mtk_... on any /v1 endpoint or MCP POST; 1 credit per successful call, 400/5xx not deducted; balance: GET https://mcp.moneytools.dev/v1/credits with the header. Credits are non-refundable and expire after 365 days. - PAY GATEWAY (non-custodial): call https://mcp.moneytools.dev/v1/gateway?url=&maxPrice= with header X-API-Key using the same method/body you would send the seller. You get the seller's own 402 back after our precheck (valid x402 terms, OFAC-screened payTo, price <= maxPrice); sign it with YOUR wallet (payTo = seller) and retry the same gateway URL with your X-PAYMENT/PAYMENT-SIGNATURE header; we verify it matches the prechecked terms and relay it untouched. Fee: max(0.5% of price, $0.001) in credits, charged only if the seller answers 2xx. EVM exact USDC only; we never hold or sign funds. Free preview: https://mcp.moneytools.dev/v1/gateway/plan?url=. Docs: GET https://mcp.moneytools.dev/v1/gateway - Free demo: https://mcp.moneytools.dev/demo/recommend, https://mcp.moneytools.dev/demo/precheck, https://mcp.moneytools.dev/demo/verify (10/hour/IP; call with no or wrong parameters to get usage help + a sample result, not counted) - GATEWAY SPEND CONTROLS (free with credits): caps POST https://mcp.moneytools.dev/v1/gateway/limits {dailyMaxUsd, perCallMaxUsd, fallback}; header Idempotency-Key blocks double payments from retry loops; &fallback=auto switches to the best healthy equivalent seller when yours is down (header X-Gateway-Fallback); receipts GET https://mcp.moneytools.dev/v1/receipts (JSON or ?format=csv). - AI ALLOWANCE SETUP (free, for humans who are new to crypto): GET https://mcp.moneytools.dev/v1/allowance?region=TW|US|other&client=cursor|claude-code|claude-desktop|other&dailyMaxUsd=1&perCallMaxUsd=0.05&lang=zh|en or MCP tool allowance_setup -> 3 steps: own non-custodial wallet (Coinbase Agentic Wallet, email sign-in), top-up routes by region with fees/limits, caps + MCP config + a prompt to paste into the AI. Guide page: https://moneytools.dev/allowance/ · dashboard (spend, caps, receipts by API key): https://moneytools.dev/allowance/dashboard/. We never hold user funds. - FIND an endpoint: MCP tool x402_find_endpoint or https://status.moneytools.dev/v1/find?need= (seller reputation from our probes). - AI SALES PARTNER PROGRAM (affiliates, free to join with a Base wallet, no KYC): earn 20% of our net revenue from buyers you refer for 12 months (plan, credits, per-call x402 here), 20% of the 0.9 USDC Market listing fee, swap-fee claims. Attribution: ?ref=, header X-Ref, or MCP config headers {"X-Ref":""}. Manual USDC payouts on Base (min 5 USDC, each approved by the owner; never automatic); disclose you are paid; no spam. Join: POST https://partners.moneytools.dev/v1/partners · details https://moneytools.dev/partners/ · https://partners.moneytools.dev/llms.txt - Legacy ref=<0x wallet> on api /v1/* still accrues for existing referrers; new referrers should use ref= from the partner program. Machine-readable: /.well-known/partner-program.json - Unpaid paid-route requests get HTTP 402 with a base64 PAYMENT-REQUIRED header; retry with PAYMENT-SIGNATURE signed by your own wallet. Facilitator: CDP facilitator first, PayAI fallback. - MCP (streamable HTTP): POST https://mcp.moneytools.dev/mcp (tools x402_recommend, x402_precheck, x402_verify_settlement, x402_gateway_plan, swap_quote + list_swap_tokens [free non-custodial swap/bridge quotes, also at https://swap.moneytools.dev; 0.25% disclosed fee on same-chain swaps, only if executed], solana_mint_check, web_read_markdown; 20 free tool calls per client per day, first call always free, invalid arguments not counted; unlimited with X-API-Key prepaid credits) - MONTHLY PLAN: GET https://api.moneytools.dev/v1/plan/buy — unpaid GET returns HTTP 402 for 1 USDC (x402 v2, PAYMENT-REQUIRED) on Base; retry the same GET with header PAYMENT-SIGNATURE. Do not pay with HEAD. A 200 returns an API key once, valid 30 days on all paid MoneyTools tools (these /v1 endpoints, all MCP tools, status.moneytools.dev find + reputation, all 100+ tools.moneytools.dev tools). Fair use: 1,000 successful calls per key per UTC day (then 429 until 00:00 UTC). Excludes Pay Gateway 0.5% fees (use prepaid credits) and the 0.25% swap fee. NOT auto-renewing: nothing is charged again; buy again to continue. Status: GET /v1/plan with X-API-Key, or MCP plan_status; MCP plan_buy explains how to buy. - Agent payment-safety suite (recommended path: precheck this seller, then Settle spend/check, then Approval Relay if high-risk, then pay and record on Spend Ledger): https://moneytools.dev/products/payment-safety/. Slim MCP (suite tools only): https://mcp.moneytools.dev/mcp/payment-safety - 100+ more read-only utility tools in the same MCP, served by https://tools.moneytools.dev (own free tier 10/tool/day, then $0.005 via x402 or credits; $0.02 composite tools have no free tier): Wallet Risk Card (wallet_risk_card, $0.02), token safety round-trip, approvals + revoke plan, tx/calldata decoding, EIP-712 signature risk, gas, ENS, x402 validator, HTTP/DNS/RDAP/robots checks, JSON Schema, time/cron, FX/units, hashing, QR payment links, webhook inbox. Docs: https://tools.moneytools.dev/llms.txt · all products: https://moneytools.dev/products/ - A2A: card https://mcp.moneytools.dev/.well-known/agent.json, JSON-RPC message/send at https://mcp.moneytools.dev/a2a (free demo quota) - Status: Payments in USDC on Base mainnet (eip155:8453). - Verdicts: precheck ok|warn|block|not_402; verify valid|invalid|pending|not_found. - Guide (services + referral links, contains referral links): https://moneytools.dev/ ; fee comparison: https://moneytools.dev/fees/ - Canonical API host: https://api.moneytools.dev (MCP also at https://mcp.moneytools.dev/mcp; legacy host https://x402-pay-precheck.moneytools.workers.dev keeps working). Privacy: https://moneytools.dev/privacy/ Terms: https://moneytools.dev/terms/ Support: support@moneytools.dev - Sanctions data: OFAC SDN list, SDN.CSV + SDN_COMMENTS.CSV, https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.CSV (publication 2026-11-20).