Skip to main content
POST
Get midpoint prices (query parameters)

Authorizations

Authorization
string
header
required

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

Body

application/json
token_id
string
required

Token ID (asset ID)

Example:

"0xabc123def456..."

side
enum<string>

Order side (optional, not used for midpoint calculation)

Available options:
BUY,
SELL
Example:

"BUY"

Response

Successfully retrieved midpoint prices

Map of token ID to midpoint price

{key}
string