{
  "openapi": "3.0.1",
  "info": {
    "title": "LIFULL HOME'S Japan Home Prices by City and Building Age",
    "description": "Enter a Japanese city and see what homes cost to buy on LIFULL HOME'S. You get the site's own average price for a 70 m² condo, price per m², the same figure for seven nearby cities, and how much less older buildings ask. $0.02 per city and home type. No results = no charge. Unofficial.",
    "version": "0.1",
    "x-build-id": "LteVhOlj4nsCXPHQ2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpmarketdata~lifull-homes-property-price-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpmarketdata-lifull-homes-property-price-checker",
        "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/jpmarketdata~lifull-homes-property-price-checker/runs": {
      "post": {
        "operationId": "runs-sync-jpmarketdata-lifull-homes-property-price-checker",
        "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/jpmarketdata~lifull-homes-property-price-checker/run-sync": {
      "post": {
        "operationId": "run-sync-jpmarketdata-lifull-homes-property-price-checker",
        "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": [
          "areas"
        ],
        "properties": {
          "areas": {
            "title": "Japanese cities to price",
            "minItems": 1,
            "maxItems": 5,
            "type": "array",
            "description": "One row of numbers per city. Each city is charged $0.02, and a city with nothing listed is not charged. Write a city the way the site does, `prefecture/city`: `tokyo/shibuya-city`, `osaka/kita-ku-osakashi`. A pasted list page address works too. At most 5 cities per run — the site turns an address away after six reads — so a run cannot reach the $3.00 Maximum cost per run.",
            "default": [
              "tokyo/shibuya-city"
            ],
            "items": {
              "type": "string"
            }
          },
          "propertyType": {
            "title": "Home type",
            "enum": [
              "used_condo",
              "used_house",
              "land"
            ],
            "type": "string",
            "description": "One home type per run: each extra type is another read of the site, and a run only gets five. Used condos are averaged over 70 m² of living space and used houses over 100 m² of building, so the two averages are different measurements. Land has no published average on this site — you get the count and the yen figures, and the average fields come back empty. It does not change what you are charged.",
            "default": "used_condo"
          },
          "sortBy": {
            "title": "Order the listings are read in",
            "enum": [
              "address",
              "price_low",
              "price_high",
              "newest",
              "area_large",
              "price_per_tsubo_low"
            ],
            "type": "string",
            "description": "Which listings the yen figures are measured on. The site's own default puts paid placements first and is not price-neutral, so an order is always chosen here and the row says which one in `sortUsed`. Address order is the neutral one. Cheapest per tsubo exists only on land pages and falls back to address order elsewhere. The city average and the neighbour and building-age tables never move with it.",
            "default": "address"
          },
          "pagesPerArea": {
            "title": "Pages read per city",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "How many listings the yen figures are measured on. One page is about 30 to 49 listings and costs one read of the site; two pages doubles both. Cities times pages may not exceed 5 or the run stops before it starts, because the site turns an address away after six reads. With individual listings on, a second page is about 30 to 49 more rows at $0.002 each.",
            "default": 1
          },
          "includeIndividualListings": {
            "title": "Also return each listing as a row",
            "type": "boolean",
            "description": "Off by default: a run costs a flat $0.02 per city and home type. Turn it on to also get the listings that were read, one row each, at +$0.002 per row — building name, link, price, size, price per m², layout, floor, build year, building age, homes in the building, structure, nearest station, walk minutes and street. Agency names, phone numbers and photos are never returned, on or off.",
            "default": false
          },
          "convertToUsd": {
            "title": "Also show prices in US dollars",
            "type": "boolean",
            "description": "Adds a US dollar copy of the yen price figures at today's rate. A failed rate lookup never fails the run — you simply get the yen numbers on their own.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}