Information

Exchange metadata, markets, and configuration

Health check

get
/health

Check API server health status

Responses
chevron-right
200

Server is healthy

text/plain
stringOptionalExample: ok
get
/health
200

Server is healthy

Get API version

get
/version

Returns current API version and build information

Responses
chevron-right
200

Version information

application/json
versionstringOptionalExample: 1.0.0
gitCommitstringOptionalExample: a1b2c3d
buildTimestringOptionalExample: 2024-01-20T10:00:00Z
get
/version
200

Version information

Get server time

get
/api/time

Returns current server timestamp in milliseconds

Responses
chevron-right
200

Server time

application/json
timeinteger · int64OptionalExample: 1705790400000
get
/api/time
200

Server time

Get exchange information

post
/info

Versatile endpoint for fetching various exchange information based on request type

Body
typestring · enumRequired

Request type

Possible values:
userstringOptional

User address (required for user-specific queries)

Example: 0x1234567890abcdef1234567890abcdef12345678
coinstringOptional

Market symbol

Example: BTC
dexstringOptional

DEX name or market filter

startTimeinteger · int64Optional

Start timestamp in milliseconds

endTimeinteger · int64Optional

End timestamp in milliseconds

oidinteger · int64Optional

Order ID

mantissaintegerOptional

Order book depth

nSigFigsintegerOptional

Number of significant figures for price aggregation

Responses
chevron-right
200

Requested information

application/json
or
or
post
/info
200

Requested information

Last updated