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}/changeParameters
| Field | Type | Description |
|---|---|---|
| type* | HouseName | One 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
| Field | Type | Description |
|---|---|---|
| data | object | Change summary for the requested period. |
| current | number | null | Latest value of the selected field. |
| previous | number | null | Value at the start of the period (as-of lookup). |
| absoluteChange | number | null | current minus previous. |
| percentageChange | number | null | Relative change over the period. |
Example
{
"data": {
"period": "7d",
"field": "mid",
"current": 1420,
"previous": 1390,
"absoluteChange": 30,
"percentageChange": 2.1583
},
"queryTime": 3
}