# Hosted loads information

## Request&#x20;

**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&#x20;

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

{% hint style="info" %}

* String for API <mark style="background-color:red;">**?**</mark>**startTime=2024-09-11T06:00:00.000Z\&endTime=2024-09-11T09:00:00.000Z**
* Sample: <https://racemap.com/api/events/66e1410315ad59b9f52f1923/pageviews?startTime=2024-09-11T06:00:00.000Z&endTime=2024-09-11T09:00:00.000Z>
  {% endhint %}

## Response

<table><thead><tr><th width="139">Field</th><th>Description</th><th>Sample</th></tr></thead><tbody><tr><td><code>eventId</code></td><td>Unique id of event in RACEMAP, can be regular, group or stage event</td><td><code>"66bf4318d1c783279d183dd3"</code></td></tr><tr><td><code>time</code></td><td>Time in UTC</td><td><code>"2024-08-16T14:00:00.000Z"</code></td></tr><tr><td><code>type</code></td><td>Type of the endpoint</td><td><code>"MAP"</code> or <code>"TIMES_API"</code> or <code>"CURRENT_API"</code></td></tr><tr><td><code>count</code></td><td>Hourly number of loads</td><td><code>1</code> or <code>547</code></td></tr><tr><td><code>id</code></td><td>The unique id of the loads</td><td><code>"66bf5ccec31b3891a31c08e4"</code></td></tr></tbody></table>

### Sample response

```json
[
  {
    "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"
  }
]
```
