Skip to main content
POST
/
market-data
/
prices
Get Prices
curl --request POST \
  --url http://localhost:8000/market-data/prices \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector_name": "<string>",
  "trading_pairs": [
    "<string>"
  ]
}
'
{
  "connector": "<string>",
  "prices": {},
  "timestamp": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request model for getting prices

connector_name
string
required

Name of the connector

trading_pairs
string[]
required

List of trading pairs to get prices for

Response

Successful Response

Response for prices data

connector
string
required

Connector name

prices
Prices · object
required

Trading pair to price mapping

timestamp
number
required

Response timestamp