Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

alpaca-data

Skill by gauss314

Alpaca Data is a skill that shows how to use the Alpaca Market Data API for US stocks, crypto and options. It covers historical and real-time data, with Python examples built on the alpaca-py SDK.

  • Score 63
  • 258 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install alpaca-data

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gauss314/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/alpaca-data ~/.claude/skills/alpaca-data

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install alpaca-data in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Alpaca Data is a skill that guides an AI assistant through Alpaca's Market Data API. It covers US stocks, crypto and options, with historical and real-time data. The skill includes Python code examples using the alpaca-py SDK, plus download scripts for stock bars, crypto bars and option contracts.

Requests go to the Alpaca data base URL. Stock data needs API keys from an Alpaca account, while crypto data does not. The free plan uses the IEX feed, with a stated limit of 200 requests per minute and about five years of history. The skill is aimed at developers and analysts who need US market data, intraday data or option chains.

Written from the project's SKILL.md and checked against it.

What it can do

  • Historical stock barsFetches OHLCV bars for stocks across day, hour, minute, week and month timeframes.
  • Stock quotes and tradesRetrieves historical bid and ask quotes and individual stock trades.
  • Latest stock dataGets the latest bar, quote or trade for one or more stock symbols.
  • Stock snapshotsReturns snapshot data for selected stock symbols.
  • Crypto bars and quotesFetches historical crypto bars and latest crypto quotes, such as BTC/USD and ETH/USD.
  • Option contracts and barsLists option contracts by underlying, expiry and strike, and fetches option bars.
  • Stock newsRetrieves news items for selected stock symbols over a date range.
  • Most active screenerLists the most active stocks by volume, share or number for a given date.
  • Real-time bar streamSubscribes to live bar updates for stock symbols over a WebSocket connection.
  • Download scriptsRuns included scripts to save stock bars, crypto bars and option contracts to files.

What you need

  • Alpaca account
  • Alpaca API Key and Secret Key for stock data
  • Python with alpaca-py installed
  • Paid plan for the SIP feed

Try asking

  • Get daily bars for AAPL and GOOGL for 2024 using the Alpaca data API.
  • Show the latest quote and trade for AAPL.
  • List option contracts for AAPL expiring in 2024 with strikes between 100 and 200.

Good to know

  • The free tier only includes the IEX feed, which covers one exchange.
  • The free tier allows 200 requests per minute.
  • Options data requires trading levels, as noted in the options reference.
  • Stock data requires API keys, while crypto data does not.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/alpaca-data/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to alpaca-data

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

alpaca-data: common questions

Do I need an API key to get crypto data?

No. The source says crypto data does not require API keys, while stock data does.

Is the Alpaca market data free?

The free tier uses the IEX feed and allows 200 requests per minute. The source says the SIP feed, which covers all US exchanges, is a paid option.

How far back does the historical data go?

The source says the free IEX tier has about five years of history, and paid SIP access has about seven years.

How do I install alpaca-data?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is alpaca-data free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is alpaca-data safe to use?

It scores 63 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to alpaca-data?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

alpaca-data Install

Add to stack

Loading.