Best analytics tool I've used in 14 years

Get website metadata

GET https://datafa.st/api/v1/analytics/metadata

Retrieve website configuration metadata for your site. Requires Bearer Token authentication.

Response

Success (200 OK): Returns website configuration metadata

{
  "status": "success",
  "data": [
    {
      "domain": "example.com",
      "timezone": "America/New_York",
      "name": "My Awesome Website",
      "kpiColorScheme": "orange",
      "kpi": "signup",
      "currency": "USD"
    }
  ]
}

Response fields

  • domain (string): The website domain
  • timezone (string): Website timezone in IANA timezone format (e.g., "America/New_York", "UTC")
  • name (string): Custom website name
  • kpiColorScheme (string): Color scheme for KPI visualization. Possible values: "red", "orange", "yellow", "green", "purple", "pink", "gray", "blue", "teal", "indigo"
  • kpi (string | null): Custom goal/event name set as the key performance indicator for this website
  • currency (string): Currency code (e.g., "USD", "EUR", "GBP")

Errors

  • 401 Unauthorized: Missing or invalid API key
  • 404 Not Found: Website not found
  • 500 Internal Server Error: Server-side issue
Something missing? Suggest features ✍️