Skip to main content

SDKs & Libraries

Official client libraries handle authentication, retries, pagination, and error handling so you can focus on your application logic.

Python

The official Python client supports both synchronous and asynchronous usage.

Install

pip install ticksupply

Quick example

from ticksupply import Client

client = Client(api_key="your_api_key")

# List exchanges
for exchange in client.exchanges.list():
    print(f"{exchange.code}: {exchange.display_name}")

# Create a subscription
sub = client.subscriptions.create(datastream_id=123)
print(f"Subscription: {sub.id}")

Features

  • Sync and asyncClient for synchronous code, AsyncClient for asyncio
  • Automatic retries — Retries on transient errors with exponential backoff
  • Auto-paginationlist_all() iterators handle pagination automatically
  • Typed models — Full type hints with Pydantic v2 models
  • Error handling — Typed exceptions (NotFoundError, RateLimitError, etc.)

Requirements

  • Python 3.10+
See the Python examples page for complete usage examples.

Other languages

Don’t see your language? You can use the REST API directly from any language — see the cURL examples for reference.
Last modified on February 15, 2026