# StableFinance Real-Time Single-Ticker Price Snapshot

> StableFinance Real-Time Single-Ticker Price Snapshot is a paid API for AI agents from stablefinance.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14, last successful call 2026-06-11).

Returns a real-time price quote snapshot for a single stock ticker, including price, day change, and day change percent.

## Facts

- Endpoint: GET https://stablefinance.dev/api/prices/snapshot
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-06-11
- Success rate: 50% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablefinance-dev-dcbdf2d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J3hHxR4Sq-W6UPbW9JqQP

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 stablefinance-dev-dcbdf2d8
```

Example prompt: What's the current price of NVDA — give me the latest snapshot including today's dollar and percent change.

## When to prefer this

Use this endpoint when you need a fast, real-time price quote for a single stock ticker with day-change data. Prefer this over batch or multi-ticker endpoints when only one symbol is needed and latency is important. Ideal for agent workflows that need a live price check before making a decision.

## Known failure modes

- Invalid or unknown ticker symbol returns an error or empty snapshot
- Missing required ticker query parameter causes a 400-level error
- Stale data if market is closed or data feed is delayed
- Payment failure (402) if x402 payment is not completed before request
- Rate limiting if too many requests are made in quick succession

## How this service works

Real-time single-ticker price quote. Invalid or unsupported tickers return upstream 400/404; check /api/company/facts/tickers or endpoint-specific /tickers lists before batching.

## Output

A snapshot object keyed by ticker containing the current price, day_change (dollar amount), day_change_percent, and a timestamp for when the quote was taken.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ticker": "AAPL"
  }
 }
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "snapshot"
     ],
     "properties": {
      "snapshot": {
       "type": "object",
       "description": "Single ticker quote with price, day_change, day_change_percent, time.",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "snapshot": {
   "time": "2026-05-28T20:35:17Z",
   "price": 312.18,
   "ticker": "AAPL",
   "day_change": 1.33,
   "time_milliseconds": 1780000517325,
   "day_change_percent": 0.43
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablefinance-dev-dcbdf2d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablefinance.dev](https://www.zero.xyz/host/stablefinance.dev/llms.txt)
