# SiteCheck EVM Contract Call

> SiteCheck EVM Contract Call is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-21).

Executes a read-only call on an EVM smart contract function and returns the decoded result

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/evm/call?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-evm-contract-call-948fc8f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YQH8YYEtSn8923uUQp4Tl

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 sitecheck-evm-contract-call-948fc8f7
```

Example prompt: What is the USDC balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? Call the balanceOf(address) function on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

## When to prefer this

Use this endpoint when you need to read data from any EVM-compatible smart contract across Base, Ethereum, Arbitrum, Optimism, or Polygon without sending a transaction. It is ideal for fetching token balances, NFT ownership, on-chain parameters, or any view/pure function result. Prefer this over raw RPC calls when you want a simple REST interface with decoded outputs and no node infrastructure management.

## Known failure modes

- Invalid contract address format returns an error
- Function signature mismatch causes revert or decode failure
- Contract not deployed on specified chain returns an error
- Unsupported chain name returns a validation error
- Malformed args JSON array causes a parse error
- RPC node downtime may cause intermittent failures

## How this service works

Read-only contract call (eth_call): decodes the return value of a function you name, e.g. balanceOf(address) returns (uint256). Nothing is signed or sent. A function whose name reads like a write (transfer, approve, mint, set...) is refused unless it is declared view or pure.

## Output

Returns a JSON object containing the decoded contract return value (result), the output type definitions (outputs array with name and type), the chain queried, contract address, function signature used, arguments passed, the RPC source URL, and a checkedAt timestamp. Also includes a disclaimer noting results are informational only.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "contract",
      "function"
     ],
     "properties": {
      "args": {
       "type": "string",
       "description": "JSON array of arguments, e.g. [\"0xd8dA…\"]"
      },
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism or polygon"
      },
      "contract": {
       "type": "string",
       "description": "Contract address, 0x…"
      },
      "function": {
       "type": "string",
       "description": "Human-readable signature, e.g. balanceOf(address) returns (uint256)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": [
   "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  ],
  "chain": "base",
  "result": "44783666",
  "source": "https://base-rpc.publicnode.com (eth_call, read-only)",
  "outputs": [
   {
    "name": null,
    "type": "uint256"
   }
  ],
  "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "function": "function balanceOf(address) returns (uint256)",
  "checkedAt": "2026-10-14T04:49:19.343Z",
  "disclaimer": "Information only, not financial advice."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-evm-contract-call-948fc8f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
