Soundlink metrics breakdown export (JSONL)
Streams the full country-level metrics dataset for a soundlink as
newline-delimited JSON (JSONL). Every line is a complete, valid
JSON object conforming to the soundlink_country_daily v1.0 schema
— identical to the rows returned by GET /metrics/breakdown but
without pagination or an envelope wrapper.
Designed for data pipeline consumers: load directly into BigQuery, Snowflake, or any JSONL-aware ingest tool without cursor logic.
Usage:
Date range: if you omit both dates, defaults to the last 90 days
ending today. Override with startDate / endDate. Responses are
capped at 90 days — a wider range returns 400 invalid_query_parameter.
Page longer histories in 90-day slices.
Mutability: rows for a given report_date can be revised for up
to 7 days after the date closes due to delayed Spotify playback
events. Re-fetching and re-ingesting on the primary key is safe
(idempotent).
Requires the soundlinks:read scope. Accepts API key or OAuth Bearer.
Authorizations
Path Parameters
Query Parameters
Response
JSONL stream. Each line is a soundlink_country_daily v1.0 row.
Lines are sorted by (report_date asc, country_code).
One row of the soundlink_country_daily v1.0 schema.
Primary key: (provider, account_id, report_date, soundlink_id, country_code).
Rows are idempotent — re-ingesting on the primary key is safe.
Values for a given report_date may be revised for up to 7 days after
the date closes due to delayed Spotify playback events.
Rows contain no financial fields.
CTA clicks across all DSPs on the landing page (including DSPs
without a dedicated column). Always >= the sum of
spotify_link_clicks + apple_music_link_clicks +
youtube_music_link_clicks — do not derive a per-DSP count by
subtraction. Null if not tracked for this soundlink type.