> For the complete documentation index, see [llms.txt](https://docs.racemap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.racemap.com/api/post-race-analysis.md).

# Post-race analysis

Replay and explore finished events with the Current API Analyser. Compare participants, gaps, speeds and ETAs after the race — no code required.

After an event has finished, you can replay and explore its data with the **Current API Analyser**. The tool calls the [\*/current API](/api/current.md) over a time window you choose and lets you compare participants, gaps, speeds and ETAs — no code required.

{% embed url="<https://racemap.com/current-api-analyser/100km-duathlon-2026?refStarterId=69f357aee863ca7e7bfc6865&starterId=69f33559fd27920e359dad0e&endAt=2026-05-02T15%253A00%253A00.000%252B02%253A00&beginAt=2026-05-02T08%253A00%253A00.000%252B02%253A00&autoFetch=true>" %}

{% hint style="info" %}
[<mark style="color:blue;">**Open the Current API Analyser — 100 km Duathlon 2026 sample**</mark>](https://racemap.com/current-api-analyser/100km-duathlon-2026?refStarterId=69f357aee863ca7e7bfc6865\&starterId=69f33559fd27920e359dad0e\&endAt=2026-05-02T15%253A00%253A00.000%252B02%253A00\&beginAt=2026-05-02T08%253A00%253A00.000%252B02%253A00\&autoFetch=true)\
Play around with a real finished race: change the reference participant, the time window and the parameters.
{% endhint %}

### Video walkthrough

{% embed url="<https://youtu.be/B0QLp9wi-F8>" %}
Post-race analysis with the RaceMap Current API — compare participants, read gap distance and gap time, and find the exact moment of maximum lead.
{% endembed %}

### What you can change

The analyser is driven by the URL parameters, so you can bookmark or share any view you set up:

* `beginAt` / `endAt` — the start and end of the analysis time window (ISO timestamps). Narrow it to a single lap, or widen it to the whole race.
* `starterId` — the participant to compare against the reference.
* `refStarterId` — the reference participant the gaps are calculated against (`gap`, `gapAverage`, `gapChase`, `gapDistance`).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.racemap.com/api/post-race-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
