# Pocket Network Chainlink Price Feed Oracle

> Pocket Network Chainlink Price Feed Oracle is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Returns Chainlink on-chain price feed data (latest answer, feed address, update time) for ETH/USD on Ethereum, BTC/USD on Ethereum, or MATIC/USD on Polygon

## Facts

- Endpoint: POST https://agent.pocket.network/v1/token-price-oracles?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-chainlink-price-feed-oracle-6852b106
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0Pppj51O2PNkbOZZ220pH

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 pocket-network-chainlink-price-feed-oracle-6852b106 -d '<json body>'
```

Example prompt: What's the current ETH/USD price from the Chainlink oracle on Ethereum mainnet? I also need the feed address and when it was last updated.

## When to prefer this

Choose this endpoint when you need on-chain Chainlink oracle prices for ETH/USD, BTC/USD, or MATIC/USD without requiring an API key or account — ideal for permissionless, pay-per-use agent workflows where decentralized price provenance matters. Prefer over centralized exchange price APIs when DeFi-grade oracle data with a verifiable feed address is needed.

## Known failure modes

- 400 Bad Request if an unsupported pair is requested (anything other than ETH/USD, BTC/USD, MATIC/USD)
- 400 Bad Request if chain_id does not match the pair (e.g. MATIC/USD with chain_id 1)
- 402 Payment Required if USDC payment is not provided
- Stale data if the underlying Chainlink feed has not been updated recently
- Network errors if Pocket Network RPC nodes are unavailable

## How this service works

Chainlink price feed reads for three pairs: ETH/USD and BTC/USD on Ethereum (chain 1) and MATIC/USD on Polygon (chain 137). POST /v1/price with {pair, chain_id} and get the latest answer, feed address and update time. Any other pair answers 400. Pay per request in USDC; no account, no API key.

## Output

Returns the latest Chainlink oracle price answer (as a raw integer with decimals), the on-chain feed contract address, and the timestamp of the last price update for the requested pair and chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "enum": [
    "ETH/USD",
    "BTC/USD",
    "MATIC/USD"
   ],
   "type": "string",
   "description": "The price pair."
  },
  "chain_id": {
   "enum": [
    1,
    137
   ],
   "type": "integer",
   "description": "1 for ETH/USD and BTC/USD, 137 for MATIC/USD."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-chainlink-price-feed-oracle-6852b106/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
