# NexusAPI Crypto Contract Read

> NexusAPI Crypto Contract Read is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.039079/call, status unknown (last checked 2026-09-14).

Reads data from a smart contract on a blockchain network by querying its state or methods

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/crypto/contract/read
- Price: $0.039079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-crypto-contract-read-648d0181
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3vvGjQRCDyt0ReVRdAFUx

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 nexusapi-crypto-contract-read-648d0181 -d '<json body>'
```

Example prompt: Can you read the current totalSupply value from the USDC smart contract on Base? The contract address is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

## When to prefer this

Choose this endpoint when you need to read (not write) data from a deployed smart contract without setting up your own blockchain node or RPC infrastructure. Ideal for fetching token balances, contract state variables, allowances, ownership, or any view/pure function output. Prefer this over direct RPC calls when you want a simple pay-per-call model with no API key setup.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Querying a method that doesn't exist on the contract returns a revert or null
- Network unavailable or RPC node issues cause timeout
- Malformed query string results in parsing error
- Contract deployed on a different chain than expected returns no data

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the data output from the smart contract's queried method or state variable, such as numeric values, addresses, booleans, or structured data representing the on-chain state at the time of the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-crypto-contract-read-648d0181/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
