> ## 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 API Endpoints

> Geocoding and reverse geocoding APIs. Convert addresses to coordinates, calculate distances, and retrieve directions.

## Distances and Directions

<CardGroup cols={2}>
  <Card title="Directions" href="/api-reference/geocode/distances-and-directions/directions" icon="code">
    Returns the directions between two or more points.
  </Card>

  <Card title="Distance" href="/api-reference/geocode/distances-and-directions/distance" icon="code">
    Returns the distance between two or more points.
  </Card>
</CardGroup>

## Geocoding

<CardGroup cols={2}>
  <Card title="International Geocode" href="/api-reference/geocode/geocoding/international-geocode" icon="code">
    Returns the WGS84 latitude and longitude for the given location. Supports most international locations.
  </Card>

  <Card title="International PositionToCountry" href="/api-reference/geocode/geocoding/international-positiontocountry" icon="code">
    Returns the country based on the WGS84 latitude and longitude supplied. No result is returned if the coordinates are in international waters.
  </Card>

  <Card title="International RetrieveNearestPlaces" href="/api-reference/geocode/geocoding/international-retrievenearestplaces" icon="code">
    Calculates the nearest places of interest of a given category to a given location.
  </Card>

  <Card title="International ReverseGeocode" href="/api-reference/geocode/geocoding/international-reversegeocode" icon="code">
    Returns the nearest address or location to the given coordinates.
  </Card>

  <Card title="UK Find" href="/api-reference/geocode/geocoding/uk-find" icon="code">
    Finds locations matching the given input. Supports UK only.
  </Card>

  <Card title="UK Geocode" href="/api-reference/geocode/geocoding/uk-geocode" icon="code">
    Returns the OS easting + northing along with WGS84 latitude and longitude for the given postcode. Supports UK only.
  </Card>

  <Card title="UK Retrieve" href="/api-reference/geocode/geocoding/uk-retrieve" icon="code">
    Returns the OS easting + northing along with WGS84 latitude and longitude for the given location. Supports UK only.
  </Card>

  <Card title="UK RetrieveNearestPlaces" href="/api-reference/geocode/geocoding/uk-retrievenearestplaces" icon="code">
    Calculates the nearest places of interest of a given category to a given location.
  </Card>

  <Card title="UK ReverseGeocode" href="/api-reference/geocode/geocoding/uk-reversegeocode" icon="code">
    Returns the nearest address or location to the given coordinates. Currently only supports the UK.
  </Card>
</CardGroup>

## GovernmentData

<CardGroup cols={2}>
  <Card title="Postzon RetrieveByCoordinates" href="/api-reference/geocode/governmentdata/postzon-retrievebycoordinates" icon="code">
    Returns the Postzon record nearest to the given coordinates.
  </Card>

  <Card title="Postzon RetrieveByPostcode" href="/api-reference/geocode/governmentdata/postzon-retrievebypostcode" icon="code">
    Returns the Postzon record for the given postcode.
  </Card>

  <Card title="Postzon RetrieveByPostcodeOrPlace" href="/api-reference/geocode/governmentdata/postzon-retrievebypostcodeorplace" icon="code">
    Returns the Postzon record for the given postcode.
  </Card>
</CardGroup>

## Store Finder

<CardGroup cols={2}>
  <Card title="FindPlaceNames" href="/api-reference/geocode/store-finder/findplacenames" icon="code">
    Retrieves the names of places.
  </Card>

  <Card title="RetrieveCoordinates" href="/api-reference/geocode/store-finder/retrievecoordinates" icon="code">
    Retrieves the coordinates of a place found using the FindPlaceNames service.
  </Card>
</CardGroup>
