# Positionstack

![Positionstack logo](https://apilayer.com/wp-content/themes/hello-theme-child/assets/products/images/Positionstack.svg)

**Status:** Live

The **Positionstack API** provides a straightforward and reliable solution for forward and reverse geocoding, covering more than 2 billion places and addresses worldwide. With features like batch geocoding, multi-language support, and embeddable map URLs, it is designed to deliver accurate location data quickly and efficiently.

## Key Features

-   **Forward Geocoding:** Convert textual addresses or place names into geographic coordinates.
-   **Reverse Geocoding:** Convert latitude and longitude pairs into human-readable addresses.
-   **Batch Geocoding:** Process multiple addresses in a single request to save time and resources.
-   **Multi-Language Support:** Retrieve results in various languages using ISO language codes.
-   **Embeddable Map URLs:** Generate map URLs for easy integration into applications.
-   **Timezone Information:** Include timezone details for each result to enhance user experience.

## Examples

### Forward Geocoding Example

```text
GET https://api.apilayer.net/positionstack/v1/forward?access_key=YOUR_ACCESS_KEY&query=1600 Pennsylvania Ave NW, Washington, DC
```

Response:

```javascript
{
    "data": [
        {
            "latitude": 38.8976763,
            "longitude": -77.036947,
            "label": "1600 Pennsylvania Ave NW, Washington, DC",
            "name": "1600 Pennsylvania Ave NW",
            "country": "United States",
            "country_code": "US",
            "region": "District of Columbia",
            "region_code": "DC",
            "locality": "Washington",
            "postal_code": "20500"
        }
    ]
}
```

### Reverse Geocoding Example

```text
GET https://api.apilayer.net/positionstack/v1/reverse?access_key=YOUR_ACCESS_KEY&query=38.8976763,-77.036947
```

Response:

```javascript
{
    "data": [
        {
            "label": "1600 Pennsylvania Ave NW, Washington, DC",
            "name": "1600 Pennsylvania Ave NW",
            "country": "United States",
            "country_code": "US",
            "region": "District of Columbia",
            "region_code": "DC",
            "locality": "Washington",
            "postal_code": "20500"
        }
    ]
}
```

* * *

© 2026 APILayer. All rights reserved.
