Check ERC-20 token allowance
● Liveagentlogic.workers.dev
ERC-20 allowance an owner has granted a spender: raw value and the decimals-applied amount, plus an unlimited flag when the allowance is at or near max uint256. The approval check an agent runs before transacting.
- Price
- $0.001
- Asked in its payment challenge
- Chain
- Base
- Paid in
- USDC
- Live
- 2 of 2 checks
Endpoints
$0.001 asked in its payment challenge on 2 Dec 2026
- tokenquery, required0x833589fcd6edb6e08f4c7C32D4f71b54bda02913
- ownerquery, required0x0000000000000000000000000000000000000000
- spenderquery, required0x0000000000000000000000000000000000000000
- chainquerybase
curl -i 'https://chain-data-api.agentlogic.workers.dev/allowance?chain=base&owner=0x0000000000000000000000000000000000000000&token=0x833589fcd6edb6e08f4c7C32D4f71b54bda02913&spender=0x0000000000000000000000000000000000000000'
24 more endpoints · on x402 Bazaar
Checks and payment terms on this page refer to the first endpoint's example. Other endpoints have not been checked individually.
Base URLhttps:
- GET/balance$0.001Native token balance of an address: balanceWei and the decimals-applied balance.
2 parameters and an example
- chainquerybase
- addressquery, required0x0000000000000000000000000000000000000000
curl -i 'https://chain-data-api.agentlogic.workers.dev/balance?chain=base&address=0x0000000000000000000000000000000000000000'
- GET/balances$0.003An address's native token balance on all five supported chains in one call. Per-chain fault tolerance: a chain whose RPC is down reports an error entry instead of failing the other four.
1 parameter and an example
- addressquery, required0x0000000000000000000000000000000000000000
curl -i 'https://chain-data-api.agentlogic.workers.dev/balances?address=0x0000000000000000000000000000000000000000'
- GET/block$0.001Latest block: number, hash, timestamp, transaction count, base fee, gas used and limit.
1 parameter and an example
- chainquery
curl -i 'https://chain-data-api.agentlogic.workers.dev/block'
- GET/block-by-number$0.001Any block by its number: hash, timestamp, transaction count, base fee, gas used and limit. A number beyond the chain tip answers found: false.
2 parameters and an example
- chainquerybase
- numberquery, required38400000
curl -i 'https://chain-data-api.agentlogic.workers.dev/block-by-number?chain=base&number=38400000'
- GET/btc-balance$0.002Bitcoin address balance: confirmed balance in sats and BTC, unconfirmed (mempool) balance, funded and spent totals, and transaction count.
1 parameter and an example
- addressquery, required1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-balance?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'
- GET/btc-block$0.001Bitcoin chain tip: latest block height and hash, plus the latest block's timestamp, transaction count, size and weight.
Example
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-block'
- GET/btc-fees$0.001Recommended Bitcoin fee rates in sat/vB: fastest, half hour, hour, economy and minimum.
Example
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-fees'
- GET/btc-mempool$0.001Bitcoin mempool summary: transaction count, total vsize, total fees, and a compact fee-rate histogram summary (bucket count plus min and max rate) without the raw histogram.
Example
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-mempool'
- GET/btc-tx$0.002Bitcoin transaction summary: confirmation status, block height, fee and fee rate, size, input and output counts, and total output value. Unknown txids answer found: false.
1 parameter and an example
- txidquery, required4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-tx?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b'
- GET/btc-txs$0.002Recent transactions for a Bitcoin address, newest first (limit defaults to 10, max 25): txid, confirmation, block height and time when confirmed, fee, and value in, value out and net relative to the address when derivable (null for a coinbase input).
2 parameters and an example
- limitquery10
- addressquery, required1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-txs?limit=10&address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'
- GET/btc-utxos$0.002A Bitcoin address's current UTXO set: each unspent output with its value and confirmation state, plus set totals (capped at 100 entries with truncation stated; totals always cover the full set).
1 parameter and an example
- addressquery, required1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
curl -i 'https://chain-data-api.agentlogic.workers.dev/btc-utxos?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'
- GET/cost-basis$0.10Premium UTXO cost basis and unrealized P&L report for a Bitcoin address: current UTXOs with per-UTXO basis traced through lineage (single-input carry-forward, pro-rata fan-in blending) against Bitstamp daily BTC prices, current value at the live price, unrealized P&L, age and long/short holding flag, plus address totals. Provenance breaks (CoinJoin-like funding, untraceable inputs) are flagged per UTXO with a receipt-price fallback. Estimates from on-chain receipt values, not tax advice.
1 parameter and an example
- addressquery, required1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
curl -i 'https://chain-data-api.agentlogic.workers.dev/cost-basis?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'
- GET/ens$0.003ENS forward resolution on Ethereum mainnet; pass an address instead of a name for the reverse (primary name) lookup.
2 parameters and an example
- namequery, requiredvitalik.eth
- chainquery
curl -i 'https://chain-data-api.agentlogic.workers.dev/ens?name=vitalik.eth'
- GET/gas$0.001Current gas price (wei and gwei), base fee, priority fee suggestion and suggested max fee.
1 parameter and an example
- chainquery
curl -i 'https://chain-data-api.agentlogic.workers.dev/gas'
- GET/ln-decode$0.002Decode a BOLT11 invoice locally (no external service): payment hash, destination public key (payee field or recovered from the signature), amount in sats when present, timestamp, expiry, and description or description hash. Malformed invoices answer 400.
1 parameter and an example
- invoicequery, requiredlnbc2500u1pvjluez...
curl -i 'https://chain-data-api.agentlogic.workers.dev/ln-decode?invoice=lnbc2500u1pvjluez...'
- GET/ln-node$0.002Lightning node lookup: alias, capacity, channel counts, first seen and last updated, and city and country when the node announces them. Unknown pubkeys answer found: false.
1 parameter and an example
- pubkeyquery, required03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f
curl -i 'https://chain-data-api.agentlogic.workers.dev/ln-node?pubkey=03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f'
- GET/ln-stats$0.002Lightning Network totals: channel count, node count, total capacity (sats and BTC), average and median channel capacity, and node network breakdown.
Example
curl -i 'https://chain-data-api.agentlogic.workers.dev/ln-stats'
- GET/sol-balance$0.002Solana address balance: lamports and the decimals-applied SOL balance, with the slot the read was taken at.
1 parameter and an example
- addressquery, required11111111111111111111111111111111
curl -i 'https://chain-data-api.agentlogic.workers.dev/sol-balance?address=11111111111111111111111111111111'
- GET/sol-tx$0.002Solana transaction lookup by signature: slot, block time, fee, success or failed status with the error when failed, and a compact summary. Unknown signatures answer found: false.
1 parameter and an example
- signaturequery, required5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiURkQU
curl -i 'https://chain-data-api.agentlogic.workers.dev/sol-tx?signature=5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiURkQU'
- GET/token-balance$0.002ERC-20 balance of an address for one token: raw value and the decimals-applied balance.
3 parameters and an example
- chainquerybase
- tokenquery, required0x833589fcd6edb6e08f4c7C32D4f71b54bda02913
- addressquery, required0x0000000000000000000000000000000000000000
curl -i 'https://chain-data-api.agentlogic.workers.dev/token-balance?chain=base&token=0x833589fcd6edb6e08f4c7C32D4f71b54bda02913&address=0x0000000000000000000000000000000000000000'
- GET/token-info$0.002ERC-20 metadata: name, symbol, decimals and total supply (raw and formatted).
2 parameters and an example
- chainquerybase
- tokenquery, required0x833589fcd6edb6e08f4c7C32D4f71b54bda02913
curl -i 'https://chain-data-api.agentlogic.workers.dev/token-info?chain=base&token=0x833589fcd6edb6e08f4c7C32D4f71b54bda02913'
- GET/token-price$0.003A token's spot price in USD computed on-chain from Uniswap V2/V3 liquidity against the chain's wrapped native token and major stablecoins (no external price API): the price, the pair or pool used, its reserves as a depth signal, and an honest spot-price note. No usable pool answers found: false, never a fabricated price.
2 parameters and an example
- chainquerybase
- tokenquery, required0x4200000000000000000000000000000000000006
curl -i 'https://chain-data-api.agentlogic.workers.dev/token-price?chain=base&token=0x4200000000000000000000000000000000000006'
- GET/tx$0.002Transaction summary plus receipt status (success, failed, pending) and gas used. Unknown hashes answer found: false.
2 parameters and an example
- hashquery, required0x0000000000000000000000000000000000000000000000000000000000000000
- chainquerybase
curl -i 'https://chain-data-api.agentlogic.workers.dev/tx?hash=0x0000000000000000000000000000000000000000000000000000000000000000&chain=base'
- GET/wallet-profile$0.005Agent trust read on a wallet: native balance, outgoing transaction count (nonce), code-presence flag (eth_getCode), non-zero balances of well-known tokens (plus any tokens named in the tokens parameter), and a wallet-age estimate derived from the first outgoing transaction block, honestly null with the reason stated when it cannot be derived. Know your counterparty before your agent pays.
3 parameters and an example
- chainquerybase
- tokensquery
- addressquery, required0x0000000000000000000000000000000000000000
curl -i 'https://chain-data-api.agentlogic.workers.dev/wallet-profile?chain=base&address=0x0000000000000000000000000000000000000000'
A dash means the listing gives no price or method. {Braces} mark a value you fill in. Copy buttons copy an example URL.
Agents can find it through the Superstables MCP server and JSON API: GET /api/v1/services/chain-data-api.agentlogic.workers.dev
Recent checks
- Median response
- 251 ms
- Last checked
- 2 Dec, 21:24 UTC
Our probes look for a payment challenge. They don't test payment or delivery.
All 2 checks
| When (UTC) | Result | HTTP | Response |
|---|---|---|---|
| 2 Dec, 21:24 UTC | Live | 402 | 282ms |
| 1 Dec, 00:25 UTC | Live | 402 | 219ms |
Questions
Did our last probe detect a payment challenge?
At our last probe on 2 Dec, 21:24 UTC, it returned HTTP 402 or another detected payment-challenge signal.
What payment terms does Chain Data API advertise?
The listing advertises x402, Base and USDC. It names cdp as its facilitator. Check the seller's current payment challenge and authentication requirements before paying.
Something wrong on this page? Tell us.