# ChainRay NFT Contract Lookup

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

Retrieves on-chain NFT collection data for a given contract address on a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/nft/:var1
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-nft-contract-lookup-98119f15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2z03gqEoV8NntrLBMAEjl

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-nft-contract-lookup-98119f15
```

Example prompt: Pull the on-chain NFT collection data for contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum using ChainRay.

## When to prefer this

Use this endpoint when you need authoritative on-chain NFT collection data by contract address, especially when working with specific chains beyond Ethereum. Prefer this over general NFT APIs when you need raw blockchain intelligence rather than marketplace-curated metadata.

## Known failure modes

- Invalid or malformed contract address returns an error or empty result
- Unsupported blockchain network for the chain parameter causes a failure
- Contract address exists but is not an NFT contract may return unexpected data
- Network timeouts if the specified chain is congested or unavailable
- Missing required contract query parameter returns a 400-level error

## How this service works

ChainRay /nft

## Output

Returns on-chain data and metadata about the NFT collection associated with the provided contract address, such as collection name, token details, ownership info, and other blockchain-native attributes available for that contract on the specified chain.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-nft-contract-lookup-98119f15/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)
