curl --request GET \
--url https://api.finsync.ar/api/home-metrics/values \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/home-metrics/values"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"values": [
{
"id": "<string>",
"available": true,
"unavailable_reason": "<string>"
}
]
}Get dashboard home metric values
Computes current values for the requested metric ids (comma-separated ids). Omit ids to fetch every metric available to the caller. Optional date (YYYY-MM-DD, ART) applies to FX pairs and the day-P&L trio. Same availability rules as GET /api/home-metrics. Unavailable requested ids are returned with available: false and unavailable_reason instead of failing the whole request. The legacy fx-rates id expands to one fx-rate:{CURRENCY} value per company pair.
curl --request GET \
--url https://api.finsync.ar/api/home-metrics/values \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/home-metrics/values"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"values": [
{
"id": "<string>",
"available": true,
"unavailable_reason": "<string>"
}
]
}Authorizations
API Key for authentication
Query Parameters
Comma-separated metric ids (fx-rate:ARS, mesa-volumes, …). Legacy fx-rates expands to every company pair. Omit to return every available metric.
ART calendar day for day-P&L / commissions / cost-center cards. Defaults to today ART.
Response
Metric values in request order (or catalog order when ids is omitted)
Show child attributes
Show child attributes