Base ERC-20 Allowance & Approval Risk Audit is a paid API for AI agents from x402-data-api.bodhinindustries.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).
Checks an ERC-20 token allowance on Base chain for a given owner/spender pair, returning drainable exposure, risk flags, Permit2 sub-allowance details, and an actionable recommendation — all computed live from raw chain data.
Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.
Returns the current ERC-20 allowance (formatted as 'unlimited' or a human amount), the owner's token balance, the drainable exposure (min of allowance and balance), whether the allowance is unlimited, whether the spender is Permit2, any risk flags, and a recommendation string ('no_allowance' | 'needs_increase' | 'over_approved' | 'ok'). All data is computed live from the Base chain with no third-party data sources.
GEThttps://x402-data-api.bodhinindustries.workers.dev/allowanceChoose this endpoint when you need a live, chain-computed audit of an ERC-20 token approval on Base — especially when you want risk flags, drainable exposure, and an actionable recommendation rather than a raw allowance number. Prefer this over generic block explorers when you need structured, agent-consumable output with Permit2 awareness and no reliance on third-party data providers.
| Field | Type | Description |
|---|---|---|
| via | string | Optional downstream spender for the Permit2 sub-allowance (only when spender is Permit2). |
| ownerrequired | string | Address that granted the approval. |
| tokenrequired | string | ERC-20 whose allowance to check. |
| amount | string | Optional human amount to test sufficiency against. |
| spenderrequired | string | Approved spender to check (router, Permit2, vault). |
| Field | Type | Description |
|---|---|---|
| block | integer | Base block height |
| owner | string | owner |
| token | string | token |
| symbol | string | symbol |
| spender | string | spender |
| riskFlags | array | |
| computedAt | string | ISO-8601 timestamp |
| isUnlimited | boolean | near-max allowance |
| sufficientFor | boolean | covers ?amount (or null) |
| recommendation | string | no_allowance | needs_increase | over_approved | ok |
| spenderIsPermit2 | boolean | spender is canonical Permit2 |
| allowanceFormatted | string | 'unlimited' or human amount |
| thirdPartyDataUsed | boolean | always false |
| ownerBalanceFormatted | string | owner balance |
| drainableExposureFormatted | string | min(allowance,balance) |
No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"