---
title: "Square Yards API: Cities | Perceptlayer"
description: "Cities from Square Yards as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/square-yards/cities
---

[APIs](https://perceptlayer.com/apis) / [Square Yards](https://perceptlayer.com/apis/square-yards) / Cities

# Square Yards: Cities

Cities from Square Yards as JSON. 1 credit per successful call.

GET `/v1/square-yards/cities`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Optional | Up to 60 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/square-yards/cities?q=mumbai" \
  -H "X-API-Key: $API_KEY"
```

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