v1

latestOpenAPI 3.1.02026-07-24130315342.2 KB
Analytics Endpoints

Get events (by collection)

Get a list of events for a collection. Optionally filter by traits to only return events for items matching the specified trait criteria.

get/api/v2/events/collection/{slug}

Path parameters

slugstring required

Unique identifier for the collection

Query parameters

afterinteger

Only show events after this timestamp (Unix timestamp in seconds)

beforeinteger

Only show events before this timestamp (Unix timestamp in seconds)

event_typestring[]

Filter by event types. To get order invalidation and revalidation events, please use the Stream API. The order status can also be checked on the Get Order endpoint.

traitsstring

JSON array of trait filters. Each object has 'traitType' and 'value' fields. Multiple traits are AND-combined (items must match all). Example: [{"traitType":"Background","value":"Red"}]

limitinteger

Number of items to return per page

Example:20

Number of items to return per page

nextstring

Response

OK