{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/serpkite-com/json-schema/serpkite-com-reviews-request-schema.json",
  "title": "ReviewsRequest",
  "description": "One of place_id, cid or fid is required",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/serpkite-com-reviews-api-openapi.yml#/components/schemas/ReviewsRequest",
  "type": "object",
  "properties": {
    "place_id": {
      "type": "string"
    },
    "cid": {
      "type": "string"
    },
    "fid": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "sort": {
      "type": "string",
      "enum": [
        "most_relevant",
        "newest",
        "highest_rating",
        "lowest_rating"
      ],
      "default": "most_relevant",
      "description": "Only `most_relevant` is served: Google Maps shows other review orders only to signed-in visitors, so `newest`, `highest_rating` and `lowest_rating` return 400 (not charged)."
    },
    "page_token": {
      "type": "string",
      "description": "`next_page_token` from the previous page, unchanged. Opaque and bound to the place and `sort` it was issued for (anything else is a 400). Paging reaches the first 10 reviews of a place at most, and usually the first 5, all Google Maps shows a logged-out visitor."
    },
    "num": {
      "type": "integer",
      "default": 10,
      "maximum": 50,
      "description": "Reviews per page; a page holds at most 10 (the first 10 reviews of a place). A page can be shorter when Google stops loading early; `next_page_token` then resumes after it"
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "markdown",
        "compact"
      ]
    },
    "fields": {
      "type": "string"
    },
    "max_age": {
      "type": "integer"
    }
  }
}