SpendGate scores a planned payment and returns a verdict: approve, ask a human, or block. It does not hold funds and it does not pay the merchant. Your agent still decides whether to send the money.
Do not pay yet. Ask a human to confirm this spend.
The amount penalty is min(75, round(25 × log10(1 + usd))). A missing or unknown merchant lowers the score further. Known hosts on /v1/policy stay known with no network call. Other domains, https URLs, and 0x payees are checked with PayCheck. If PayCheck is down, the local merchant rules still apply.
crypto_transfer, irreversible, and gift_card are high. api_call, saas, and infra are medium. status_check is low. Anything else is unknown.
Over a budget you pass in, the verdict is block. A PayCheck block is also do not pay. Strictly under $1, it is approve, unless one of those block rules fires first.
Pass from_wallet. A published Hardhat, Anvil, or other public dev account is block (dev_wallet). A wallet that is not allowlisted is block (unauthorized_wallet). A wallet with no allowlist is ask_human (wallet_unverified). Leave the wallet off and the score is unchanged.
$19/mo for higher limits, spend policies, and alerts. The waitlist does not charge you and does not send email.
curl -s $ORIGIN/v1/score \
-H 'content-type: application/json' \
-d '{"amount":12,"currency":"USDC","category":"api_call","merchant":"https://api.openai.com","agent_id":"planner"}'
MCP tools score_spend, get_quota, get_api_key, and set_wallet_allowlist live at /.well-known/mcp. Agent notes are in llms.txt.
This free call returns block with reason unauthorized_wallet. The payer is not the allowlisted account, and $0.40 would otherwise approve under the micro threshold.
curl -s 'https://spendgate.toolweather.workers.dev/v1/score?src=x' \
-H 'content-type: application/json' \
-d '{"amount":0.4,"currency":"USDC","category":"crypto_transfer","purpose":"deploy on sepolia","from_wallet":"0x2222222222222222222222222222222222222222","allowed_wallets":["0x3333333333333333333333333333333333333333"]}'