List the client IPs with the most requests
Returns client IPs ordered by hits, with error hits, bytes and the IP's country and city, plus the number of distinct IPs in the range. For ranges over 24 hours with neither an ASN nor a host filter, a country, city or IP filter reads the per-IP aggregates, so unlike the URL and user agent lists it reaches past ANALYTICS_RAW_RETENTION_DAYS. An ASN or host filter, include or exclude, makes it read the raw access log rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
session<token>Session cookie authentication.
startDate?|Start of the range, inclusive, as ISO 8601 with a timezone, such as 2026-11-01T00:00:00Z. Requires endDate; omit with window.
endDate?|End of the range, exclusive, as ISO 8601 with a timezone, such as 2026-11-02T00:00:00Z. Requires startDate; omit with window.
window?|A rolling window ending now, such as 15m, 24h or 7d, up to 365 days. Use positive whole minutes, hours or days. Cannot be combined with explicit time bounds.
excludeMutedIps?booleanLeave out the muted IPs. An IP include filter on the same request wins.
falselimit?integerHow many IPs to return, from 1 to 100. Defaults to 25.
1 <= value <= 10025countryCode?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.
city?array<string>|Keep only these cities, by the exact name GeoIP gives, such as Oslo. Repeat the parameter to pass more than one.
ipAddress?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.
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.
hostIn?array<string>|Keep only requests to these hosts, matched exactly against the logged Host value, such as example.com. Repeat the parameter to pass more than one. Lines without a host are left out.
hostNotIn?array<string>|Leave out requests to these hosts, matched exactly against the logged Host value. Repeat the parameter to pass more than one. Lines without a host stay in.
Request fulfilled, document follows
application/json- response
Client IPs ordered by hits, most first.
distinctIps*integerDistinct client IPs in the range after all filters, counting those beyond limit.
endDate*stringThe request's endDate, echoed as ISO 8601.
items*array<>startDate*stringThe request's startDate, echoed as ISO 8601.
curl -X GET 'https://geometrikks.example.com/api/v1/analytics/top-ips?startDate=2026-11-01T00%3A00%3A00Z&endDate=2026-11-02T00%3A00%3A00Z'{ "distinctIps": 0, "endDate": "string", "items": [ { "asOrganization": "string", "asn": 0, "city": "string", "countryCode": "string", "errorHits": 0, "hits": 0, "ipAddress": "string", "totalBytes": 0 } ], "startDate": "string"}List the countries with the most requests GET
Returns countries ordered by hits, with error hits and the number of distinct client IPs from each. Requests without a country are left out. An ASN or host filter, include or exclude, makes it read the raw access log rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
List the most requested URLs GET
Returns URLs ordered by hits, with error hits, bytes and the average request time. With one `hostIn` host or none, each row is a host and path pair. With two or more different hosts, each row is one URL (path plus query string) counted across those hosts, and `host` is null. Lines without a path are left out. Above 24 hours, a host filter on its own, include or exclude, reads the URL aggregates as an unfiltered request does, so it reaches past ANALYTICS_RAW_RETENTION_DAYS. A country, city, IP or ASN filter makes it read the raw access log rows, which go back only ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.