# Chainlink On-Chain Crypto Price Feed

> Chainlink On-Chain Crypto Price Feed is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Returns real-time USD prices for up to 5 crypto tokens read directly from Chainlink price feed contracts on Ethereum, including feed address, round ID, and data age.

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/crypto-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainlink-on-chain-crypto-price-feed-3338718a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7beGeHM6GFcgfxKEZxHdi

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-on-chain-crypto-price-feed-3338718a
```

Example prompt: What are the current on-chain Chainlink prices for ETH, BTC, and SOL in USD — and how old is each price round?

## When to prefer this

Choose this endpoint when you need on-chain-verifiable crypto prices backed by Chainlink's decentralized oracle network, especially when auditability (feed address + round ID) matters — e.g. for DeFi integrations, smart contract validation, or any scenario requiring a trustless price source. Prefer it over off-chain exchange APIs when provenance and freshness verification are required. Supports batch lookups of up to 5 symbols per call at $0.001 USDC each.

## Known failure modes

- Unknown or retired Chainlink feed symbol — request refused before any charge with an error indicating the feed does not exist
- More than 5 symbols requested — validation error returned
- Malformed symbols query (wrong format or disallowed characters) — 400-level error
- Chainlink feed temporarily unresponsive or stale on-chain — may return an error or elevated round age
- Network congestion on Ethereum causing slow or failed on-chain reads

## How this service works

Crypto token price in USD, read on chain from Chainlink price feeds on Ethereum: pass ?symbols=ETH,BTC,SOL (up to 5) and get each price with its feed address, round id and how old the round is, so the number can be checked. Feeds are found by their public ENS names; a retired or unknown feed is refused before any charge.

## Output

A JSON object mapping each requested symbol to its current USD price as read from the Chainlink price feed on Ethereum, along with the ENS-resolved feed contract address, the round ID of the latest observation, and how many seconds/minutes old that round is.

## 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",
     "properties": {
      "symbol": {
       "type": "string",
       "description": "One ticker (or use symbols)."
      },
      "symbols": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{2,10}(,[A-Za-z0-9]{2,10}){0,4}$",
       "description": "One to five tickers, comma separated: ETH, BTC, SOL, BNB, LINK..."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainlink-on-chain-crypto-price-feed-3338718a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
