LaunchKit · 2026
Back to Skills

stock-prices

Query real-time stock prices and market data using the Stock Prices API.

0
2.4k downloads
by @anthonylee1994

Setup & Installation

openclaw skills install @anthonylee1994/stock-prices

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install stock-prices

Version History

v1.0.1Feb 17, 2026 - Version note by skill developer:

- Responses are now provided in TOON (Token-Oriented Object Notation) format instead of JSON, saving ~40% tokens. - Added instructions for decoding TOON responses using the @toon-format/toon package. - Updated sample code and usage sections to demonstrate decoding and handling TOON data. - Clarified that all API consumers must decode responses before use.

What This Skill Does

Fetches real-time stock quotes and market data from the Stock Prices API using ticker symbols. Responses arrive in TOON format, a compact encoding that uses roughly 40% fewer tokens than JSON, decoded with the @toon-format/toon package. Supports up to 50 symbols per request, including pre-market pricing and day-range data.

The TOON response format cuts token usage by ~40% compared to JSON, which lowers cost and latency when feeding market data into LLM prompts or streaming pipelines.

When to use it

  • Checking NVDA's price before placing an options order
  • Pulling quotes for 20 holdings at once to calculate portfolio value
  • Reviewing pre-market data for volatile stocks before the open
  • Summarizing which stocks in a watchlist are up or down today
  • Setting up a price-change alert when a ticker crosses a threshold

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What are the current prices and daily changes for AAPL, GOOGL, and MSFT?

AGENT
  1. 1Send GET request to https://stock-prices.on99.app/quotes?symbols=AAPL,GOOGL,MSFT
  2. 2Decode the TOON-format response body using decode() from @toon-format/toon
  3. 3Extract currentPrice, change, and percentChange for each quote object
  4. 4Format results into a price summary per symbol
OUTPUT

AAPL: $182.50 (+1.2%), GOOGL: $175.30 (-0.4%), MSFT: $415.80 (+0.8%)