# Spraay Gateway Multi-Token Price Feed

> Spraay Gateway Multi-Token Price Feed is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Fetches current prices for one or more crypto tokens in a single API call.

## Facts

- Endpoint: GET https://gateway.spraay.app/api/v1/oracle/prices
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-spraay-app-b53ac583
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iboBE8T1BFVOS00L0_yB4

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 gateway-spraay-app-b53ac583
```

Example prompt: What are the current prices for ETH, SOL, and USDC right now?

## When to prefer this

Use this endpoint when you need current prices for multiple tokens simultaneously and want to minimize API calls. Ideal for portfolio valuation, DeFi position calculations, swap quote validation, or any use case requiring a batch price lookup across different token symbols. Prefer over per-token lookups when querying 2 or more tokens at once.

## Known failure modes

- Unknown or unsupported token symbol returns empty or null entry in prices map
- Missing or malformed 'tokens' query parameter may return all available tokens or an error
- Payment failure (402) if x402 payment of $0.008 USDC is not provided
- Rate limiting or service unavailability returns 5xx error
- Network timeout if oracle data source is temporarily unreachable

## How this service works

Multi-token price feed.

## Output

A JSON object with a 'prices' map keyed by token symbol, each containing the current price value. Returns real-time price data for all requested tokens in a single response.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "tokens": "ETH,SOL,USDC"
  }
 }
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "tokens": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "prices": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-spraay-app-b53ac583/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
