# the402.ai Stock Market Data Purchase

> the402.ai Stock Market Data Purchase is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Purchases real-time or historical stock market data via the x402 micropayment protocol on the402.ai marketplace

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_cbe3149e6d64414f/purchase
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-330b9092
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L7UdV71p8Art9f3Ec9Z-Z

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 api-the402-ai-330b9092 -d '<json body>'
```

Example prompt: Pull the current stock price and basic market data for AAPL using the402.ai — pay the $0.005 USDC fee automatically.

## When to prefer this

Choose this endpoint when you need on-demand stock market data and are operating in an AI agent context with x402 micropayment capability. Ideal for agents that need financial data without a traditional API subscription, paying only per-use at $0.005 USDC. Best when integrated into agentic workflows that already handle x402 payment headers.

## Known failure modes

- Insufficient USDC balance causing payment failure
- Invalid or unrecognized ticker symbol returns error
- Payment facilitator unavailable or timeout
- Rate limiting if too many requests made in quick succession
- Market closed or data unavailable for requested time period

## How this service works

Purchase: Stock Market Data

## Output

Returns stock market data for the requested ticker, which may include current price, trading volume, market cap, historical prices, and other financial metrics, delivered after a $0.005 USDC micropayment is processed via the x402 protocol.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

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