{
  "openapi": "3.0.1",
  "info": {
    "title": "Tabelog Scraper - Japan Restaurants & Reviews",
    "description": "Scrape Tabelog (食べログ) restaurants by keyword, prefecture or URL: score, review count, genre, address, coordinates, hours, budget, phone, seats, awards, plus full reviews with sub-scores. Same input/output fields as the popular Tabelog scraper, lower price.",
    "version": "0.1",
    "x-build-id": "IveRfZQ7tp3rNt10U"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/istmobot~tabelog-scraper-cheap/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-istmobot-tabelog-scraper-cheap",
        "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/istmobot~tabelog-scraper-cheap/runs": {
      "post": {
        "operationId": "runs-sync-istmobot-tabelog-scraper-cheap",
        "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/istmobot~tabelog-scraper-cheap/run-sync": {
      "post": {
        "operationId": "run-sync-istmobot-tabelog-scraper-cheap",
        "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": {
          "searchKeyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Restaurant name or cuisine, in Japanese works best, e.g. ラーメン, 寿司, 焼肉 or a restaurant name. Leave empty to list a whole prefecture (pick it in Search area) or to use URLs only."
          },
          "searchArea": {
            "title": "Search area (prefecture)",
            "enum": [
              "all",
              "hokkaido",
              "aomori",
              "iwate",
              "miyagi",
              "akita",
              "yamagata",
              "fukushima",
              "ibaraki",
              "tochigi",
              "gunma",
              "saitama",
              "chiba",
              "tokyo",
              "kanagawa",
              "niigata",
              "toyama",
              "ishikawa",
              "fukui",
              "yamanashi",
              "nagano",
              "gifu",
              "shizuoka",
              "aichi",
              "mie",
              "shiga",
              "kyoto",
              "osaka",
              "hyogo",
              "nara",
              "wakayama",
              "tottori",
              "shimane",
              "okayama",
              "hiroshima",
              "yamaguchi",
              "tokushima",
              "kagawa",
              "ehime",
              "kochi",
              "fukuoka",
              "saga",
              "nagasaki",
              "kumamoto",
              "oita",
              "miyazaki",
              "kagoshima",
              "okinawa"
            ],
            "type": "string",
            "description": "Limit the search to one prefecture, e.g. tokyo or osaka. 'all' = all of Japan.",
            "default": "all"
          },
          "maxRestaurants": {
            "title": "Max restaurants",
            "minimum": 1,
            "maximum": 1200,
            "type": "integer",
            "description": "Maximum restaurants taken from the search and from each list URL (Tabelog shows up to 1,200 per list), e.g. 20.",
            "default": 5
          },
          "startUrls": {
            "title": "Tabelog URLs",
            "type": "array",
            "description": "Restaurant URLs (e.g. https://tabelog.com/tokyo/A1301/A130101/13002457/) are scraped directly. Area, genre, search and ranking list URLs (containing rstLst, ?sw= or ?sk=, e.g. https://tabelog.com/tokyo/A1301/rstLst/ramen/) are paginated up to Max restaurants. English /en/ URLs are accepted and read from the Japanese site. The aliases restaurantUrls and urls also work through the API.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "On: one row per review with the full text, score, sub-scores, visit date and reviewer. Off: one row per restaurant (details only, faster and cheaper).",
            "default": true
          },
          "maxReviewsPerRestaurant": {
            "title": "Max reviews per restaurant",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reviews per restaurant, e.g. 50. 0 = all that Tabelog serves (about 1,100 at most). Counts matching reviews only.",
            "default": 100
          },
          "sortBy": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "rating_high",
              "rating_low",
              "default"
            ],
            "type": "string",
            "description": "newest = latest visit first (best for monitoring). default = Tabelog's own order. Tabelog has no rating sort: rating_high and rating_low return Tabelog's order, so combine them with Minimum review rating.",
            "default": "newest"
          },
          "includePhotos": {
            "title": "Include review photos",
            "type": "boolean",
            "description": "Adds a photos array with the 640 px photo URLs of each review.",
            "default": false
          },
          "minRating": {
            "title": "Minimum review rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only reviews rated at least this, e.g. 4.0. Leave empty for all."
          },
          "visitedAfter": {
            "title": "Visited on or after (YYYY-MM)",
            "pattern": "^$|^\\d{4}[-/]\\d{1,2}$",
            "type": "string",
            "description": "Only reviews for visits in this month or later, e.g. 2026-01. With Sort = newest the crawl stops after 2 pages with no match."
          },
          "mealType": {
            "title": "Meal type",
            "enum": [
              "all",
              "lunch",
              "dinner"
            ],
            "type": "string",
            "description": "Only lunch or only dinner reviews (filtered by Tabelog itself).",
            "default": "all"
          },
          "reviewLanguage": {
            "title": "Review language",
            "enum": [
              "all",
              "japanese",
              "english"
            ],
            "type": "string",
            "description": "japanese = reviews with Japanese characters, english = reviews written in Latin letters only.",
            "default": "all"
          },
          "withPhotosOnly": {
            "title": "Only reviews with photos",
            "type": "boolean",
            "description": "Keep only reviews that have at least one photo.",
            "default": false
          },
          "onlyNewReviews": {
            "title": "Only new reviews (since the last run)",
            "type": "boolean",
            "description": "For scheduled monitoring: skips reviews an earlier run already delivered. Seen review IDs are kept per restaurant in the key-value store \"tabelog-scraper-cheap-seen-reviews\" in your account (delete it to start over). With Sort = newest the crawl stops at the first already-seen review.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the Actor then uses a Japan residential proxy, which Tabelog needs (datacenter and non-Japanese IPs get HTTP 403). Pick a group only to override.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "JP"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}