Retrieve market data
GET/v1/market_data
Retrieve market data snapshot using the specified criteria.
Request
Query Parameters
Possible values: [average, best]
The instruments of interest.
Possible values: [SPOT, TOD, TOM]
Responses
- 200
- 401
- 403
- 409
- 500
Market data successfully retrieved.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
Source of the market data. If aggregated this will be ABX.
Instrument expressed as a currency pair.
bid
object[]
Bid prices and quantities.
Price for the given quantity.
Price for the given quantity.
ask
object[]
Ask prices and quantities.
Price for the given quantity.
Price for the given quantity.
The timestamp of the event in ISO 8601 format.
[
{
"source": "string",
"instrument": "string",
"bid": [
{
"price": 0,
"quantity": 0
}
],
"ask": [
{
"price": 0,
"quantity": 0
}
],
"timestamp": "2024-07-29T15:51:28.071Z"
}
]
Authentication token is required for this action that was not provided, expired or invalid.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
Not authorized for the requested action.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
Action could not be completed because of conflict.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}