Skip to navigation

Get an asset

One asset by id. A removed asset is 404.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

assetIdstringRequired
The asset id.

Response

The asset.
assetIdstring
The asset's id. Ids are opaque strings.
symbolstring

The asset's symbol, as instrument symbols spell it: the BTC in OKX@BTC/USDT.

typestring

The asset class: COIN, TOKEN, FIAT, STABLE_COIN, INDEX, COMMODITY, STOCK or OTHER. Append-only: tolerate values you don't know.

updatedAtNsstring or nullformat: "^[0-9]+$"
When the asset record last changed, as a sequencer timestamp in epoch nanoseconds. Null when unknown.

Errors

400
Get Assets Request Bad Request Error
401
Get Assets Request Unauthorized Error
404
Get Assets Request Not Found Error
503
Get Assets Request Service Unavailable Error