# x402stock Quote API

> x402stock Quote API is a paid API for AI agents from x402stock.pay.zeroclick.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns the latest 1-minute bar close price plus today's OHLCV, change, and previous close for any US-listed stock ticker, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://x402stock.pay.zeroclick.io/api/v1/quote/:ticker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-quote-api-4d7c9559
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cn_Imx2di8ThYNOI8R0mG

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 x402stock-quote-api-4d7c9559
```

Example prompt: What's the latest stock price for NVDA, including today's open, high, low, close, and volume?

## When to prefer this

Choose this endpoint when you need a quick, keyless, pay-per-call stock price lookup for US-listed equities without setting up an account or API key. Ideal for AI agents that need occasional or variable-volume stock quotes billed in USDC on a per-request basis. Prefer alternatives if you need real-time (non-delayed) data, international equities, options/futures pricing, or high-frequency bulk queries.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error response
- Ticker not listed on a US exchange returns no data
- Market closed or pre-market hours may return stale or incomplete intraday bars
- Payment failure via x402 (insufficient USDC balance or unsupported wallet) blocks the request
- Network timeout or upstream data provider outage returns a 5xx error

## How this service works

Get the latest available price for any US-listed stock: the most recent 1-minute bar close plus today's OHLCV, change, and previous close. Currently 15 minutes delayed; each response carries `is_delayed: true`. Real-time pricing lands when the data plan is upgraded. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.

## Output

A JSON response containing the ticker symbol, the most recent 1-minute bar close price, today's open/high/low/close/volume (OHLCV), the day's price change and percentage change, the previous close price, and an `is_delayed: true` flag indicating the data is currently 15 minutes delayed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "ticker": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-quote-api-4d7c9559/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.pay.zeroclick.io](https://www.zero.xyz/host/x402stock.pay.zeroclick.io/llms.txt)
