---
title: "Fotocasa API: Polygons | Perceptlayer"
description: "Polygons from Fotocasa as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/fotocasa/polygons
---

[APIs](https://perceptlayer.com/apis) / [Fotocasa](https://perceptlayer.com/apis/fotocasa) / Polygons

# Fotocasa: Polygons

Polygons from Fotocasa as JSON. 1 credit per successful call.

GET `/v1/fotocasa/polygons`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `level` | string | Required | COUNTRY, REGION, MUNICIPALITY |
| `code` | string | Required | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/fotocasa/polygons?level=MUNICIPALITY&code=28079" \
  -H "X-API-Key: $API_KEY"
```

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