{
  "openapi": "3.0.1",
  "info": {
    "title": "SUUMO Japan Real Estate — Rentals & Used Condos",
    "description": "SUUMO (スーモ) rental rooms and used condominiums by prefecture and city: rent, management fee, deposit and key money (months and yen), layout, area, station walk, building age, price. Filter by rent, area, layout, walk and age — pay only for rows that pass.",
    "version": "0.1",
    "x-build-id": "3Ku4rqe31aV4ZQGVw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/keiya_dev~suumo-japan-real-estate/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-keiya_dev-suumo-japan-real-estate",
        "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/keiya_dev~suumo-japan-real-estate/runs": {
      "post": {
        "operationId": "runs-sync-keiya_dev-suumo-japan-real-estate",
        "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/keiya_dev~suumo-japan-real-estate/run-sync": {
      "post": {
        "operationId": "run-sync-keiya_dev-suumo-japan-real-estate",
        "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",
        "required": [
          "propertyType",
          "prefecture",
          "cities"
        ],
        "properties": {
          "propertyType": {
            "title": "Property type",
            "enum": [
              "rental",
              "used_mansion"
            ],
            "type": "string",
            "description": "rental = 賃貸 (one row per room). used_mansion = 中古マンション (used condominiums for sale). Other sale types come later.",
            "default": "rental"
          },
          "prefecture": {
            "title": "Prefecture",
            "enum": [
              "hokkaido_",
              "aomori",
              "iwate",
              "akita",
              "miyagi",
              "yamagata",
              "fukushima",
              "tokyo",
              "kanagawa",
              "chiba",
              "saitama",
              "ibaraki",
              "tochigi",
              "gumma",
              "yamanashi",
              "nagano",
              "ishikawa",
              "niigata",
              "toyama",
              "fukui",
              "aichi",
              "shizuoka",
              "gifu",
              "mie",
              "osaka",
              "hyogo",
              "kyoto",
              "shiga",
              "nara",
              "wakayama",
              "ehime",
              "kagawa",
              "kochi",
              "tokushima",
              "okayama",
              "hiroshima",
              "shimane",
              "tottori",
              "yamaguchi",
              "fukuoka",
              "saga",
              "nagasaki",
              "kumamoto",
              "oita",
              "miyazaki",
              "kagoshima",
              "okinawa"
            ],
            "type": "string",
            "description": "Prefecture. The list comes from SUUMO's own prefecture links (src/prefectures.json)."
          },
          "cities": {
            "title": "City / ward codes",
            "type": "array",
            "description": "The part after sc_ in a SUUMO area URL: suumo.jp/chintai/tokyo/sc_shinjuku/ → shinjuku. One list crawl per city.",
            "items": {
              "type": "string"
            }
          },
          "filters": {
            "title": "Filters",
            "type": "object",
            "description": "Applied after fetching (SUUMO's area pages take no filter parameters). You are charged only for rows that pass. A row missing a value that a set filter needs does not pass.",
            "properties": {
              "rentMinYen": {
                "title": "Rent from (JPY)",
                "type": "number",
                "description": "Rental: monthly rent at least this.",
                "minimum": 0,
                "unit": "JPY",
                "nullable": true
              },
              "rentMaxYen": {
                "title": "Rent up to (JPY)",
                "type": "number",
                "description": "Rental: monthly rent at most this.",
                "minimum": 0,
                "unit": "JPY",
                "nullable": true
              },
              "rentIncludesAdminFee": {
                "title": "Rent includes management fee",
                "type": "boolean",
                "description": "Rental: compare rent + management fee against the rent range.",
                "default": false
              },
              "priceMinYen": {
                "title": "Price from (JPY)",
                "type": "number",
                "description": "Used condo: sale price at least this.",
                "minimum": 0,
                "unit": "JPY",
                "nullable": true
              },
              "priceMaxYen": {
                "title": "Price up to (JPY)",
                "type": "number",
                "description": "Used condo: sale price at most this.",
                "minimum": 0,
                "unit": "JPY",
                "nullable": true
              },
              "areaMinSqm": {
                "title": "Area from (m²)",
                "type": "number",
                "description": "Floor area at least this.",
                "minimum": 0,
                "unit": "m²",
                "nullable": true
              },
              "areaMaxSqm": {
                "title": "Area up to (m²)",
                "type": "number",
                "description": "Floor area at most this.",
                "minimum": 0,
                "unit": "m²",
                "nullable": true
              },
              "layouts": {
                "title": "Layouts",
                "type": "array",
                "editor": "select",
                "description": "Any of these layouts. 2SLDK counts as 2LDK; 5+ = five rooms or more.",
                "items": {
                  "type": "string",
                  "enum": [
                    "1R",
                    "1K",
                    "1DK",
                    "1LDK",
                    "2K",
                    "2DK",
                    "2LDK",
                    "3K",
                    "3DK",
                    "3LDK",
                    "4K",
                    "4DK",
                    "4LDK",
                    "5+"
                  ]
                }
              },
              "walkMinutesMax": {
                "title": "Walk to station up to (min)",
                "type": "number",
                "description": "Nearest station on foot at most this many minutes. Bus-only rows do not pass.",
                "minimum": 0,
                "unit": "min",
                "nullable": true
              },
              "buildingAgeMaxYears": {
                "title": "Building age up to (years)",
                "type": "number",
                "description": "Building at most this many years old (新築 = 0).",
                "minimum": 0,
                "unit": "years",
                "nullable": true
              }
            },
            "default": {}
          },
          "fetchDetails": {
            "title": "Fetch detail pages (rental only)",
            "type": "boolean",
            "description": "Open each passing room's detail page and add its fields (structure, direction, move-in, contract term, guarantor, initial costs, facilities, images, 保証金 / 敷引). Charged as one extra detail event per row that got its details.",
            "default": false
          },
          "dedupe": {
            "title": "Merge duplicate listings",
            "type": "boolean",
            "description": "The same room is often listed by several agencies. With this on, rental rows with the same address (町丁目), building name, floor, layout, floor area and rent become one row, with every listing (id, URL) in listings[]. You are charged per merged row.",
            "default": true
          },
          "romanizeStations": {
            "title": "Romanize station names",
            "type": "boolean",
            "description": "Add stationRomaji to each station (machine reading with kuromoji). Needs about 1,024 MB of memory — set the run's memory to 1,024 MB when you turn this on. Addresses are always romanized.",
            "default": false
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many rows passed the filters and were saved. Default 2,000, at most 10,000 per run.",
            "default": 2000
          },
          "maxPagesPerCity": {
            "title": "Max list pages per city",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "20 buildings (rental) or 20 units (used_mansion) per page. With tight filters, raise this to scan deeper.",
            "default": 5
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}