Skip to main content

API Endpoints

Complete reference for all Cadenza HTTP API endpoints.

Authentication

User authentication and token management.

EndpointMethodDescription
auth.loginPOSTLogin with email/password
auth.logoutPOSTLogout and invalidate session
auth.signupPOSTCreate new user account
auth.token-refreshPOSTRefresh access token
auth.userGETGet current user info
auth.user-updatePUTUpdate current user

Market Data

Market information and order books.

EndpointMethodDescription
market.venue.listGETList available venues
market.instrument.listGETList instruments
market.instrument.syncPOSTSync instruments from exchange
market.orderbook.getGETGet order book
market.orderbook.listGETGet multiple order books

Trade Orders

Order submission and management.

EndpointMethodDescription
tradeOrder.submitPOSTSubmit new order
tradeOrder.cancelPOSTCancel order
tradeOrder.listGETList orders

Trading Accounts

Exchange account management.

EndpointMethodDescription
tradingAccount.connectPOSTConnect exchange account
tradingAccount.disconnectPOSTDisconnect account
tradingAccount.listGETList accounts
tradingAccount.portfolio.listGETList portfolio positions

Credentials

API credential management.

EndpointMethodDescription
credential.createPOSTCreate credential
credential.listGETList credentials
credential.revokePOSTRevoke credential

Common Parameters

Pagination

List endpoints support pagination with these parameters:

ParameterTypeDescription
limitintegerMaximum items to return (default: 10, max: 100)
offsetintegerNumber of items to skip
cursorstringCursor for next page

Filtering

Many list endpoints support filtering:

ParameterTypeDescription
venuestringFilter by exchange (e.g., BINANCE)
statusstringFilter by status
startTimeintegerStart time (milliseconds)
endTimeintegerEnd time (milliseconds)

Response Format

All responses follow this structure:

{
"data": { ... },
"success": true,
"errno": 0,
"error": null
}

List responses include pagination:

{
"data": [ ... ],
"success": true,
"errno": 0,
"error": null,
"pagination": {
"offset": 0,
"limit": 10,
"total": 100
}
}