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

[APIs](https://perceptlayer.com/apis) / [Goplaceit](https://perceptlayer.com/apis/goplaceit) / Locations

# Goplaceit: Locations

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

GET `/v1/goplaceit/locations`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `country` | string | Optional | cl, mx, co |
| `region` | integer | Optional | Any |
| `province` | integer | Optional | Any |
| `commune` | integer | Optional | Any |
| `children` | string | Optional | communes, provinces |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/goplaceit/locations?country=cl" \
  -H "X-API-Key: $API_KEY"
```

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