# TokenGuard Stock Market Data

> TokenGuard Stock Market Data is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns current stock prices and market index levels for major equities and indices like S&P 500

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/stocks
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-stock-market-data-28263d88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nkWsRJqXqKv4oajmSrrIu

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 tokenguard-stock-market-data-28263d88 -d '<json body>'
```

Example prompt: What are the current prices and 24-hour percent changes for major stocks like AAPL, and where is the S&P 500 trading right now?

## When to prefer this

Use this endpoint when you need quick, lightweight stock price and market index lookups with per-call micropayment billing ($0.005 USDC via x402 on Base). Ideal for AI agents that need real-time or near-real-time equity market data without a subscription. Prefer this over full brokerage APIs when you only need price and daily change data for a handful of symbols.

## Known failure modes

- Payment not included or invalid x402 micropayment header — returns 402 Payment Required
- Invalid or unsupported stock symbols — may return empty or partial results
- Upstream market data provider unavailable — returns 503 or error response
- Rate limiting if too many calls made in quick succession

## How this service works

How is TradFi trading right now, next to crypto? Any list of US equity symbols plus the S&P 500, NASDAQ and Dow, each returned with price and 24h change already computed and in the same shape as our crypto routes, so both sides of a comparison arrive from one call.

## Output

A JSON object containing an array of stocks with symbol, USD price, and 24h change percentage, plus an array of market indices with name, symbol, and USD price, along with counts of stocks and indices returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbols": {
   "type": "string",
   "default": "AAPL,MSFT,GOOGL,NVDA,TSLA"
  },
  "include_indices": {
   "type": "boolean",
   "default": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "stocks": [
   {
    "symbol": "AAPL",
    "price_usd": 283.78,
    "change_pct_24h": 1.32
   }
  ],
  "indices": [
   {
    "name": "S&P 500",
    "symbol": "^GSPC",
    "price_usd": 7354.02
   }
  ],
  "stocks_count": 5,
  "indices_count": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-stock-market-data-28263d88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
