The geographic data endpoint provides insights into where your redirect traffic originates, with the ability to group results by country, region, or city.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dishant0406/quickleap/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Function signature
Path parameters
The unique identifier of the redirect to retrieve geographic data for
Query parameters
Start date for the analytics period in ISO 8601 formatExample:
2024-01-01T00:00:00ZEnd date for the analytics period in ISO 8601 formatExample:
2024-01-31T23:59:59ZGeographic dimension to group results byAvailable values:
country- Group by country (default)region- Group by region/statecity- Group by city
Geographic data is determined using IP geolocation. Accuracy varies by location, with city-level data being less precise than country-level.
Response
The endpoint returns an array of geographic locations with hit counts:Example request
Example response
Use cases
- Geographic visualization: Create interactive maps showing traffic distribution
- Localization: Identify which regions need localized content or redirects
- CDN optimization: Determine optimal CDN edge locations for your traffic
- Compliance: Ensure geographic data handling complies with regional regulations
- Market analysis: Understand which geographic markets drive the most traffic
- Fraud detection: Identify unusual geographic patterns that may indicate abuse
Best practices
- Start with countries: Begin analysis at the country level before drilling down to regions or cities
- Handle unknowns: Some traffic may not have geographic data (VPNs, privacy tools). Check the
coveragefield - Combine with other metrics: Cross-reference geographic data with device, browser, or referrer analytics
- Coordinate visualization: Use the provided coordinates to plot locations on maps
Related endpoints
- Get language data - Understand visitor language preferences
- Get basic statistics - Overall traffic metrics
- Get raw hit data - Filter individual hits by country