{"slug":"api-macaroonnetwork-com-execute-erc20-balance-v1-046dc9","title":"One wallet's balance of one ERC-20 token on Base or Ethereum","host":"api.macaroonnetwork.com","method":"POST","resource":"https://api.macaroonnetwork.com/execute/erc20-balance-v1","category":"code","description":"One wallet's balance of one ERC-20 token on Base or Ethereum: exact integer raw amount, decimal string, decimals and symbol, all read at a single stated block. Rejects addresses that are not ERC-20 contracts instead of returning a misleading zero.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":331,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wallet":"0x33cC8dE6e86761D217044a8a6B394aD23b579596"},"predicate":{"conditions":[{"field":"$.chain_id","operator":"in","type":"field_changed","value":[8453,1]},{"field":"$.block_number","operator":"gte","type":"field_changed","value":1},{"field":"$.raw","type":"count_gte","value":1},{"field":"$.balance","type":"count_gte","value":1},{"field":"$.decimals","operator":"gte","type":"field_changed","value":0},{"duration_hours":1,"field":"$.retrieved_at","type":"within"}],"type":"all"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":324,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":332,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":326,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":342,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":323,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":336,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":331,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":341,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":329,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":339,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":335,"error":null}],"description_full":"One wallet's balance of one ERC-20 token on Base or Ethereum: exact integer raw amount, decimal string, decimals and symbol, all read at a single stated block. Rejects addresses that are not ERC-20 contracts instead of returning a misleading zero.","last_updated":"2026-11-22T07:59:55.295Z","schemes":["exact"]}