Skip to main content
The Geocoding API provides powerful location-based services including address geocoding, reverse geocoding, and airport code lookups. It integrates with Google Maps Geocoding API and includes a comprehensive airport database for quick lookups.

Features

  • Address Geocoding: Convert addresses into geographic coordinates
  • Airport Code Lookup: Find airport locations by IATA or ICAO codes
  • Structured Responses: Consistent response format with detailed location information
  • Global Coverage: Supports locations worldwide

Authentication

All requests must include a valid JWT token in the Authorization header:

Request

Path Parameters

Response

200 OK - Successful geocoding

200 OK - Airport Code Lookup

400 Bad Request - Invalid Input

401 Unauthorized

404 Not Found

429 Too Many Requests

500 Internal Server Error

Endpoints

Geocode an Address

Converts a human-readable address into geographic coordinates and structured location data.

Examples

Geocoding an Address

Looking up an Airport by Code

Response Format

All successful responses follow this structure:

Error Handling

Errors follow a standard format:

Common Status Codes

Rate Limiting

The API is rate limited to protect service quality. If you exceed the rate limit, you’ll receive a 429 Too Many Requests response.

Best Practices

  1. Cache results when possible to reduce API calls
  2. Handle errors gracefully and implement retry logic for transient failures
  3. Validate addresses before sending them to the API
  4. Use HTTPS for all requests to ensure data security

Integration Example

Support

For questions or issues, please contact dev@sunnylimo.com.