Skip to main content
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.

Access

The endpoint needs a key with the Admin scope. A key with only Read gets 403 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 from starts at midnight in the site’s timezone. A day in to includes that whole day.
  • A timestamp in from is inclusive; a timestamp in to is exclusive.
  • Without to, the period ends now.
  • to must be after from.
The response echoes the resolved period as 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.
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 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:
  • revenue is in integer minor units, such as 4900 for $49.00, with its currency.
  • props is the event’s properties as a JSON object.
  • A value that is not known is null.
Days imported from Plausible are daily totals, not events, so this endpoint never returns them.

Authorizations

Authorization
string
header
required

An API key that starts with cs_sk_, created in your workspace settings, under API keys.

Path Parameters

siteId
string
required

The site's id, from GET /sites. Unlike the reports, raw events need a key even for the public demo site demo.

Query Parameters

from
string
required

Start: a day (YYYY-MM-DD, in the site's timezone) or an ISO timestamp, inclusive.

to
string

End: a day (inclusive, the whole day) or an ISO timestamp (exclusive). Defaults to now.

cursor
string

nextCursor from the previous page.

limit
integer
default:1000

Events per page, 1 to 10000.

Required range: 1 <= x <= 10000

Response

One page of events.

site
string
required
from
string<date-time>
required
to
string<date-time>
required
events
object[]
required
nextCursor
string | null
required
Last modified on November 25, 2026