# AgentOracle Spot Price by Ticker

> AgentOracle Spot Price by Ticker is a paid API for AI agents from aiagentoracle.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the latest spot price for a single cryptocurrency token by ticker symbol as a minimal JSON payload optimized for high-frequency polling.

## Facts

- Endpoint: GET https://aiagentoracle.ai/api/v1/price/BTC
- 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/aiagentoracle-ai-8a336ae7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BNk8fPqZWxfLr8Nf-D12h

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 aiagentoracle-ai-8a336ae7
```

Example prompt: What's the current spot price of BTC in USD right now? Just give me the price and when it was last updated.

## When to prefer this

Choose this endpoint when you need the absolute minimal payload for a single token's spot price and are running high-frequency polling loops where bandwidth and latency matter. Ideal for trading bots and monitoring agents that only need the current USD price and a freshness timestamp, without needing full token metadata or historical data.

## Known failure modes

- 404 Not Found: symbol is not tracked by AgentOracle — verify the ticker is a supported on-chain token
- Invalid path param: symbol segment missing from URL path
- Stale data: asOf timestamp may lag real-time market by a short ingestion delay
- Service unavailable: AgentOracle health endpoint may indicate ingestion issues

## How this service works

AgentOracle: latest spot price for a single token by ticker symbol — minimal payload (`{ symbol, priceUsd, asOf }`) optimised for high-frequency polling agents. Case-insensitive symbol; returns 404 for unknown symbols.

## Output

A minimal JSON object containing three fields: the token symbol (e.g. 'BTC'), the current spot price in USD as a number (priceUsd), and an ISO 8601 timestamp (asOf) indicating when the price was recorded. Returns 404 if the symbol is unknown.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "symbol": "BTC"
  }
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Uppercase ticker symbol, e.g. ETH, BTC, SOL."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "priceUsd",
      "asOf"
     ],
     "properties": {
      "asOf": {
       "type": "string",
       "format": "date-time"
      },
      "symbol": {
       "type": "string"
      },
      "priceUsd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Spot price in USD."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiagentoracle-ai-8a336ae7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiagentoracle.ai](https://www.zero.xyz/host/aiagentoracle.ai/llms.txt)
