# ChainRay Contract Verify

> ChainRay Contract Verify is a paid API for AI agents from chainray.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Verifies and retrieves verification status and metadata for a smart contract at a given address on a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/contract-verify/:var1
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-contract-verify-91bbcc16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BfpDYlxODHiQuRbM_8yIz

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 chainray-contract-verify-91bbcc16
```

Example prompt: Can you check if the smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is verified on Ethereum and show me its verification details?

## When to prefer this

Use this endpoint when you need to programmatically check whether a smart contract has verified source code on a given blockchain, retrieve its ABI, or validate contract transparency before interacting with it. Prefer this over block explorer manual lookups when automating due diligence, auditing token contracts, or building agent workflows that require knowing if a contract is open and auditable.

## Known failure modes

- Invalid or malformed contract address returns an error or empty result
- Contract not deployed at the given address returns unverified/not found
- Unsupported chain identifier returns an error
- Address is a wallet, not a contract — may return unverified or error
- Network timeout or upstream RPC failure returns 5xx error
- Missing required 'address' query parameter returns 400-level error

## How this service works

ChainRay /contract-verify

## Output

Returns the verification status of the specified smart contract, including whether source code is publicly verified, along with relevant metadata such as compiler version, license, ABI, and possibly source code — all sourced from ChainRay's on-chain intelligence layer.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-contract-verify-91bbcc16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
