Skip to main content
GET
/
business_metrics
/
{business_metric_token}
/
values
Get business metric values
curl --request GET \
  --url https://api.vantage.sh/v2/business_metrics/{business_metric_token}/values \
  --header 'Authorization: Bearer <token>'
{
  "values": [
    {
      "date": "2024-01-03T00:00:00Z",
      "amount": "300.0"
    },
    {
      "date": "2024-01-02T00:00:00Z",
      "amount": "200.0"
    },
    {
      "date": "2024-01-01T00:00:00Z",
      "amount": "100.0"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_metric_token
string
required

Query Parameters

page
integer<int32>

The page of results to return.

limit
integer<int32>

The amount of results to return. The maximum is 1000.

start_date
string<date>

Query BusinessMetrics by the first date you would like to filter from. ISO 8601 Formatted - 2021-07-15

Response

BusinessMetricValues model

values
object[]
required