# Geolocate

## Get latitude/longitude

<mark style="color:blue;">`GET`</mark> `https://api.zapiet.com/v1.0/geolocate`

This endpoint allows you to pass a zip code or address and will return the latitude/longitude.&#x20;

#### Query Parameters

| Name                                   | Type   | Description                                                                    |
| -------------------------------------- | ------ | ------------------------------------------------------------------------------ |
| shop<mark style="color:red;">\*</mark> | string | The merchant's myshopify.com store url.                                        |
| query                                  | string | Valid zip code or address you would like to retrieve a latitude/longitude for. |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "latitude": 53.3671889,
    "longitude": -0.017696
}
```

{% endtab %}
{% endtabs %}
