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

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

# PadMapper: City

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

GET `/v1/padmapper/city`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `city` | string | Required | Up to 100 characters City slug, such as boston-ma. |

## Example request

cURL shell 

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

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