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

Dabang Autocomplete API Documentation

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

Dabang Autocomplete API Documentation Find places by their Korean name and get the ids and codes the search endpoint needs. The result has five lists: regions (code, gid, name, full name, coordinates, zoom), subways (id, name, lines, radius), universities (id, name), complexes (apartment and officetel complexes with type and address, up to 50) and sale_in_lots (pre-sale projects with status and address). Use regions[].code as region_code, subways[].id as subway_id and universities[].id as university_id in the search endpoint. Use latitude and longitude as lat and lng. Limit the lists with types. A query without matches is an empty, billable success.

Dabang Autocomplete API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/dabang/autocomplete
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "meta": {
            "counts": {
                "regions": 3,
                "subways": 3,
                "complexes": 3,
                "sale_in_lots": 2,
                "universities": 1
            },
            "total_count": 12
        },
        "results": {
            "regions": [
...

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.

q string Required

Korean place name, 1 to 60 characters. Example: 강남.

Example value coffee shops
types string Optional

Comma list of region, subway, university, complex, sale_in_lots. Default: all five.

Example value example

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": {
        "meta": {
            "counts": {
                "regions": 3,
                "subways": 3,
                "complexes": 3,
                "sale_in_lots": 2,
                "universities": 1
            },
            "total_count": 12
        },
        "results": {
            "regions": [
                {
                    "gid": 10133,
                    "code": "11680108",
                    "name": "\ub17c\ud604\ub3d9",
                    "zoom": 14,
                    "latitude": 37.511830546926625,
                    "full_name": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \ub17c\ud604\ub3d9",
                    "longitude": 127.02899675964908
                }
            ],
            "subways": [
                {
                    "id": 20,
                    "area": "\uc218\ub3c4\uad8c",
                    "name": "\uac15\ub0a8\uc5ed",
                    "type": "subway",
                    "zoom": 15,
                    "lines": [
                        "2\ud638\uc120",
                        "\uc2e0\ubd84\ub2f9\uc120"
                    ],
                    "latitude": 37.4979334880069,
                    "radius_m": 750,
                    "full_name": "\uac15\ub0a8\uc5ed",
                    "longitude": 127.02755260367,
                    "region_gid": 10194
                }
            ],
            "complexes": [
                {
                    "id": "58291f89a99ae073a0b57527c994",
                    "name": "\uac15\ub0a8\uc5ed\uc13c\ud2b8\ub7f4\ud478\ub974\uc9c0\uc624\uc2dc\ud2f0",
                    "type": "complex",
                    "zoom": 17,
                    "address": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \uc5ed\uc0bc\ub3d9",
                    "latitude": 37.497706,
                    "full_name": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \uc5ed\uc0bc\ub3d9 \uac15\ub0a8\uc5ed\uc13c\ud2b8\ub7f4\ud478\ub974\uc9c0\uc624\uc2dc\ud2f0",
                    "longitude": 127.029001,
                    "region_gid": 10063,
                    "complex_type": "\uc624\ud53c\uc2a4\ud154"
                }
            ],
            "sale_in_lots": [
                {
                    "id": "649e3ef34e177d5844904fd747fb",
                    "name": "\ub798\ubbf8\uc548 \ub808\ubca4\ud22c\uc2a4",
                    "type": "sale_in_lots",
                    "zoom": 15,
                    "status": "\uc785\uc8fc\uc608\uc815",
                    "address": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \ub3c4\uace1\ub3d9",
                    "latitude": 37.493569802507,
                    "full_name": "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \ub3c4\uace1\ub3d9 \ub798\ubbf8\uc548 \ub808\ubca4\ud22c\uc2a4",
                    "longitude": 127.046017308902
                }
            ],
            "universities": [
                {
                    "id": 164,
                    "name": "\uac15\ub0a8\ub300\ud559\uad50",
                    "type": "university",
                    "zoom": 14,
                    "latitude": 37.27597200623436,
                    "full_name": "\uac15\ub0a8\ub300\ud559\uad50",
                    "longitude": 127.13244486733902,
                    "region_gid": 7768
                }
            ]
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "autocomplete"
    },
    "success": true
}

Errors

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

422

Validation Error

The query is missing or a type is not one of the five types. No upstream request is made. This response is not billable.

{
    "errors": {
        "q": [
            "The q field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

Dabang could not be reached, blocked every attempt, or answered with a shape that no longer matches the documented contract (error code PARSER_DRIFT). This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "autocomplete"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Dabang API is temporarily unavailable. Please retry."
    },
    "success": false
}

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.