Get Market Price
Market Information
Get Market Price
Retrieve the current best price for a specific token and side (BUY or SELL).
GET
Get Market Price
Documentation Index
Fetch the complete documentation index at: https://docs.swaps.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Contact Swaps.xyz to obtain an API key.
Query Parameters
CLOB token ID
Order side (BUY or SELL)
Available options:
BUY, SELL Response
Current market price
Current best price for the specified side
Example:
"0.52"