# eth_call Read-Only EVM Contract Call

> eth_call Read-Only EVM Contract Call is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Executes a read-only (view/pure) smart contract call on Ethereum, Base, Arc, or BNB Chain and returns the raw result

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/evm-call?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eth-call-read-only-evm-contract-call-1bc2c2c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_guFsKrtaYj_WuUZQuIaGy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eth-call-read-only-evm-contract-call-1bc2c2c8
```

Example prompt: Call the balanceOf function on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — give me the raw hex result.

## When to prefer this

Use this endpoint when you need to read on-chain contract state across Ethereum, Base, Arc, or BNB Chain without running your own node or paying gas. It is ideal for agents that need to query ERC-20 balances, DeFi reserves, NFT ownership, or any other view/pure Solidity function. Prefer it over a full Web3 provider integration when you want a simple pay-per-call REST interface. Not appropriate for state-changing transactions — this is strictly read-only.

## Known failure modes

- Invalid contract address format returns validation error
- Malformed or too-short calldata hex rejected by schema pattern
- Contract call reverts — returned with reverted:true and empty result
- Unsupported chain value (not ethereum/base/arc/bnb) causes request rejection
- Contract does not exist at the specified address on the chosen chain
- Payment of 0.001 USDC not completed — x402 payment required error
- RPC node timeout or network congestion causes delayed or failed response

## How this service works

Free APEX on X1, and free USDC plus APEX on Arc, three times a day. No gas, no sign-up. Plus a swap, a screener, APEX City and token checks.

## Output

A JSON object with 'ok' boolean, and a 'data' object containing: 'ok' status, 'to' (contract address), 'block' (block number), 'chain' (network name), 'result' (raw hex return value), 'reverted' (boolean indicating if the call reverted), and 'blockTime' (ISO timestamp of the block). Also includes 'paid' showing the USDC amount charged (0.001).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "to",
      "data"
     ],
     "properties": {
      "to": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Contract to call."
      },
      "data": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{8,}$",
       "description": "Hex calldata: 4-byte selector plus ABI-encoded arguments."
      },
      "from": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optional caller address."
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arc",
        "bnb"
       ],
       "type": "string",
       "description": "Chain to read: ethereum, base, arc or bnb. Default ethereum."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "data": {
    "type": "object"
   },
   "paid": {
    "type": "number"
   }
  }
 },
 "example": {
  "ok": true,
  "data": {
   "ok": true,
   "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "block": 52559424,
   "chain": "base",
   "result": "0x0000000000000000000000000000000000000000000000000000000000000006",
   "reverted": false,
   "blockTime": "2026-10-13T16:16:35.000Z"
  },
  "paid": 0.001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eth-call-read-only-evm-contract-call-1bc2c2c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
