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

[APIs](https://perceptlayer.com/apis) / [Rentalia](https://perceptlayer.com/apis/rentalia) / Locations

# Rentalia: Locations

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

GET `/v1/rentalia/locations`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 80 characters |
| `lang` | string | Optional | Up to 8 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/rentalia/locations?query=Madrid&lang=es" \
  -H "X-API-Key: $API_KEY"
```

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