Convert coordinates to hex code
GET/v2/hexcode
Converts lat/lng coordinates to a human-readable hex code (e.g., AF-GH-7-A3K9).
Uses Uber's H3 hexagonal grid. The computation is local and instant (~1μs).
Coordinates must be within Ghana.
Request
Responses
- 200
- 400
- 429
Hex code generated
Invalid coordinates, outside Ghana, or invalid resolution
Rate limit exceeded
Response Headers
X-RateLimit-Limit
Maximum requests allowed in the window
X-RateLimit-Remaining
Requests remaining in current window
Retry-After
Seconds until the rate limit resets