Introduction
Getting started
Overview
The Liveday API allows you to programmatically access transaction and analytics data for your organization. All requests use JSON and are authenticated with API keys.
Base URL
All API requests should be made to:
https://api.liveday.se
Quick start
1. Get your API key
Sign in to your Liveday dashboard and navigate to Settings > API Keys to generate a new API key. Keys start with sk_ and should be stored securely.
When creating a key, you'll assign scopes that determine which endpoints it can access. Currently the available scope is orders:read for transaction data. Use * for full access to all current and future endpoints.
2. Make your first request
curl "https://api.liveday.se/analytics_search/api/transactions?size=5&sort=date&order=desc" \
-H "Authorization: Bearer sk_your_api_key"
3. Check the response
{
"data": {
"total_count": 142,
"orders": [
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "anna@example.com",
"total_price": 59800,
"payment_method": "card",
"created_at": "2026-03-01T14:30:00Z",
"cart": {
"currency": "SEK",
"items": [
{
"name": "General Admission",
"quantity": 2,
"price": 29900,
"category": "ticket"
}
]
}
}
]
},
"trace_id": "abc123def456"
}
You should know
All API responses are wrapped in a standard envelope with data for the payload and trace_id for request tracing. Prices are always in the smallest currency unit (e.g. öre for SEK, cents for EUR).
Conventions
- Dates — All timestamps use ISO 8601 format (
2026-03-01T14:30:00Z). Date filter parameters (date_from,date_to) accept the same format. - Prices — Integers in the smallest currency unit (öre for SEK, cents for EUR). Divide by 100 for display.
- Currencies — Determined by your organization's configuration. Common values:
SEK,EUR,NOK,DKK. - Nulls — Optional fields are omitted from the response when null.
Environment
There is one environment — production (api.liveday.se). All API keys operate against live data. There is no sandbox or staging API.
Support
If you run into issues with the API, contact us at developers@liveday.se. Include the trace_id from the response to help us debug faster.