# AgentFund Chainlink Oracle Price Feed

> AgentFund Chainlink Oracle Price Feed is a paid API for AI agents from x402.agentfund.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches the current on-chain oracle price for a named trading pair or Chainlink feed address on a specified blockchain

## Facts

- Endpoint: POST https://x402.agentfund.net/x402/onchain_oracle_price
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfund-chainlink-oracle-price-feed-5ce1bb79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S1pLd7EA2WOaproDQICiZ

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 agentfund-chainlink-oracle-price-feed-5ce1bb79 -d '<json body>'
```

Example prompt: What's the current Chainlink oracle price for ETH/USD on Base right now?

## When to prefer this

Use this endpoint when you need a verified, tamper-resistant on-chain oracle price from Chainlink for a specific asset pair, especially for DeFi applications, smart contract logic, or any use case requiring blockchain-native price data rather than centralized exchange prices. Prefer this over CEX-based price APIs when on-chain verifiability matters.

## Known failure modes

- Unknown or unsupported trading pair name returns an error or empty result
- Invalid feed address returns a lookup failure
- Unsupported chain name causes a rejection or defaults unexpectedly to Base
- Network or RPC issues on the target chain can cause latency or timeouts
- Stale feed data may be returned if the Chainlink oracle has not updated recently
- Payment failure (402) if USDC balance is insufficient

## How this service works

Chainlink Oracle Price

## Output

Returns the current oracle price for the requested trading pair or feed address as sourced from Chainlink on the specified chain (defaulting to Base), including the price value and associated feed metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string",
   "description": "Named pair (e.g. \"ETH/USD\") or feed address."
  },
  "chain": {
   "type": "string",
   "description": "Chain the feed lives on; defaults to base."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pair": "ETH/USD",
  "chain": "base",
  "price": 1877.86,
  "decimals": 8,
  "ageSeconds": 120
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfund-chainlink-oracle-price-feed-5ce1bb79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentfund.net](https://www.zero.xyz/host/x402.agentfund.net/llms.txt)
