Hosted loads information

The loads API allows to retrieve hourly load data for specific endpoints over a set time period. By leveraging this API, you can automatically monitor load consumption.

Request

URL https://racemap.com/api/events/:eventId/pageviews?startTime=yyyy-mm-ddThh:mm:ss.SSSZ&endTime=yyyy-mm-ddThh:mm:ss.SSSZ Method GET Sample https://racemap.com/api/events/66bf4318d1c783279d183dd3/pageviews?startTime=2022-09-19T14:00:19.000Z&endTime=2024-09-23T23:59:59.999Z

Query parameters

Set the event's start- and end times in UTC to specify the time frame for which you want to retrieve the load data.

Response

FieldDescriptionSample

eventId

Unique id of event in RACEMAP, can be regular, group or stage event

"66bf4318d1c783279d183dd3"

time

Time in UTC

"2024-08-16T14:00:00.000Z"

type

Type of the endpoint

"MAP" or "TIMES_API" or "CURRENT_API"

count

Hourly number of loads

1 or 547

id

The unique id of the loads

"66bf5ccec31b3891a31c08e4"

Sample response

[
  {
    "eventId": "66e1410315ad59b9f52f192",
    "time": "2024-09-11T07:00:00.000Z",
    "type": "MAP",
    "count": 24,
    "id": "66e1444cc31b3891a31edd89"
  },
  {
    "eventId": "66e1410315ad59b9f52f192",
    "time": "2024-09-11T07:00:00.000Z",
    "type": "TIMES_API",
    "count": 1,
    "id": "66e147efc31b3891a3224d58"
  },
  {
    "eventId": "66e1410315ad59b9f52f192",
    "time": "2024-09-11T07:00:00.000Z",
    "type": "CURRENT_API",
    "count": 360,
    "id": "66e14937c31b3891a3237513"
  }
]

Last updated

Logo

Maps: ©Mapbox ©OpenStreetMap ©Racemap