home / skills / openclaw / skills / yahoo-data-fetcher
This skill fetches real-time stock quotes from Yahoo Finance and returns structured data for multiple symbols, enabling quick financial insights.
npx playbooks add skill openclaw/skills --skill yahoo-data-fetcherReview the files below or copy the command above to add this skill to your agents.
---
name: yahoo-data-fetcher
description: Fetch real-time stock quotes from Yahoo Finance.
user-invocable: true
metadata:
moltbot:
emoji: "📈"
requires:
bins: ["node"]
homepage: https://query1.finance.yahoo.com/v7/finance/quote
---
# Yahoo Data Fetcher – Stock Quote
Get current stock price data from Yahoo Finance.
This skill fetches the latest market quote for one or more stock symbols and returns normalized JSON output.
---
## Command
### `/stock quote`
Fetch the latest quote for one or more stock symbols.
---
## Input
- `symbols` (string or array of strings)
Examples:
- `"AAPL"`
- `"AAPL MSFT TSLA"`
- `"AAPL,MSFT,TSLA"`
- `["AAPL", "MSFT"]`
- `{ "symbols": ["AAPL", "MSFT"] }`
---
## Output
For each symbol:
- `symbol` – stock ticker
- `price` – latest market price
- `change` – absolute price change
- `changePercent` – percentage change
- `currency` – trading currency
- `marketState` – market status (e.g. `REGULAR`, `CLOSED`)
Example output:
```json
[
{
"symbol": "AAPL",
"price": 189.12,
"change": 1.23,
"changePercent": 0.65,
"currency": "USD",
"marketState": "REGULAR"
}
]This skill fetches real-time stock quotes from Yahoo Finance and returns normalized JSON for one or more tickers. It focuses on delivering the latest price, absolute and percentage change, currency, and market state. The output is compact and suitable for embedding in dashboards, bots, or automation workflows.
You provide one or multiple symbols as a string or array (e.g., "AAPL", "AAPL MSFT", or ["AAPL","MSFT"]). The skill queries Yahoo Finance for current market data, normalizes the result, and returns a JSON array with fields like symbol, price, change, changePercent, currency, and marketState. It handles common input formats and aggregates results into a consistent structure for easy consumption.
What input formats are accepted?
Accepts a single symbol string, space- or comma-separated strings, or an array of strings.
What does marketState represent?
marketState indicates trading status such as REGULAR or CLOSED to show whether the price is live or final.