# Vaaya Stock Quote API

> Vaaya Stock Quote API is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns live stock/crypto/ETF quotes (price, change, day range, 52-week range, market cap, P/E, volume, exchange) for up to 100 symbols in a single call

## Facts

- Endpoint: POST https://vaaya.ai/api/run/openwebninja/stock-quote?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaaya-stock-quote-api-a8583869
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MC2wETJd3GiePs7atztl8

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 vaaya-stock-quote-api-a8583869 -d '<json body>'
```

Example prompt: Can you get me the live quote for AAPL, MSFT, and BTC-USD right now — I need the current price, market cap, P/E, and today's trading volume for all three?

## When to prefer this

Use this endpoint when you need real-time or near-real-time stock, ETF, or cryptocurrency quotes with rich metadata (market cap, P/E, volume, 52-week range) and want to batch up to 100 symbols in a single API call. Prefer it over generic financial data APIs when you need cross-exchange support (NYSE, NASDAQ, NSE, BSE) and crypto pairs in one unified interface.

## Known failure modes

- Invalid or unrecognized symbol returns error or empty data for that ticker
- Market closed hours may return stale or delayed prices rather than real-time
- Exceeding 100 symbols per call may result in truncation or rejection
- Invalid language code may fall back to default or return an error
- Network latency or upstream data provider outage may cause timeouts

## How this service works

Live quote for `symbol` ("AAPL", "AAPL:NASDAQ", "RELIANCE:NSE", "BTC-USD"): price, change, day range, 52-week range, market cap, P/E, volume, exchange. Batch up to 100 symbols comma-separated in ONE call. Optional `language`.

## Output

Returns structured data per symbol including current price, absolute and percentage price change, day high/low range, 52-week high/low range, market capitalization, P/E ratio, trading volume, and exchange name. Supports up to 100 comma-separated symbols in one response.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "maxLength": 2000,
       "minLength": 1
      },
      "language": {
       "type": "string",
       "maxLength": 5,
       "minLength": 2
      }
     },
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaaya-stock-quote-api-a8583869/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
