Documentation

BlueHouse API

Convert an amount

LiveImplemented and served directly by BlueHouse.

Converts an amount in Argentine pesos to USD using a rate at a requested date and time.

POST/api/v1/convert

When no observation exists on the requested day, the API averages the nearest prior and following daily values.

Request body

FieldTypeDescription
amount*numberAmount in Argentine pesos.
currency*HouseNameRate type used for conversion.
side*"buy" | "sell" | "mid"Quote side used in the calculation.
datetime*ISO 8601 stringPoint in time used to select the rate.

Response

FieldTypeDescription
dataobjectConversion result.
amountnumberInput amount in Argentine pesos.
convertedAmountnumberAmount in US dollars.
ratenumberRate used for the conversion.
side"buy" | "sell" | "mid"Quote side used.
currencyHouseNameRate type used.
requestedAtISO 8601 stringRequested point in time.
rateDateISO 8601 stringEffective timestamp of the rate used.
interpolatedbooleanTrue when the rate is the average of the nearest prior and following observations.
rateSourcesobject[]Observations behind the rate (one or two).

Example

{
  "data": {
    "amount": 125000,
    "convertedAmount": 96.1538,
    "rate": 1300,
    "side": "sell",
    "currency": "blue",
    "requestedAt": "2026-07-15T14:32:00.000-03:00",
    "rateDate": "2026-07-15T14:22:11.000-03:00",
    "interpolated": false,
    "rateSources": [
      {
        "rateDate": "2026-07-15T14:22:11.000-03:00",
        "value": 1300
      }
    ]
  },
  "queryTime": 4
}