# Yahoo Finance Generic Stock/Index Quote

> Yahoo Finance Generic Stock/Index Quote is a paid API for AI agents from vietnam-holiday-api.kdlcfa.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-27).

Returns a delayed stock or index quote for any Yahoo Finance ticker symbol via a GET request with a ?ticker= query parameter.

## Facts

- Endpoint: GET https://vietnam-holiday-api.kdlcfa.workers.dev/stock-quote?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yahoo-finance-generic-stock-index-quote-3df8b853
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OInl-sPCr6tOutlQbEeky

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 yahoo-finance-generic-stock-index-quote-3df8b853
```

Example prompt: Can you get me the latest delayed quote for the S&P 500 index — the Yahoo Finance ticker is ^GSPC?

## When to prefer this

Choose this endpoint when you need a quick, generic delayed quote for any Yahoo Finance-supported ticker — including US equities, indices like the S&P 500 or Dow Jones, and ETFs — and you need broad symbol coverage beyond Vietnam-specific assets. Use sibling endpoints for Vietnam-specific stocks, crypto, or BTC specifically.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error or empty result
- Special characters in ticker must be URL-encoded (e.g. ^GSPC must be passed as %5EGSPC) or the request may fail
- Yahoo Finance data may be delayed or unavailable during market outages
- Rate limiting or payment failure (x402) may block access if USDC payment is not processed

## How this service works

Generic stock/index quote via Yahoo Finance. Pass ?ticker=SYMBOL (e.g. AAPL, %5EGSPC).

## Output

Returns a delayed stock or index quote for the requested ticker symbol sourced from Yahoo Finance, typically including the current price, possibly with additional metadata such as symbol, name, and market status.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "description": "Yahoo Finance ticker symbol, URL-encoded if it has special characters (e.g. %5EGSPC for ^GSPC)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yahoo-finance-generic-stock-index-quote-3df8b853/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vietnam-holiday-api.kdlcfa.workers.dev](https://www.zero.xyz/host/vietnam-holiday-api.kdlcfa.workers.dev/llms.txt)
