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 domaintimezone(string): Website timezone in IANA timezone format (e.g., "America/New_York", "UTC")name(string): Custom website namekpiColorScheme(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 websitecurrency(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