{
  "openapi": "3.0.1",
  "info": {
    "title": "SUUMO Scraper - Japan Rentals, Condos, Houses & Land",
    "description": "Scrape SUUMO (Japan) without login: rental apartments with rent, fees, deposit, key money, layout, area and stations, plus condos, houses and land for sale with price, area, year built and agency. Any prefecture or ward. US$ 2.50 per 1,000.",
    "version": "0.1",
    "x-build-id": "74yHzxOedoqisSilm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~suumo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-suumo-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/scrapewise~suumo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-suumo-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/scrapewise~suumo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-suumo-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": {
          "propertyType": {
            "title": "What to search",
            "enum": [
              "rent",
              "usedCondo",
              "newHouse",
              "usedHouse",
              "land"
            ],
            "type": "string",
            "description": "Rentals return one row per apartment (rent, fees, deposit, key money). For-sale types return one row per property (price, areas, year built, agency).",
            "default": "rent"
          },
          "prefecture": {
            "title": "Prefecture",
            "enum": [
              "tokyo",
              "kanagawa",
              "saitama",
              "chiba",
              "osaka",
              "kyoto",
              "hyogo",
              "aichi",
              "fukuoka",
              "hokkaido",
              "miyagi",
              "hiroshima",
              "okinawa",
              "aomori",
              "iwate",
              "akita",
              "yamagata",
              "fukushima",
              "ibaraki",
              "tochigi",
              "gunma",
              "niigata",
              "toyama",
              "ishikawa",
              "fukui",
              "yamanashi",
              "nagano",
              "gifu",
              "shizuoka",
              "mie",
              "shiga",
              "nara",
              "wakayama",
              "tottori",
              "shimane",
              "okayama",
              "yamaguchi",
              "tokushima",
              "kagawa",
              "ehime",
              "kochi",
              "saga",
              "nagasaki",
              "kumamoto",
              "oita",
              "miyazaki",
              "kagoshima"
            ],
            "type": "string",
            "description": "Japanese prefecture to search.",
            "default": "tokyo"
          },
          "cities": {
            "title": "Cities or wards",
            "type": "array",
            "description": "Wards or cities inside the prefecture, one per line, in English as on SUUMO (Minato, Shinjuku, Setagaya, Yokohamashinishi), in Japanese (港区) or as the 5-digit code (13103). Empty = the whole prefecture.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "SUUMO links",
            "type": "array",
            "description": "SUUMO search result links, copied after setting any filters on suumo.jp: rentals (https://suumo.jp/jj/chintai/ichiran/FR301FC001/?..., https://suumo.jp/chintai/tokyo/sc_minato/) or for sale (https://suumo.jp/jj/bukken/ichiran/JJ010FJ001/?..., https://suumo.jp/ms/chuko/tokyo/sc_minato/, https://suumo.jp/ikkodate/tokyo/sc_setagaya/, https://suumo.jp/tochi/tokyo/sc_setagaya/). When links are given, the fields above are ignored.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "How many properties to take from the search or from each link. Empty = 100."
          },
          "maxItems": {
            "title": "Max properties in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on charged properties for the whole run. Empty or 0 = no cap besides the per-search limit."
          },
          "minPrice": {
            "title": "Min price (JPY)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent for rentals, sale price for the other types, in yen (for example 80000 or 50000000). Skipped properties are not charged."
          },
          "maxPrice": {
            "title": "Max price (JPY)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent for rentals, sale price for the other types, in yen. Skipped properties are not charged."
          },
          "layouts": {
            "title": "Layouts",
            "type": "array",
            "description": "Floor plans to keep, one per line (for example 1K, 1LDK, 2LDK, 3LDK, ワンルーム). Empty = any.",
            "items": {
              "type": "string"
            }
          },
          "minAreaM2": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Floor area (land area for land). Skipped properties are not charged."
          },
          "maxBuildingAge": {
            "title": "Max building age (years)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = new buildings only. Skipped properties are not charged."
          },
          "maxWalkMinutes": {
            "title": "Max walk to station (minutes)",
            "minimum": 1,
            "type": "integer",
            "description": "Walking time to the nearest listed station. Skipped properties are not charged."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is the default and works for SUUMO. Refused pages are retried automatically.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}