Skip to Content
ReferenceAPI referenceGeo Locations

List the countries with the most events, unfiltered

GET
/api/v1/geo-locations/top-countries

Returns countries ordered by event count. Ranges over 24 hours read the location aggregates, which count whole hours or UTC days, from the one that holds fromTimestamp through the last one that starts before toTimestamp. /api/v1/geo-events/top-countries also counts unique IPs and takes filters.

Authorization

cookiesession<token>

Session cookie authentication.

Query Parameters

fromTimestamp*string

Start of the range, inclusive, as ISO 8601 with a timezone, such as 2026-11-01T00:00:00Z.

Formatdate-time
toTimestamp*string

End of the range, exclusive, as ISO 8601 with a timezone, such as 2026-11-02T00:00:00Z.

Formatdate-time
limit?integer

How many countries to return, from 1 to 50. Defaults to 10.

Range1 <= value <= 50
Default10

Response Body

Request fulfilled, document follows

application/json
  1. response

Countries ordered by geo event count, most first.

topCountries?array<>
Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/geo-locations/top-countries?fromTimestamp=2026-11-01T00%3A00%3A00Z&toTimestamp=2026-11-02T00%3A00%3A00Z'
Example Response
{  "topCountries": [    {      "countryCode": "string",      "countryName": "string",      "eventCount": 0    }  ]}