Get metrics
Query Parameters
stringdate
The start date of the custom date range. Defaults to 30 days ago if not specified.
stringdate
The to (inclusive) date of the custom date range. Defaults to the current date if not specified.
Returns
numberrequired
The number of supported UN Sustainable Development Goals (SDGs).
numberrequired
The number of supported carbon offset projects.
array of objectrequired
The list of supported UN Sustainable Development Goals (SDGs).
The array is sorted by the goal number (the un_sdg_number
field), ascending.
curl 'https://api.lune.co/v1/analytics/metrics' \
-H 'Authorization: Bearer <API_KEY>'
{
"number_of_un_sdgs": 10,
"number_of_projects": 10,
"un_sdg": [
{
"un_sdg_number": 1,
"occurrences": 5
}
]
}