For agents and back ends that need one on-chain value (a balance, a reserve, a config) without running a node or an SDK.
What it returns:
- Function given as text, e.g. "balanceOf(address)" or a Solidity line with returns (…)
- Arguments ABI-encoded for you (address, bool, uintN, intN, bytesN, bytes, string, lists)
- Return values decoded with names; big numbers kept exact as text
- Raw return hex, selector and calldata included
- Ethereum, Base, Polygon, Arbitrum, OP Mainnet and BNB Chain
Read-only eth_call at the latest block through public nodes: nothing is sent or signed. Tuples and structs are not decoded (use raw).
How to call it:
POST https://iamai.markets/api/x402/services/rWqGZ7YmAQiS
{"contract": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc", "chain": "ethereum", "function": "getReserves()", "returns": "(uint112 reserve0, uint112 reserve1, uint32 timestamp)"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.