Skip to main content

Module api

Module api 

Source
Expand description

Typed request/response models and endpoint methods, grouped by OKX API area.

Each submodule exposes an accessor type (e.g. market::Market) reachable from the OkxClient, plus the request and response models for that area.

Modulesยง

account
Authenticated trading-account endpoints (/api/v5/account/*).
convert
Authenticated Convert endpoints (/api/v5/asset/convert/*).
finance
Authenticated trading-account endpoints (/api/v5/finance/*).
funding
Authenticated trading-account endpoints (/api/v5/assert/*).
market
Public market-data endpoints (/api/v5/market/*).
public_data
Public reference-data endpoints (/api/v5/public/*).
trade
Authenticated trading endpoints (/api/v5/trade/*).