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

PadMapper Autocomplete

GET https://scrappa.co/api/padmapper/autocomplete

Returns matches for a search text: cities, neighborhoods, ZIP codes, addresses, and buildings, each with a label, coordinates, a map box, and the url slug to pass as location to search. Set exclude_buildings to skip building matches.

PadMapper Autocomplete 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/padmapper/autocomplete
Auth header
x-api-key
Cost
1 credit/request
query = toron
Response preview
200 OK
{
    "data": {
        "status": "success",
        "matches": [
            {
                "box": [
                    -79.536797,
                    43.592346,
                    -79.273262
                ],
                "lat": 43.647938,
                "lng": -79.38355,
                "url": "toronto-on",
                "city": "Toronto",
...

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.

1 optional filter available.

query string Required

Free text: city, neighborhood, ZIP, address, or building name.

Example value toron
exclude_buildings boolean Optional

Leave building matches out.

Example value true

Response Schema

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

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "status": "success",
        "matches": [
            {
                "box": [
                    -79.536797,
                    43.592346,
                    -79.273262
                ],
                "lat": 43.647938,
                "lng": -79.38355,
                "url": "toronto-on",
                "city": "Toronto",
                "name": "Toronto",
                "state": "ON",
                "country": "CAN",
                "record_id": 133788040,
                "record_type": "city"
            },
            {
                "box": [
                    -79.387783,
                    43.619131,
                    -79.357212
                ],
                "lat": 43.620833,
                "lng": -79.378611,
                "url": "toronto-islands-on",
                "city": "Toronto Islands",
                "name": "Toronto Islands",
                "state": "ON",
                "country": "CAN",
                "record_id": 812479052,
                "record_type": "city"
            },
            {
                "box": [
                    -80.747028,
                    40.41211,
                    -80.594664
                ],
                "lat": 40.465374,
                "lng": -80.59988,
                "url": "toronto-oh",
                "city": "Toronto",
                "name": "Toronto",
                "state": "OH",
                "country": "USA",
                "record_id": 360127092,
                "record_type": "city"
            }
        ]
    },
    "meta": {
        "duration_ms": 640,
        "upstream_calls": 1,
        "endpoint_family": "autocomplete"
    },
    "success": true
}

Errors

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

Not Found

The requested listing, building, agent, or city was not found. Rent reports exist for US cities only. This response is not billable.

Validation Error

A required public parameter is missing or invalid. This response is not billable.

Service Unavailable

The service could not obtain a complete result. This response is not billable.

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.