Skip to main content
POST
Get market prices (request body)

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 market prices

Map of token ID to map of side to price

{key}
object