# x402stock Previous Close via ZeroClick

> x402stock Previous Close via ZeroClick is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Returns the previous trading day's open, high, low, close, volume, and VWAP for a given US stock or ETF ticker.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/prev-close/%7Bticker%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-previous-close-via-zeroclick-d5f0148a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QKMXXgTucoivwr0rP_Rqn

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-previous-close-via-zeroclick-d5f0148a
```

Example prompt: What was AAPL's previous closing price — give me the full OHLCV breakdown including VWAP for the last completed trading session.

## When to prefer this

Use this endpoint when you need the official previous trading day's closing data for a US-listed stock or ETF, including OHLCV and VWAP, without needing real-time intraday or streaming data. Prefer this over a latest-price endpoint when your use case is end-of-day analysis, backtesting reference, or performance review for a completed session.

## Known failure modes

- Invalid or unknown ticker returns a 404 or error response
- Market closed or no prior session data available may return empty result
- Ticker for non-US listed securities may not be supported
- Payment failure via x402/MPP will block the request
- Rate limiting if payment is not properly attached

## How this service works

Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.

## Output

Returns the most recently completed trading day's OHLCV data (open, high, low, close, volume) plus VWAP for the requested ticker, along with the date of the session. Response is a single record representing the last fully closed trading day.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-previous-close-via-zeroclick-d5f0148a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
