---
title: "GET /fotocasa/polygons"
method: GET
path: "/fotocasa/polygons"
tags: ["Fotocasa"]
---

# GET /fotocasa/polygons

`GET /fotocasa/polygons`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/fotocasa/polygons`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `level` 'COUNTRY' | 'REGION' | 'MUNICIPALITY', required
- `code` string, required

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested listing or location was not found. This response is not billable.
- `422`: A public parameter is invalid, including an unknown property_type or transaction_type. This response is not billable.
- `503`: The service could not obtain a complete result from Fotocasa. This response is not billable.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
