Documentation

BlueHouse API

Rate change

LiveImplemented and served directly by BlueHouse.

Returns the absolute and percentage change of a requested rate type over a period.

GET/api/v1/rates/{type}/change

Parameters

FieldTypeDescription
type*HouseNameOne of: oficial, blue, bolsa, contadoconliqui, mayorista, cripto, tarjeta.
period"24h" | "7d" | "4w" | "30d" | "YTD" | "3month" | "1y"Period over which change is measured.
field"buy" | "sell" | "mid"Quote side compared.

Response

FieldTypeDescription
dataobjectChange summary for the requested period.
currentnumber | nullLatest value of the selected field.
previousnumber | nullValue at the start of the period (as-of lookup).
absoluteChangenumber | nullcurrent minus previous.
percentageChangenumber | nullRelative change over the period.

Example

{
  "data": {
    "period": "7d",
    "field": "mid",
    "current": 1420,
    "previous": 1390,
    "absoluteChange": 30,
    "percentageChange": 2.1583
  },
  "queryTime": 3
}