{
  "openapi": "3.0.1",
  "info": {
    "title": "Dabang Scraper — Korea Property Data & API",
    "description": "Scrape Dabang (다방) Korean real-estate into clean datasets — rooms, officetels and apartments with deposit/rent (월세·전세), exact coordinates, full address, nearest subway and photos. Filter by area, deal type and price. No account or API key needed. 다방 부동산 스크래퍼 · 매물 데이터·API.",
    "version": "1.0",
    "x-build-id": "fMqkQFQBEnxQ4JTQQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~dabang-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-dabang-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/sian.agency~dabang-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-dabang-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/sian.agency~dabang-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-dabang-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "scrapeMode": {
            "title": "🔭 Scrape mode",
            "enum": [
              "overview",
              "detail"
            ],
            "type": "string",
            "description": "🔭 **OVERVIEW** (recommended, cheapest): paginate the map search and return rich listing cards — price, type, neighborhood, approximate location, photos and flags. Each card already carries most of the data.\n\n🔎 **DETAIL**: everything in Overview PLUS a browser enrichment per listing — exact GPS coordinates, full street address, nearest subway station + distance, and nearby points-of-interest count.",
            "default": "overview"
          },
          "category": {
            "title": "🏠 Property category",
            "enum": [
              "one-two",
              "officetel",
              "apt"
            ],
            "type": "string",
            "description": "🏠 Which Dabang surface to scrape.\n\n- **one-two** — studios & two-rooms (원룸·투룸), the default residential rental surface\n- **officetel** — 오피스텔 units\n- **apt** — apartment complexes (아파트)",
            "default": "one-two"
          },
          "place": {
            "title": "🔍 Place / neighborhood name",
            "type": "string",
            "description": "🔍 **SEARCH BY PLACE:** A Korean place, district or station name (e.g. `강남구`, `역삼동`, `홍대입구역`). The actor resolves it to a map area automatically.\n\n💡 **TIP:** Leave blank to use the default Gangnam (강남) area, or provide a center point / search URL instead."
          },
          "centerLat": {
            "title": "📐 Center latitude",
            "type": "number",
            "description": "📐 Latitude of the map center to search around (used with Center longitude). Overrides Place when both lat/lng are set."
          },
          "centerLng": {
            "title": "📐 Center longitude",
            "type": "number",
            "description": "📐 Longitude of the map center to search around (used with Center latitude)."
          },
          "searchUrl": {
            "title": "🔗 Captured Dabang search URL (advanced)",
            "type": "string",
            "description": "🔗 **ADVANCED:** Paste a captured Dabang map/list API URL (`…/room-list/category/<cat>/bbox?filters=…&bbox=…`). The actor preserves its exact area + filters. Overrides Place / Center."
          },
          "sellingTypes": {
            "title": "💳 Deal type (월세 / 전세)",
            "type": "array",
            "description": "💳 Which rental deal types to include.\n\n- **MONTHLY_RENT** — 월세 (monthly rent + deposit)\n- **LEASE** — 전세 (jeonse / charter, large deposit, no monthly)\n- **SHORT_RENT** — 단기 (short-term)",
            "items": {
              "type": "string",
              "enum": [
                "MONTHLY_RENT",
                "LEASE",
                "SHORT_RENT"
              ],
              "enumTitles": [
                "월세 Monthly rent",
                "전세 Jeonse",
                "단기 Short-term"
              ]
            },
            "default": [
              "MONTHLY_RENT",
              "LEASE"
            ]
          },
          "roomTypes": {
            "title": "🛏️ Room type",
            "type": "array",
            "description": "🛏️ Room layouts to include (원룸 / 투룸 / 쓰리룸…).",
            "items": {
              "type": "string",
              "enum": [
                "ONE_ROOM",
                "TWO_ROOM",
                "THREE_ROOM",
                "OFFICETEL",
                "APT"
              ],
              "enumTitles": [
                "원룸 One-room",
                "투룸 Two-room",
                "쓰리룸+ Three-room+",
                "오피스텔 Officetel",
                "아파트 Apartment"
              ]
            },
            "default": [
              "ONE_ROOM",
              "TWO_ROOM"
            ]
          },
          "depositMin": {
            "title": "💰 Deposit min (만원)",
            "minimum": 0,
            "type": "integer",
            "description": "💰 Minimum deposit (보증금) in 만원 (10,000 KRW). e.g. 1000 = 10,000,000 KRW."
          },
          "depositMax": {
            "title": "💰 Deposit max (만원)",
            "minimum": 0,
            "type": "integer",
            "description": "💰 Maximum deposit (보증금) in 만원 (10,000 KRW)."
          },
          "rentMin": {
            "title": "💵 Monthly rent min (만원)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 Minimum monthly rent (월세) in 만원 (10,000 KRW)."
          },
          "rentMax": {
            "title": "💵 Monthly rent max (만원)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 Maximum monthly rent (월세) in 만원 (10,000 KRW)."
          },
          "hasElevator": {
            "title": "🛗 Elevator only",
            "type": "boolean",
            "description": "🛗 Only buildings with an elevator.",
            "default": false
          },
          "canParking": {
            "title": "🅿️ Parking only",
            "type": "boolean",
            "description": "🅿️ Only listings with parking.",
            "default": false
          },
          "roomUrls": {
            "title": "🔗 Specific room URLs / IDs (Detail mode)",
            "uniqueItems": true,
            "type": "array",
            "description": "🔗 **DETAIL BY URL:** Provide specific Dabang room URLs (`https://www.dabangapp.com/room/<id>`) or bare room IDs to enrich exactly those listings. Use with Detail mode. Overrides the area search.\n\n📋 Click **Bulk edit** to paste one per line.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "🔢 Max results",
            "minimum": 1,
            "type": "integer",
            "description": "🔢 Maximum listings to return.\n\n**FREE users:** up to 25 per run. **PAID users:** unlimited.",
            "default": 100
          },
          "maxPages": {
            "title": "📄 Max search pages (0 = until Max results)",
            "minimum": 0,
            "type": "integer",
            "description": "📄 Hard cap on search pages to paginate (24 listings each). 0 = paginate until Max results is reached or there are no more.",
            "default": 0
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}