# HubVibe Stock Quote & History

> HubVibe Stock Quote & History is a paid API for AI agents from hubvibe-io.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-01).

Returns a live US equity quote (price, change, day range, volume, market state) plus optional OHLCV history for a chosen range, sourced from Nasdaq with Yahoo Finance fallback, with full provenance metadata.

## Facts

- Endpoint: POST https://hubvibe-io.com/work/market/stock?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hubvibe-stock-quote-history-a6826116
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CPyW_25NNou8LfkUBC87o

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 hubvibe-stock-quote-history-a6826116 -d '<json body>'
```

Example prompt: What's the current stock price for NVIDIA — give me the last price, today's range, volume, and market state, and include 3-month daily OHLCV history too.

## When to prefer this

Choose this endpoint when you need a live US equity quote with provenance metadata (source name, delay, timestamps) and optional OHLCV history in a single call. It is preferred over generic finance APIs when transparency about data source and staleness is important, or when you want Nasdaq data with Yahoo Finance as an automatic fallback without managing that logic yourself. Not suited for options, forex, crypto, or non-US-listed securities.

## Known failure modes

- Invalid ticker symbol returns an error or empty result
- Unrecognized range enum value causes a validation error
- Both Nasdaq and Yahoo Finance unavailable returns a fallback failure with source named
- Ticker exists but is not US-listed may return no data
- Network timeout from upstream data source causes delay or error

## How this service works

Stock price / live stock quote for any US ticker: last price, change, day range, volume and market state, plus daily OHLCV history (1d to 5y), read at call time from Nasdaq's public data with Yahoo Finance as fallback. Every answer names its source, the source's timestamp, its delay in minutes and when it was read. Input: symbol (AAPL, NVDA...); optional range, include_history.

## Output

A structured response containing: the live quote fields (last price, change, change percent, day high/low, volume, market state), the source that answered (Nasdaq or Yahoo Finance), the source's own timestamp (as_of), data delay in minutes, and the node's read time (checked_at). If include_history is true (default), also returns a daily OHLCV array for the requested range (1d to 5y).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "range": {
   "enum": [
    "1d",
    "5d",
    "1mo",
    "3mo",
    "6mo",
    "1y",
    "2y",
    "5y"
   ],
   "type": "string"
  },
  "symbol": {
   "type": "string",
   "pattern": "^[A-Za-z][A-Za-z0-9.\\-]{0,11}$"
  },
  "language": {
   "type": "string",
   "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
   "maxLength": 35
  },
  "include_history": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "name": "Apple Inc.",
   "as_of": "2026-09-25T20:00:01Z",
   "price": 341.07,
   "change": 5.15,
   "source": "nasdaq-data-api",
   "symbol": "AAPL",
   "volume": 30002768,
   "day_low": 334.53,
   "history": [
    {
     "low": 334.53,
     "date": "2026-09-25",
     "high": 341.67,
     "open": 336.04,
     "close": 341.07,
     "volume": 30002510
    }
   ],
   "currency": "USD",
   "day_high": 341.67,
   "exchange": "NASDAQ-GS",
   "change_pct": 1.53,
   "checked_at": "2026-09-26T18:00:00Z",
   "asset_class": "stocks",
   "history_rows": 22,
   "market_state": "Closed",
   "history_range": "1mo",
   "previous_close": 335.92,
   "delayed_minutes": 15
  },
  "status": "ok",
  "worker": "market.stock",
  "price_usd": 0.05,
  "provenance": {
   "steps": [
    {
     "ms": 312,
     "ok": true,
     "step": "quote",
     "reason": "provider_timeout",
     "provider": "coinbase-advanced-trade-public"
    }
   ],
   "attempts": 1,
   "elapsed_ms": 340,
   "providers_used": [
    "coinbase-advanced-trade-public"
   ]
  },
  "receipt_id": "rcpt_9f1c2b3a4d5e6f70",
  "attribution": [
   {
    "url": "https://translate.google.com",
    "text": "Translated by Google"
   }
  ],
  "receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hubvibe-stock-quote-history-a6826116/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hubvibe-io.com](https://www.zero.xyz/host/hubvibe-io.com/llms.txt)
