Get Latest Spot Prices

get/api/assetpricing/v1/latest/prices/spot

Retrieves the most recent spot price data for one or more asset pairs. Supports comma-separated pairs (e.g., 'BTC-USD,ETH-USD') or multiple bases with a single quote (e.g., base='BTC,ETH' quote='USD'). This endpoint returns the latest raw price tick data including timestamp information. The data represents real-time price information.

Query Parameters

  • requestobjectRequired
    Query parameters for latest spot price retrieval
    • baseToQuoteIdstring
      BaseToQuoteId in format 'BASE-QUOTE' or comma-separated pairs 'BASE1-QUOTE1,BASE2-QUOTE2'
      Example: BTC-USD,ETH-USD
      Pattern: ^[a-zA-Z0-9]+-[a-zA-Z0-9]+(,[a-zA-Z0-9]+-[a-zA-Z0-9]+)*$
    • basestring
      Base asset identifier or comma-separated list
      Example: BTC,ETH,SOL
    • quotestring
      Quote asset identifier
      Example: USD
    • pageinteger<int32>Required
      Page number for pagination
      0
    • sizeinteger<int32>Required
      Page size for pagination
      Example: 20
    • sortBystringRequired
      Sort field
      Example: baseAsset
      Pattern: ^(baseAsset|quoteAsset)$
      Enum: baseAsset quoteAsset
    • sortDirectionstringRequired
      Sort direction
      Example: DESC
      Pattern: ^(ASC|DESC)$
      Enum: ASC DESC

200 Response

baseAsset string required
Base asset identifier (e.g., 'BTC' for Bitcoin)
Example: BTC
quoteAsset
string or null
Quote asset identifier (e.g., 'USD' for US Dollar)
Example: USD
price
string or null
Current spot price of the asset pair
Example: 50000.0
timestamp
string or null
Timestamp when the price was recorded in ISO 8601 format
Example: 2023-01-01T12:00:00.000Z
ingestedAt
string or null
Timestamp when the price was ingested into the system in ISO 8601 format
Example: 2023-01-01T12:00:01.000Z
error
string or null
Error message if the price could not be retrieved for this asset pair
Example: No prices for asset pair XXX-YYY

400 Response

string