Skip to content
Scrappa Get API key
Zonaprop API 1 credit/request

Zonaprop Location Polygon

GET https://scrappa.co/api/zonaprop/locations/{location_id}/polygon

Returns the GeoJSON boundary of a location so you can draw it on a map. This is geometry only: you still search by location id, not by drawing an area.

Zonaprop Location Polygon 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/zonaprop/locations/{location_id}/polygon
Auth header
x-api-key
Cost
1 credit/request
location_id = 1234567890
Response preview
200 OK
{
    "success": true,
    "data": {
        "type": "MultiPolygon",
        "coordinates": []
    }
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

location_id string Required

Zonaprop location id such as V1-C-1003694.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

success data
JSON Response
200 OK
{
    "success": true,
    "data": {
        "type": "MultiPolygon",
        "coordinates": []
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

Not Found

No Zonaprop posting or location matches that id. This response is not billable.

Validation Error

A parameter is invalid, including an unknown operation, property type, currency or sort value. Invalid enum values are rejected here rather than upstream, because upstream answers them with an empty result. This response is not billable.

Upstream Unavailable

Zonaprop did not return a usable result for this read. This response is not billable.

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.