Raw events
Page through a site’s recorded events, one object per event, with a CrispStats API key that has the admin scope: from, to, cursor and limit, and what each field holds.
GET
Raw events
Returns the site’s own events, one object per event, oldest first. It is the API version of the raw events download, with the same fields, and it has no limit on how long a period you read: use it for a month with more than 500,000 events, or to read many months at once.
The cursor is the time and id of the last event read, and events come in that order, so paging never repeats an event. A cursor that was changed or comes from somewhere else is refused with
Days imported from Plausible are daily totals, not events, so this endpoint never returns them.
Access
The endpoint needs a key with the Admin scope. A key with only Read gets403 forbidden with Raw events need a key with the admin scope. Create one in your workspace settings, under API keys. Raw events carry the user ids your site sends with crispstats.identify, and visitor and session ids, which the dashboard shows only to owners and admins, and only owners and admins can create keys. See API keys.
Without a key the endpoint answers 401 unauthorized. The demo site has no raw events: a request for demo without a key gets 403 forbidden.
Each page counts as one request against your plan’s daily API allowance. See rate limits.
The period
from is required. from and to each take a day, YYYY-MM-DD, read in the site’s timezone, or an ISO 8601 timestamp.
- A day in
fromstarts at midnight in the site’s timezone. A day intoincludes that whole day. - A timestamp in
fromis inclusive; a timestamp intois exclusive. - Without
to, the period ends now. tomust be afterfrom.
from and to timestamps in UTC.
This endpoint takes only from, to, cursor and limit. Any other parameter is refused with 400 invalid_request, which names it.
Paging
limit sets the events per page, from 1 to 10,000, and defaults to 1,000. When a page is full, nextCursor holds a cursor: pass it back as cursor, with the same from and to, to read the next page. When nextCursor is null, you have every event in the period. A full last page can be followed by one empty page.
400 invalid_request.
The events
Each event has the 29 fields of the raw events columns, in the same order, with these differences from the CSV file:revenueis in integer minor units, such as4900for $49.00, with itscurrency.propsis the event’s properties as a JSON object.- A value that is not known is
null.
Authorizations
Path Parameters
Query Parameters
Last modified on November 25, 2026