---
title: "Homegate API: Locations | Perceptlayer"
description: "Locations from Homegate as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/homegate/locations
---

[APIs](https://perceptlayer.com/apis) / [Homegate](https://perceptlayer.com/apis/homegate) / Locations

# Homegate: Locations

Locations from Homegate as JSON. 1 credit per successful call.

GET `/v1/homegate/locations`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `name` | string | Optional | Up to 100 characters |
| `ids` | string | Optional | Up to 500 characters |
| `lang` | string | Optional | de, en, fr, it |
| `from` | integer | Optional | Any |
| `size` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/homegate/locations?name=zurich&lang=en&size=3" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/homegate?try=locations#playground) with your own parameters. 1 credit per successful call; failed calls are free.
