snaptrade-python-sdk
Client for SnapTrade
What it is and what it does
The snaptrade-python-sdk is a client library that wraps the SnapTrade API, allowing developers to integrate live brokerage account data and trading capabilities into their applications. It handles authentication, account enumeration, position retrieval, order placement, and transaction synchronization across multiple connected brokerages through a unified Python interface.
The SDK is built on standard async-capable HTTP libraries (aiohttp, urllib3, cryptography) and provides both synchronous and asynchronous endpoints. It requires API credentials and manages user registration, secret generation, and brokerage authorization flows. The library supports Python 3.8 through 3.11 and is actively maintained, with a release cycle that includes experimental endpoints and periodic API updates.
Use it for:
- Aggregate live account balances and positions from multiple brokerages into a unified portfolio dashboard.
- Execute trades programmatically across different brokerages using a single SDK interface.
- Retrieve historical order details, transaction records, and return rates for reporting or analysis.
- Manage multi-leg and complex orders, including cryptocurrency and options trading.
- Sync brokerage transaction data and refresh authorization tokens to maintain account connectivity.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK client for SnapTrade's brokerage connection API, enabling live account access, position queries, and order placement across multiple brokerages.
Yes, if you need to integrate live brokerage account access and trading into a Python application. The SDK is actively maintained, has low install friction, carries a permissive MIT license, and requires no system dependencies. Verify that SnapTrade supports your target brokerages and that the API's rate limits and data freshness meet your use case before committing.
Install
snaptrade-python-sdk on PyPI
pip
pip install snaptrade-python-sdkuv
uv add snaptrade-python-sdkpoetry
poetry add snaptrade-python-sdkInstalling snaptrade-python-sdk
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a release 1 day old. Standard web client dependencies (aiohttp, urllib3, cryptography) with no compiled extensions.
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.
Quickstart
pip install snaptrade-python-sdk==13.0.2
import snaptrade_python_sdk
import os
# Initialize with API credentials from environment
# See documentation for authentication setup
api_response = snaptrade_python_sdk.api_status.check()
Requires API credentials (consumer key and client ID); Python >=3.8 and <4.0.
Verify before relying
- Exact module and class names for initialization and API calls.
- Whether the SDK supports all major brokerages or a limited subset.
- Real-time vs. delayed data availability and refresh frequency.
- Rate limiting and concurrent request handling characteristics.
- Error handling and retry behavior for failed brokerage connections.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — aiohttp, certifi, cryptography, frozendict, python-dateutil, typing_extensions, urllib3 |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 166,496/month — #10,493 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: snaptrade_python_sdk-13.0.2-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
growwapiSDK for connecting to Groww's trading platform…
permissive · top 15,000 on PyPI
fyers-apiv3Official Python client library for the Fyers…
permissive · top 15,000 on PyPI
polymarket-clientOfficial Python SDK for Polymarket that…
permissive · top 15,000 on PyPI
ib_asyncib_async provides a Python interface to…
permissive · top 15,000 on PyPI
alpaca-trade-apiPython client library for the Alpaca Commission…
unclear · top 15,000 on PyPI
hyperliquid-python-sdkPython SDK for trading on the Hyperliquid…
permissive · top 15,000 on PyPI
tradingview-taRetrieves technical analysis indicators and…
permissive · top 15,000 on PyPI
kiteconnectOfficial Python client for the Kite Connect…
permissive · top 15,000 on PyPI
hubspot-api-clientPython SDK for the HubSpot API v3 that provides…
permissive · top 5,000 on PyPI
pybitpybit is the official Python connector for…
permissive · top 15,000 on PyPI