Data Export
Data Export delivers the streaming data of your organization’s Clients as Apache Parquet files. A new export is created every day. It contains the data Revelator processed since the previous export, from all DSPs, in one standard schema. The endpoint returns the files of one export, each with a download link.
Usage Requirements
- Data Export must be enabled for your organization. An organization admin can request access from the workspace settings on the Revelator Platform. Revelator reviews the request and enables Data Export. Exports start once it is enabled; earlier data is not backfilled.
- Organizations only. Use an organization-level access token. Client accounts receive
403 Forbidden. The endpoint takes no organization or Client ID.
An organization has no data of its own, so the export contains the data of its Clients. For the access token, see Getting started. For the account hierarchy, see Organizations & Clients.
How It Works
- Call Get Data Export Files with an
exportDate. The response lists the files of that export, each with aurland anexpiresAt. - Download every file with a plain
GETon itsurl. - If a link expires before you download the file, call the endpoint again. The new links point to the same files.
- Repeat for each new export date. Keep track of the export dates you have collected. A
404for a recent date can mean the export is not ready yet, so check again later.
The request returns links, not data. Downloading the files is a separate step, and it does not go through the Revelator API.
Exports and Files
- One export per export date.
exportDateidentifies the daily export. It is not the date of the streams: an export holds everything processed since the previous export, which can include streams from several earlier days. - An export can span several files. Large exports are split into parts.
seqis the part number, and files are returned inseqorder. Download all of them to get the full export. - Files are Parquet. Read them with any Parquet-compatible tool.
- Retention is 180 days. After that, the date returns
404.
rowCount at the top level is the number of rows in the whole export. Each file also has its own rowCount.
Results
| Response | Meaning | What to do |
|---|---|---|
200 with files | The export is ready. | Download every file in files. |
200 with rowCount: 0 and no files | The export ran, but there was no new data to export. | Nothing to download. |
404 | No export is ready for the date. See Errors. | Nothing to download. |
Late Data
DSPs report some streams after the day they happened. Past exports are never regenerated. A late report is included in the next export, together with that day’s data.
For example, if a DSP’s report is missing on Monday, Monday’s export has no rows from that DSP. When the report arrives, Tuesday’s export includes it along with Tuesday’s data.
As a result, one export can contain several REPORT_DATE values, and rows whose STREAM_DATE is earlier than their
REPORT_DATE. Every row carries its STREAM_DATE, so append the rows of each export to your data instead of replacing
the data of a date.
Downloading Files
Each url is an HTTPS link that works until its expiresAt, which is 24 hours after the call. Download the file with
a plain GET. The link needs no Authorization header.
curl -L -o export-part-01.parquet "URL_FROM_THE_RESPONSE"
Anyone who has a link can download the file until it expires. Treat links like credentials: don’t log them or share them.
File Columns
Each row is a streaming record as a DSP reported it. The schema is fixed: every file has the same columns in the same order, for every organization.
- Only streams attributable to your Clients’ catalogs are included. Streams under 30 seconds are excluded for all DSPs.
- Rows keep the grain each DSP reports and are not re-aggregated.
- Values are not normalized across DSPs.
STREAM_SOURCE,SUBSCRIPTION_TYPE,DEVICE_TYPE,OS,GENDER,AGE_GROUP, andASSET_TYPEkeep each DSP’s own vocabulary and spelling.
| Column | Type | Description |
|---|---|---|
ARTIST_NAME | string | Name of the artist. |
TRACK_TITLE | string | Title of the track. |
ISRC | string | ISRC of the track. |
DSP | string | Name of the DSP that reported the stream. |
ENTERPRISE | string | Name of your organization. |
RELEASE_TITLE | string | Title of the release the track belongs to. |
UPC | string | UPC of the release. |
STREAM_DATE | date | Date the stream happened. A report can include streams from earlier days, so it can be earlier than REPORT_DATE. |
COUNTRY_CODE | string | Country of the listener. |
STREAM_SOURCE | string | Where the stream came from, such as a playlist or the listener’s library. The values are DSP-specific. |
PLAYLIST_URI | string | Identifier of the playlist, when the stream came from one. |
PLAYLIST_NAME | string | Name of the playlist, when the stream came from one. |
ASSET_TYPE | string | Type of the streamed content, such as audio. |
LISTENER_ID | string | Listener identifier supplied by the DSP in masked, hashed, or encrypted form. |
PLAY_DURATION | decimal | Play duration in seconds. |
CITY | string | Listener locality as reported by the DSP. Depending on the DSP, it can be a postal code or a geohash rather than a city name. |
REGION_CODE | string | Region of the listener. |
GENDER | string | Gender of the listener. |
AGE_GROUP | string | Age group or birth year of the listener, as reported by the DSP. |
SUBSCRIPTION_TYPE | string | Subscription or access type of the listener. |
DEVICE_TYPE | string | Type of device used to listen. |
OS | string | Operating system of the device. |
STREAM_COUNT | decimal | Number of streams the row represents. Sum it for totals: most DSPs report one stream per row, but some report daily totals. |
REPORT_DATE | date | Date of the DSP report the row comes from, as stated on the report. It is not necessarily the day Revelator received the report. |
DSPs don’t report every column. A missing value is null, never a placeholder string. A category that a DSP itself
reports as “other” or “unknown” is kept as a value.
Errors
| Status | When |
|---|---|
400 | exportDate is missing, sent more than once, or not a valid YYYY-MM-DD date. |
401 | The access token is missing, invalid, or expired. |
403 | The account is not an organization, for example a Client account. |
404 | No export is ready for the date. The export has not completed yet, your organization did not have Data Export enabled on that date, or the date is past the 180-day retention. |
Get Data Export Files
/analytics/v1/data-export/files Retrieves the export of one export date, with a download link for each of its files. The request returns links only; the files are downloaded separately.
Query Parameters
| Parameter | Description |
|---|---|
exportDate * string (date) | The export date ( Example: 2026-11-17 |
Responses
object exportDate string (date) dataType string raw_streaming.raw_streaming rowCount integer 0 when there was no new data to export. availableAt string (date-time) files DataExportFileListModel[] seq order. Empty when rowCount is 0. seq integer sizeBytes integer | null null. rowCount integer | null null. url string Authorization header and works until expiresAt. Treat it like a credential. expiresAt string (date-time) /analytics/v1/data-export/files curl -X GET "https://platform.revelator.com/analytics/v1/data-export/files?exportDate=2026-11-17" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" curl -X GET "https://platform.revelator.com/analytics/v1/data-export/files?exportDate=2026-11-17" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" Example response 200
{
"exportDate": "2026-11-17",
"dataType": "raw_streaming",
"rowCount": 1200000,
"availableAt": "2026-11-17T13:55:55.146Z",
"files": [
{
"seq": 1,
"sizeBytes": 52428800,
"rowCount": 700000,
"url": "https://<download-host>/.../raw_streaming_01.parquet?<signature>",
"expiresAt": "2026-11-18T14:10:00Z"
},
{
"seq": 2,
"sizeBytes": 36700160,
"rowCount": 500000,
"url": "https://<download-host>/.../raw_streaming_02.parquet?<signature>",
"expiresAt": "2026-11-18T14:10:00Z"
}
]
} {
"exportDate": "2026-11-17",
"dataType": "raw_streaming",
"rowCount": 1200000,
"availableAt": "2026-11-17T13:55:55.146Z",
"files": [
{
"seq": 1,
"sizeBytes": 52428800,
"rowCount": 700000,
"url": "https://<download-host>/.../raw_streaming_01.parquet?<signature>",
"expiresAt": "2026-11-18T14:10:00Z"
},
{
"seq": 2,
"sizeBytes": 36700160,
"rowCount": 500000,
"url": "https://<download-host>/.../raw_streaming_02.parquet?<signature>",
"expiresAt": "2026-11-18T14:10:00Z"
}
]
}