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.
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-dataRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gauss314/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/alpaca-data ~/.gemini/antigravity-cli/skills/alpaca-dataAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
