Overview
- Skill Key
- anthonylee1994/stock-prices
- Author
- anthonylee1994
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/anthonylee1994/stock-prices
- Latest Commit SHA
- 6843ecbe0841b70ddabb3df69ba4d104dca30b75
Query real-time stock prices and market data using the Stock Prices API. Responses are in TOON format—decode with @toon-format/toon. Use when fetching stock quotes, analyzing market data, or working with symbols like AAPL, NVDA, GOOGL, or any ticker symbols.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 stock-prices 技能。 若已安装,则直接安装 stock-prices 技能。
# Stock Prices API Skill
This skill helps you work with the Stock Prices API to fetch real-time market data and stock quotes.
## API Endpoint
**Base URL**: `https://stock-prices.on99.app`
**Primary Endpoint**: `/quotes?symbols={SYMBOLS}`
## Quick Start
Fetch stock quotes for one or more symbols (responses are in TOON format):
```bash
curl "https://stock-prices.on99.app/quotes?symbols=NVDA"
curl "https://stock-prices.on99.app/quotes?symbols=AAPL,GOOGL,MSFT"
```
Install the TOON decoder for parsing: `pnpm add @toon-format/toon`
## Response Format
The API returns **TOON** (Token-Oriented Object Notation) format—a compact, human-readable encoding that uses ~40% fewer tokens than JSON. This makes it ideal for LLM prompts and streaming.
### TOON Response Example
```
quotes[1]{symbol,currentPrice,change,percentChange,highPrice,lowPrice,openPrice,previousClosePrice,preMarketPrice,preMarketChange,preMarketTime,preMarketChangePercent,...}:
NVDA,188.54,-1.5,-0.789308,192.48,188.12,191.405,190.04,191.8799,3.3399048,2026-02-11T13:49:16.000Z,1.771457,...
```
### Decoding TOON Responses
Use `@toon-format/toon` to parse responses back to JavaScript/JSON:
```typescript
import { decode } from "@toon-format/toon";
const response = await fetch("https://stock-prices.on99.app/quotes?symbols=NVDA");
const toonText = await response.text();
const data = decode(toonText);
// data.quotes is an array of quote objects
const quote = data.quotes[0];
console.log(`${quote.symbol}: $${quote.currentPrice}`);
```
The decoded structure matches JSON—same objects, arrays, and primitives.
## Available Data Fields
| Field | Type | Description |
| ------------------------ | ----------------- | ------------------------------------- |
| `symbol` | string | Stock ticker symbol |
| `currentPrice` | number | Current trading price |
| `change`...
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
cclank
Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt, 36Kr, Tencent News, WallStreetCN, V2EX, and Weibo. Best for 'daily scans', 'tech news briefings', 'finance updates', and 'deep interpretations' of hot topics.
cerbug45
Turn incoming text (email/newsletter) into a short TTS podcast with chunking + ffmpeg concat.
ccyaolei
OpenClaw Agent 长期记忆系统 - 温度模型 + 自动归档 + 知识提炼。让 AI Agent 拥有持久记忆,自动管理冷热数据,从经验中提炼可复用技能。
cemoso
Autonomous PR review loop with Greptile. Use when an agent creates a PR and needs to autonomously handle code review feedback — reading Greptile reviews, fixing issues, pushing fixes, re-triggering review, and auto-merging when score is 4/5+. Trigger on commands like "pr review {url}", "review my PR", or when a Greptile review webhook/poll delivers feedback.