# 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 USD spot price for a single cryptocurrency token identified by its ticker symbol, as a minimal three-field payload.

## Facts

- Endpoint: GET https://aiagentoracle.ai/api/v1/price/SOL
- 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-3697e55e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iu1-MBC7VJCvVQ4j5BFpv

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-3697e55e
```

Example prompt: What's the current USD spot price of SOL? I need just the price and timestamp, optimized for frequent polling.

## When to prefer this

Choose this endpoint when you need only the current spot price of a single token with minimal latency and payload overhead — ideal for high-frequency polling agents, trading bots, or any workflow that needs a lightweight price signal without full token metadata. Prefer this over the full token-detail endpoint when you only need the price scalar and timestamp.

## Known failure modes

- 404 Not Found if the ticker symbol is not tracked by AgentOracle
- Case sensitivity edge cases (though symbol lookup is case-insensitive)
- Null priceUsd if price data is temporarily unavailable for the token
- Payment required (402) if x402 micropayment of $0.01 USDC is not included
- Network timeout if the service is under high polling load

## 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 with three fields: the token symbol (e.g. 'SOL'), its current spot price in USD as a number (priceUsd), and the timestamp of the reading (asOf in ISO 8601 format). Returns 404 if the symbol is unknown.

## Example request

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

## 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-3697e55e/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)
