Metrics
List all metrics
Changed onReturns every available metric with its name, description and category. Use this to discover what individual metrics are available.
get/api/metrics
Request
- Base URLhttps://api.prereason.com
- Authnone required
Query parameters
category'bitcoin' | 'calculated' | 'eth' | 'macro'
Filter by category
searchstring
Search by name or description
Response
List of available metrics
Example response
{
"count": 26,
"metrics": [
{
"name": "bitcoin-price",
"display_name": "Bitcoin Price",
"description": "Current BTC price in USD",
"category": "bitcoin"
}
],
"categories": [
"bitcoin",
"macro",
"calculated",
"treasury"
],
"pro_only_metrics": [
"oil-brent",
"treasury-3mo"
]
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info