# Orchard Data Stock Quote API

> Orchard Data Stock Quote API is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns real-time stock quote data (price, volume, daily range, percent change) for a given ticker symbol, billed per-call via x402 micropayments in USDC.

## Facts

- Endpoint: GET https://orchard-data.letom1176.workers.dev/api/quote
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-stock-quote-api-4c4330c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1sTx-nr8l1wLGE63U-3aS

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 orchard-data-stock-quote-api-4c4330c9
```

Example prompt: What's the current stock quote for NVDA — give me the last price, today's high and low, volume, and how much it's moved in percent?

## When to prefer this

Choose this endpoint when an AI agent needs lightweight, per-call real-time stock quote data without a monthly subscription — especially when cost control via micropayments (x402/USDC) matters, or when embedding market data lookups into autonomous agent workflows where pay-per-use billing is preferable to flat-rate plans.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty quote
- Missing required 'symbol' query parameter causes a 400-level error
- Payment failure via x402 (insufficient USDC balance) blocks access and returns a 402 status
- Rate limiting or worker timeout under high load may return 5xx errors
- Symbols for non-US or delisted equities may return no data

## How this service works

Market data for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.

## Output

A JSON object containing the ticker symbol, last traded price, daily high, daily low, volume, previous close, and percentage change for the requested stock — e.g. {symbol: 'NVDA', quote: {last: 178.2, volume: 214839201, day_high: 179.4, day_low: 174.8, prev_close: 175.1, change_pct: 1.77}}.

## 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",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Ticker, e.g. NVDA"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "quote": {
   "last": 178.2,
   "symbol": "NVDA",
   "volume": 214839201,
   "day_low": 174.8,
   "day_high": 179.4,
   "change_pct": 1.77,
   "prev_close": 175.1
  },
  "symbol": "NVDA"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-stock-quote-api-4c4330c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
