---
title: "PadMapper API: Autocomplete | Perceptlayer"
description: "Autocomplete from PadMapper as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/padmapper/autocomplete
---

[APIs](https://perceptlayer.com/apis) / [PadMapper](https://perceptlayer.com/apis/padmapper) / Autocomplete

# PadMapper: Autocomplete

Autocomplete from PadMapper as JSON. 1 credit per successful call.

GET `/v1/padmapper/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 120 characters Text to complete: a city, neighbourhood, ZIP code, address or building. |
| `exclude_buildings` | boolean | Optional | Any Leave building matches out. |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/padmapper/autocomplete?query=boston" \
  -H "X-API-Key: $API_KEY"
```

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