List the countries with the most geo events
Returns countries ordered by event count, with the distinct IPs from each. A server filter reads the raw rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
session<token>Session cookie authentication.
countryCodeIn?array<string>|Keep only these countries, as uppercase two-letter ISO 3166-1 codes such as NO. Repeat the parameter to pass more than one.
cityIn?array<string>|Keep only these cities, by the exact name GeoIP gives, such as Oslo. Repeat the parameter to pass more than one.
ipAddressIn?array<string>|Keep only these client IPs or ranges. Repeat the parameter to pass more than one. Each value is an address or a CIDR range such as 203.0.113.0/24. A range with host bits set, or a value that is neither, gets a 400.
ipAddressNotIn?array<string>|Leave out these client IPs or ranges. Repeat the parameter to pass more than one. Each value is an address or a CIDR range such as 203.0.113.0/24. A range with host bits set, or a value that is neither, gets a 400.
serverIn?array<string>|Keep only rows recorded under these server names. Repeat the parameter to pass more than one.
asnIn?array<integer>|Keep only these autonomous system numbers, such as 13335. Repeat the parameter to pass more than one. Rows without ASN data are left out.
asnNotIn?array<integer>|Leave out these autonomous system numbers. Repeat the parameter to pass more than one. Rows without ASN data stay in.
excludeMutedIps?booleanLeave out the muted IPs. An IP include filter on the same request wins.
falsefromTimestamp*stringStart of the range, inclusive, as ISO 8601 with a timezone, such as 2026-11-01T00:00:00Z.
date-timetoTimestamp*stringEnd of the range, exclusive, as ISO 8601 with a timezone, such as 2026-11-02T00:00:00Z.
date-timelimit?integerHow many countries to return, from 1 to 50. Defaults to 10.
1 <= value <= 5010Request fulfilled, document follows
application/json- response
Countries ordered by geo event count, most first.
items*array<>curl -X GET 'https://geometrikks.example.com/api/v1/geo-events/top-countries?fromTimestamp=2026-11-01T00%3A00%3A00Z&toTimestamp=2026-11-02T00%3A00%3A00Z'{ "items": [ { "countryCode": "string", "countryName": "string", "eventCount": 0, "uniqueIps": 0 } ]}List the cities with the most geo events GET
Returns cities ordered by event count, with the distinct IPs from each. Events without a city are left out, and cities with the same name in different countries count as one. A server filter reads the raw rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
List the IPs with the most geo events GET
Returns client IPs ordered by event count across every location, with a country, city and ASN. For an IP seen in several locations, `countryCode` and `city` each show one of them. A server filter reads the raw rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.