robin-stocks
A Python wrapper around the Robinhood API
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is well-maintained enough for learning and experimentation—it has 2109 stars and recent commits—but the 453-day gap since the last release and aging maintenance status suggest it may lag behind broker API changes. Use it for personal projects, backtesting, and algorithmic trading, but verify that the specific broker APIs you need are still functional before deploying to production. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Authentication with Robinhood, Gemini, or TD Ameritrade requires API credentials and may require two-factor authorization setup.
- Low install friction with four common dependencies (requests, pyotp, python-dotenv, cryptography).
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial use, modification, and distribution with minimal restrictions—suitable for most use cases.
last release 2025-05-18 (453 days) · last repo commit 2026-02-11 · 2,109 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 100,294 downloads/mo, #12,994 on PyPI
Alternatives
Verify before relying
pip install robin_stocks
import robin_stocks.robinhood as rh
import robin_stocks.gemini as gem
import robin_stocks.tda as tda
# Example calls
btc_ticker = gem.get_pubticker("btcusd")
open_orders = rh.get_all_open_crypto_orders()
price_history = tda.get_price_history("tsla")- Whether the package still maintains active support for all three APIs (Robinhood, Gemini, TD Ameritrade) given the 453-day gap since last release.
- Current status of Robinhood API compatibility, as Robinhood has made breaking changes to its unofficial API in the past.
- Whether all documented functions remain functional or if some endpoints have been deprecated by the brokers.
What it is and what it does
Robin-stocks is a Python wrapper that abstracts the APIs of three major financial platforms—Robinhood, Gemini, and TD Ameritrade—into a unified interface. It lets you query real-time stock, options, and cryptocurrency data, retrieve account information, and execute trades programmatically without writing direct HTTP calls to each broker's API.
The library is designed for developers building trading algorithms, robo-investors, or financial analysis tools. It depends on requests for HTTP communication, pyotp for two-factor authentication, python-dotenv for credential management, and cryptography for secure operations. The package requires Python 3.9 or later and installs with low friction.
Use it for
- Build a robo-investor that automatically rebalances a portfolio across stocks and crypto on a schedule.
- Fetch real-time cryptocurrency prices from Gemini and trigger alerts or trades based on technical indicators.
- Retrieve historical price data from TD Ameritrade to backtest trading strategies before deploying them.
- Monitor open orders and account positions across Robinhood without logging into the web interface.
- Aggregate market data from multiple brokers into a single dashboard or analysis tool.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is well-maintained enough for learning and experimentation—it has 2109 stars and recent commits—but the 453-day gap since the last release and aging maintenance status suggest it may lag behind broker API changes. Use it for personal projects, backtesting, and algorithmic trading, but verify that the specific broker APIs you need are still functional before deploying to production. No known security vulnerabilities.
Install
robin-stocks on PyPI
Before you install
Low install friction with four common dependencies (requests, pyotp, python-dotenv, cryptography). Maintenance status is aging—last release was 453 days ago, though the repository remains active with 2109 stars and a recent commit on 2026-02-11.
Requires Python 3.9 or later. Authentication with Robinhood, Gemini, or TD Ameritrade requires API credentials and may require two-factor authorization setup.
License in practice
MIT license is permissive, allowing commercial use, modification, and distribution with minimal restrictions—suitable for most use cases.
Quickstart
pip install robin_stocks
import robin_stocks.robinhood as rh
import robin_stocks.gemini as gem
import robin_stocks.tda as tda
# Example calls
btc_ticker = gem.get_pubticker("btcusd")
open_orders = rh.get_all_open_crypto_orders()
price_history = tda.get_price_history("tsla")
Verify before relying
- Whether the package still maintains active support for all three APIs (Robinhood, Gemini, TD Ameritrade) given the 453-day gap since last release.
- Current status of Robinhood API compatibility, as Robinhood has made breaking changes to its unofficial API in the past.
- Whether all documented functions remain functional or if some endpoints have been deprecated by the brokers.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesrequestspyotppython-dotenvcryptography |
| Maintenance | Aging 453 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 100,294 / month, #12,994 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: robin_stocks-3.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “robinhood api wrapper”
- robin-stocksProvides a Python interface to the Robinhood, Gemini, and TD…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- asyncprawAsync PRAW provides asynchronous access to Reddit's API, allowing you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also shioaji · smartapi-python · tradingview-screener · tdxpy · alpaca-py · yahooquery · fyers-apiv3 · metatrader5 · finvizfinance · finnhub-python