# Chainlink Price Feeds via SiteCheck Crypto & Finance

> Chainlink Price Feeds via SiteCheck Crypto & Finance is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns the latest Chainlink oracle price feed data for a crypto pair (e.g. ETH/USD or BTC/USD) directly from the on-chain aggregator contract.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/chainlink-price-feeds?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainlink-price-feeds-via-sitecheck-crypto-finance-466b4fd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wh4SzTvjsmELocbU0zVf6

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 chainlink-price-feeds-via-sitecheck-crypto-finance-466b4fd2
```

Example prompt: What's the current ETH/USD price from the Chainlink oracle? Pull the latest on-chain feed data including the price, when it was last updated, and how old the data is.

## When to prefer this

Choose this endpoint when you need trustless, on-chain Chainlink oracle price data for ETH or BTC with full round metadata (round ID, aggregator address, timestamps, age). Prefer it over centralized exchange APIs when decentralization, source verifiability, or DeFi protocol compatibility matters. Ideal for agents that need to verify prices against what DeFi protocols see on-chain, or audit oracle freshness. No API key or signup required — pay per call via x402/USDC.

## Known failure modes

- Invalid or unsupported feed symbol returns an error (only 'eth-usd' and 'btc-usd' are supported)
- Public RPC node unavailability may cause upstream timeout errors
- Stale data if Chainlink aggregator has not updated recently (reflected in ageSeconds, not an API error)
- Payment failure (x402) results in no charge and no data returned

## How this service works

Chainlink on-chain price feed (ETH/USD or BTC/USD, Ethereum mainnet): latest round answer in USD, round id, and the start and update times with the age of the last update in seconds. Only the two feeds listed here are supported. Heartbeat and deviation thresholds are not reported.

## Output

Returns a JSON object with the feed name (e.g. 'eth-usd'), the human-readable pair ('ETH / USD'), the RPC source URL, the Chainlink round ID, decimal precision, the USD price as a float, the checkedAt/startedAt/updatedAt timestamps, the age of the data in seconds, and the on-chain aggregator contract address.

## 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": [],
     "properties": {
      "feed": {
       "type": "string",
       "description": "eth-usd or btc-usd (default eth-usd)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "feed": "eth-usd",
  "pair": "ETH / USD",
  "source": "https://ethereum-rpc.publicnode.com",
  "roundId": "129127208515966896232",
  "decimals": 8,
  "answerUsd": 2392.82207741,
  "checkedAt": "2026-10-23T09:36:00.745Z",
  "startedAt": "2026-10-23T09:26:18.000Z",
  "updatedAt": "2026-10-23T09:26:35.000Z",
  "ageSeconds": 565,
  "aggregator": "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainlink-price-feeds-via-sitecheck-crypto-finance-466b4fd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
