Get Exchange Rates

https://app.myhealthnote.com/api/fhir/Dash/system/exchange-rates
SYSTEM API GET ACTIVE 1000/hour v1.0.0
Description

Get real-time and past exchange rates for currency conversions within the MyHealthNote Ecosystem.

Endpoint
https://app.myhealthnote.com/api/fhir/Dash/system/exchange-rates
Request Examples

cURL

curl -X GET \
  "https://app.myhealthnote.com/api/fhir/Dash/system/exchange-rates" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Accept: application/json"

JavaScript/Node.js

const response = await fetch("https://app.myhealthnote.com/api/fhir/Dash/system/exchange-rates", {
    headers: {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN",
        "Accept": "application/json"
    }
});

const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://app.myhealthnote.com/api/fhir/Dash/system/exchange-rates",
    headers={
        "Authorization": "Bearer YOUR_ACCESS_TOKEN",
        "Accept": "application/json"
    }
)

print(response.json())
Parameters
Parameter Type Required Default Description
source string No USD Source currency code
target string No - Target currency code (optional for all rates)
date date No - Historical date for rates
Response Example
{
  "resourceType": "Bundle",
  "entry": [
    {
      "resource": {
        "resourceType": "Observation",
        "valueQuantity": {
          "value": 1.23,
          "unit": "EUR per USD"
        }
      }
    }
  ]
}
Try It Out

Enter your API token to test this endpoint: