> 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

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
