--- id: robin-stocks version: "3.4.0" license: MIT license_treatment: permissive maintenance: aging --- # robin-stocks — A Python wrapper around the Robinhood API License: permissive · Maintenance: aging · Downloads: 100.3K/mo ## 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 above — verify before relying. Provides a Python interface to the Robinhood, Gemini, and TD Ameritrade APIs for querying stocks, options, and cryptocurrency data, and executing trades. 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 pip install robin-stocks uv add robin-stocks poetry add robin-stocks ## Installing robin-stocks 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. 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") Requires Python 3.9 or later. Authentication with Robinhood, Gemini, or TD Ameritrade requires API credentials and may require two-factor authorization setup. 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_current - Install friction: low - Maintenance: aging - Downloads: 100.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags robinhood api wrapper, stock trading python, crypto api client, td ameritrade python, gemini exchange api, real-time stock quotes, trading algorithm library, trading-api, financial-data, broker-integration [View on SkillFed](https://skillfed.io/packages/robin-stocks) · [View on PyPI](https://pypi.org/project/robin-stocks/)