# ChainRay NFT Token Metadata Lookup

> ChainRay NFT Token Metadata 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-15).

Fetches on-chain metadata and details for a specific NFT token by contract address and token ID on a given blockchain network

## Facts

- Endpoint: GET https://chainray.online/nft/%7Bcontract%7D/%7BtokenId%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-nft-token-metadata-lookup-fcf9e2f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LTqH0hFEYynWXChtmFWBs

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-token-metadata-lookup-fcf9e2f3
```

Example prompt: Can you look up the metadata and attributes for NFT token ID 1234 from contract address 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum?

## When to prefer this

Use this endpoint when you need on-chain NFT token-level metadata for a specific token ID and contract address. Prefer this over general blockchain explorers when you need structured, agent-ready JSON output across 46 supported chains with pay-per-request pricing and no subscription required.

## Known failure modes

- Invalid or non-existent contract address returns error
- Token ID not found or out of range for the collection
- Unsupported blockchain network specified
- Payment not fulfilled results in 402 response
- Contract address is not an NFT contract
- Network congestion may delay response

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns on-chain metadata for the specified NFT token, including traits/attributes, ownership info, image URI, collection details, and other token-level properties for the given contract and token ID on the specified chain.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum",
   "tokenId": "1",
   "contract": "0x1234567890123456789012345678901234567890"
  }
 }
}
```

## 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-token-metadata-lookup-fcf9e2f3/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)
