skillfed

snaptrade-python-sdk

Client for SnapTrade

snaptrade-python-sdk v13.0.2 166.5K downloads/30d#10,493 on PyPI
Permissive license MIT Active released

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-sdk

uv

uv add snaptrade-python-sdk

poetry

poetry add snaptrade-python-sdk

Installing 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

brokerage account integrationtrading api clientmulti-broker account accesslive positions and ordersbrokerage connection sdktrading account aggregationbroker api wrapper
brokerage-integrationtrading-apifinancial-data

More WWW/HTTP packages