HTTP API
The Cadenza HTTP API provides REST endpoints for trading operations, account management, and market data access.
Base URL
https://cadenza-api.algo724.com/api/v3/
For testing and development, see UAT Environment.
Quick Reference
| Section | Description |
|---|---|
| General API Information | Base URLs, versioning, content types |
| HTTP Return Codes | HTTP status codes and meanings |
| Error Codes | API error codes and handling |
| General Information on Endpoints | Request methods, response format, pagination |
| Limits | Rate limits and request size limits |
| Data Sources | Where data comes from and latency |
| Request Security | Authentication and security best practices |
Endpoints
| Category | Description |
|---|---|
| Authentication | Login, logout, token management |
| Market Data | Venues, instruments, order books |
| Trade Orders | Submit, cancel, list orders |
| Trading Accounts | Connect and manage exchange accounts |
| Credentials | API credential management |
Quick Start
import requests
BASE_URL = "https://cadenza-api.algo724.com"
# 1. Login
response = requests.post(f"{BASE_URL}/api/v3/auth/login", json={
"email": "your@email.com",
"password": "your-password"
})
token = response.json()["data"]["accessToken"]
headers = {"Authorization": f"Bearer {token}"}
# 2. List venues
response = requests.get(f"{BASE_URL}/api/v3/market/venue/list", headers=headers)
venues = response.json()["data"]
# 3. Get order book
response = requests.get(
f"{BASE_URL}/api/v3/market/orderBook/get",
headers=headers,
params={"instrumentId": "BINANCE:BTC/USDT"}
)
order_book = response.json()["data"]
See Also
- Interactive API Docs - OpenAPI documentation
- HTTP API Quick Start - Tutorial
- UAT Environment - Testing environment