Get metadata
GET https://datafa.st/api/v1/analytics/metadata
Return website configuration metadata — domain, timezone, currency, KPI goal, and branding — for building custom dashboards or apps on top of the API. See apps built on the API for examples.
This endpoint has no date range or filters. It always reflects current website settings.
Related: Apps built on the API
Request
Query parameters
websiteIddft_ account token on Website API routes. Omit with a df_ website key. Example: ?websiteId=665f0b3c4d2e1a0012345678.fieldsdomain, timezone, name, logo, kpiColorScheme, kpi, currency. Returns all when omitted. Example: fields=domain,timezone,currency.Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data (and pagination when the endpoint is paginated).Response fields
data[].domaindata[].timezonedata[].namedata[].logodata[].kpiColorSchemedata[].kpidata[].currencyUSD or EUR.Authentication
df_website API key: The website is inferred from the key. You do not need awebsiteIdquery parameter.dft_account token: Requiresanalytics:readpermission and?websiteId=on every request. The token must be allowed to access that website.
Read authentication and scopes for token creation, permission lists, and scoped tokens.
Errors
400 — Invalid
fields value.404 — Website not found.
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.