stock-prices

Fetch real-time stock quotes and market data from the Stock Prices API.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill stock-prices-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stock-prices
Source: https://github.com/Tgoldi/claude-skills/tree/main/stock-prices
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill stock-prices-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @toon-format/toon.

What problem does it solve? Getting live stock prices and market data inside an AI workflow usually requires signing up for a finance API, managing keys, and parsing verbose JSON. This Skill provides a ready-to-use endpoint and decoding instructions so you can query ticker symbols and immediately work with structured quote data. ## Core Features & Use Cases - Real-Time Quotes: Fetch current price, daily change, high/low, open, and previous close for up to 50 ticker symbols per request. - Pre-Market Data: Access pre-market price, change, and timestamps alongside regular session data. - TOON Format Decoding: Responses use the compact TOON format, decoded with the @toon-format/toon package into standard JavaScript objects. - Use Case: Build a portfolio tracker that queries AAPL, NVDA, and MSFT in one request, decodes the TOON response, and reports each position's current value and daily percentage change. ## Quick Start Ask the AI to fetch the current stock price and daily change for NVDA using the Stock Prices API and decode the TOON response.

Frequently Asked Questions about stock-prices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get real-time stock prices via API?

Send a GET request to https://stock-prices.on99.app/quotes?symbols=NVDA with one or more comma-separated ticker symbols. The response arrives in TOON format, which you decode using the @toon-format/toon package to access quote objects.

How to decode TOON format responses in JavaScript?

Install @toon-format/toon with pnpm, then call decode() on the response text. The decoded result matches JSON structure, so data.quotes gives you an array of quote objects with fields like currentPrice and percentChange.

How many stock symbols can I query in one request?

The API accepts a maximum of 50 symbols per request, separated by commas in the symbols query parameter. For larger portfolios, split your symbols into batches and merge the decoded results.

Does the stock prices API include pre-market data?

Yes, each quote includes preMarketPrice, preMarketChange, preMarketChangePercent, and a preMarketTime timestamp in ISO 8601 format. Regular session fields like open, high, low, and previous close are also included.

Why is my stock API response not valid JSON?

The API returns TOON format, not JSON, so JSON.parse will fail. TOON is a compact token-oriented encoding that requires the decode() function from @toon-format/toon to convert it into standard JavaScript objects.