Rates

Get Historical Market Rates

Returns historical market rates, for a given enabled pair.

Either both or none of begin and end query params are mandatory. If no begin and end QueryParams are indicated, the default response will return market prices of the last 24 hours.

get/api/v1/markets/{pair}/historical-rates

Request

  • Base URL: https://sandbox-b2b.ripio.com
  • URL: https://sandbox-b2b.ripio.com/api/v1/markets/{pair}/historical-rates
  • Auth: OAuth 2 (client credentials, token URL https://sandbox-b2b.ripio.com/oauth2/token/, scopes: read, write)

Query parameters

beginstring date-time
Example:2022-01-01T00:00:59Z

Sets the start of the filter, no rate befor the givn datetime will be returned.

endstring date-time
Example:2022-03-01T23:59:59Z

Sets the end of the filter, no rate after the given datetime will be returned.

increment'ONE_MINUTE' | 'FIVE_MINUTES' | 'FIFTEEN_MINUTES' | 'THIRTY_MINUTES' | 'ONE_HOUR' | 'ONE_DAY' | 'ONE_WEEK' | 'TWO_WEEKS' | 'FOUR_WEEKS' choice

Sets the increment between frames.

max_data_pointinteger

Value of maximum data points to be grouped as a dynamic increment, if this parameter is given, the increment parameter will be ignored.

limitinteger

Pagination limit parameter, sets the maximum amount of items to be returned.

offsetinteger

Offset pagination parameter, sets the number of elements that needs to be skipped.

Response

Successful response

marketstring

Pair of currencies composed by a base asset and a quote asset, separated by a underscore.

Changes

No recorded changes to this operation across all 1 revision of this API.