The Python SDK is coming soon. In the meantime, you can use the REST API directly with
httpx or requests.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python client for the ARBITER API.
httpx or requests.pip install arbiter-sdk
from arbiter import ArbiterClient
client = ArbiterClient(api_key="YOUR_API_KEY")
# List markets
markets = client.markets.list(limit=10)
# Get orderbook
book = client.markets.orderbook("poly_0x24fb...")
# Get trades
trades = client.markets.trades("poly_0x24fb...", limit=50)
import httpx
client = httpx.Client(
base_url="https://api.arbiterapi.com",
headers={"X-API-Key": "YOUR_API_KEY"},
)
# List markets
markets = client.get("/v1/markets", params={"limit": 10}).json()
# Get orderbook
book = client.get("/v1/markets/poly_0x24fb.../orderbook").json()
# Get OHLCV candles
candles = client.get("/v1/markets/poly_0x24fb.../candles", params={
"interval": "1h",
"start_ts": 1774300000,
}).json()