> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loqate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Geocode: Convert Addresses to Coordinates and Find Routes

> Geocoding and reverse geocoding for international locations. Get coordinates, calculate distances, find directions, and access UK Postzon data.

## What is Geocode?

Geocode provides location services including:

* **Coordinate lookup:** Convert addresses to geographic coordinates (latitude/longitude)
* **Reverse geocoding:** Find addresses from coordinates
* **Distance calculation:** Measure distances between locations
* **Directions:** Get routing information between points
* **Store finder:** Locate nearby places or retailers
* **UK Postzon data:** Access government datasets for UK addresses

Common use cases include displaying locations on maps, calculating mileage claims, finding nearest stores, and location-based analytics.

## Coverage

* **International:** Geocoding available for all 250 countries and territories supported by Loqate
* **UK:** Enhanced data including Postzon government records

**Note:** Coordinate accuracy varies by territory based on available data. Not all addresses can be matched to geographic coordinates. See the [Country Data Coverage page](/data-coverage/introduction/) for geocode availability by country.

## Available Endpoints

Geocode provides **17 API endpoints** across four categories. Key endpoints are listed below, [see all endpoints](/api-reference/geocode/apis).

### Distances and Directions

* [**Distance**](/api-reference/geocode/distances-and-directions/distance): Calculate distance between two or more points
* [**Directions**](/api-reference/geocode/distances-and-directions/directions): Get routing directions between locations

### Geocoding

* [**Geocode**](/our-services/geocode/apis#geocoding): Convert addresses to coordinates
* [**Reverse Geocode**](/our-services/geocode/apis#geocoding): Find addresses from coordinates

### GovernmentData

* [**Retrieve**](/our-services/geocode/apis#governmentdata): Get Postzon records by coordinates, postcodes, or places

### Store Finder

* [**Retrieve**](/our-services/geocode/apis#store-finder): Find names or coordinates of specific places

## Getting Started

1. [Create an API key](https://docs.loqate.com/loqate-basics/create-an-api-key) if you don't have one
2. Choose the appropriate endpoint for your use case
3. Make your first request using the endpoint documentation above

## Common Questions

### What geocode accuracy can I expect?

Coordinate accuracy depends on the data available in each territory. Refer to the [Country Data Coverage page](/data-coverage/introduction/) to see the geocode precision level available per country.

### Can I geocode addresses internationally?

Yes. Geocoding is available for all 250 countries and territories that Loqate supports. The [Country Data Coverage page](/data-coverage/introduction/) shows the level of geocodes available per country.

### Why can't I return coordinates for a specific address?

Not all addresses can be matched to geographic coordinates. Geocode availability depends on the data level in each territory. The [Country Data Coverage page](/data-coverage/introduction/) provides full details of where geocodes are available and to what precision level.
