GET
/
v1
/
analytics
/
lifetime
curl --request GET \
  --url https://api.oneofnone.io/v1/analytics/lifetime \
  --header 'x-api-key: <api-key>'
{
  "meta": {
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "team_name": "<string>",
    "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "collection_name": "<string>",
    "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "product_name": "<string>",
    "applied_filters": {}
  },
  "metrics": {
    "total_sales": 1,
    "total_taps": 1,
    "total_registrations": 1,
    "total_activities": 1,
    "total_vault_views": 1,
    "total_unique_visitors": 1
  },
  "breakdowns": {
    "sales_by_period": [
      {
        "period": "2023-12-25",
        "value": 1
      }
    ],
    "taps_by_period": [
      {
        "period": "2023-12-25",
        "count": 1
      }
    ],
    "registrations_by_period": [
      {
        "period": "2023-12-25",
        "count": 1
      }
    ],
    "activities_by_period": [
      {
        "period": "2023-12-25",
        "count": 1
      }
    ],
    "vault_views_by_period": [
      {
        "period": "2023-12-25",
        "count": 1
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Query Parameters

team_id
string

The team ID to filter by. Either team_id or team_slug must be provided.

team_slug
string

The team slug to filter by. Either team_id or team_slug must be provided.

collection_id
string

The collection ID to filter by.

collection_slug
string

The collection slug to filter by.

product_id
string

The product ID to filter by.

country
string

The country code to filter by.

region
string

The region code to filter by.

Response

200
application/json

Successfully fetched lifetime product analytics.

The response is of type object.