# AgentFeed Price Oracle API

> AgentFeed Price Oracle API is a paid API for AI agents from agentfeed.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns current cryptocurrency prices, 24h change, market cap, and volume for one or more token symbols or CoinGecko IDs

## Facts

- Endpoint: POST https://agentfeed.up.railway.app/api/v1/prices
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-price-oracle-api-f8697ac8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CdMAUGcRrZMIjmTZOjlQl

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 agentfeed-price-oracle-api-f8697ac8 -d '<json body>'
```

Example prompt: Can you look up the current prices for BTC, ETH, and SOL — including their 24-hour change and market cap?

## When to prefer this

Use this endpoint when an AI agent needs real-time cryptocurrency price data for one or more tokens, especially when operating in an x402 micropayment environment on Base. Prefer this over free public APIs when operating within an agentic payment pipeline that already handles x402, or when structured multi-field market data (price, change, volume, market cap) is needed in a single call.

## Known failure modes

- 402 Payment Required — x402 micropayment of $0.01 USDC not provided or invalid
- Invalid token symbol or CoinGecko ID returns empty or error result
- Network timeout from upstream price data provider
- Empty tokens array returns no results
- Rate limiting or provider downtime causing stale or unavailable data

## How this service works

Six payment-gated endpoints for AI agents: content extraction, price oracle, URL unfurling, web search, RSS parsing, and translation.

## Output

Returns an array of price objects for each requested token, including current price (USD), 24h price change percentage, market cap, 24h trading volume, data source, and symbol, along with a count and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "tokens"
 ],
 "properties": {
  "tokens": {
   "type": "array",
   "description": "Array of token symbols or CoinGecko IDs"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer"
  },
  "prices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "price": {
      "type": "number"
     },
     "source": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "change24h": {
      "type": "number"
     },
     "marketCap": {
      "type": "number"
     },
     "volume24h": {
      "type": "number"
     }
    }
   }
  },
  "timestamp": {
   "type": "string",
   "format": "date-time"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-price-oracle-api-f8697ac8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentfeed.up.railway.app](https://www.zero.xyz/host/agentfeed.up.railway.app/llms.txt)
