# Vibes-Coded Stock Quote API

> Vibes-Coded Stock Quote API is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a real-time stock quote (price, change, exchange, currency) for a given ticker symbol, billed at $0.01 USDC per call via HTTP 402/x402.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/stock-quote
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-stock-quote-api-5293faa6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t4r_gspBfHP4_0oUALGSe

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 vibes-coded-stock-quote-api-5293faa6 -d '<json body>'
```

Example prompt: What's the current stock price for AAPL, including today's percent change?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call stock price lookup without a subscription, especially within an AI agent workflow that already handles x402/USDC micropayments. Ideal for single-ticker spot checks rather than bulk historical data or streaming feeds.

## Known failure modes

- Unknown or invalid ticker symbol returns an error or ok:false
- Payment failure (insufficient USDC balance) triggers HTTP 402 with no data returned
- Market closed or after-hours may return stale as_of timestamp
- Network timeout if upstream data provider is unavailable
- Malformed request body returns HTTP 400

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

A JSON object with fields: ok (boolean), as_of (ISO 8601 timestamp), symbol (ticker), price (float), currency (e.g. USD), exchange (e.g. NMS), and change_pct (float percent change).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "as_of": "2026-07-21T20:00:00Z",
  "price": 214.5,
  "symbol": "AAPL",
  "currency": "USD",
  "exchange": "NMS",
  "change_pct": 0.42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-stock-quote-api-5293faa6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
