---
title: "/games/hq/results"
method: POST
path: "/v1/games/hq/results"
tags: ["internal"]
---

# /games/hq/results

`POST /v1/games/hq/results`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/games/hq/results`
- Auth: HTTP bearer

Log an anonymous client-scored daily game and return today's aggregate
stats. Points are recomputed from the logged distances so casual
tampering doesn't skew the percentile. Session play logs automatically —
this endpoint serves already-cached clients.

## Request body

- HqResultLog
  - `rounds` HqGuessLog[], required
    - `cvr` string, required
    - `distance_km` number, required
    - `points` integer, required

## Response `200`

Successful Response

- HqDailyStats
  - `date` string, required
  - `plays` integer, required
  - `percentile` integer, nullable: Share of today's plays this score beats (0-100)
  - `avg_score` integer, nullable
  - `hardest` HqHardestCompany
    - `cvr` string, required
    - `name` string, nullable
    - `avg_distance_km` number, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
