> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sanfoundation.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get place reviews

> Read reviews for a place.

Use an `id` from [places search](https://docs.sanfoundation.com/api-reference/places-search.md). Follow `next_page` until it is `null`.

A review can contain a rating without written text. Dates can be relative, and owner replies appear only when available.


## OpenAPI

````yaml https://api.sanfoundation.com/openapi.json GET /v1/places/{id}/reviews
openapi: 3.0.0
info:
  title: SAN API
  description: >-
    Web data and context for agents, served by a network of miners running real
    browsers on residential connections. One resource per thing an agent asks
    for: search the web, read the news, find places, hotels and flights, and
    quote a symbol. Present an API key as `Authorization: Bearer san_...`. Every
    response is snake_case JSON and every error is `{ error: { code, message,
    param } }`.
  version: 0.0.1
  contact: {}
servers: []
security: []
tags:
  - name: web
    description: Web search
  - name: news
    description: News search
  - name: places
    description: Places search
  - name: hotels
    description: Stays search
  - name: flights
    description: Flight search
  - name: finance
    description: Quotes and charts
  - name: shopping
    description: Products and sellers
  - name: account
    description: Plan and remaining budget
paths:
  /v1/places/{id}/reviews:
    get:
      tags:
        - places
      summary: Reviews for one place
      description: >-
        What people wrote about a place, most relevant first, ten to a page.
        Takes the `id` a places search returned.
      operationId: PlacesController_reviews
      parameters:
        - name: id
          required: true
          in: path
          description: The `id` of a place from a places search.
          schema:
            type: string
            example: san1.QkFEQ0FGRTAxMjM0NTY3ODk
        - name: page
          required: false
          in: query
          description: 1 based, up to 5. A deep page costs a miner real work.
          schema:
            type: number
            example: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlaceReviewsResponseDto'
        '400':
          description: A parameter is missing, invalid or not recognized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorDto'
        '401':
          description: Invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorDto'
        '404':
          description: The id is not one this API issued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorDto'
        '429':
          description: Monthly quota exhausted. Hard stop, no overage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorDto'
        '503':
          description: No miner and no fallback could serve the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorDto'
      security:
        - api_key: []
        - x-api-key: []
components:
  schemas:
    PlaceReviewsResponseDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Id of this request. Quote it when reporting a problem.
        took_ms:
          type: number
          example: 1420
          description: How long the request took, in milliseconds.
        request:
          additionalProperties: true
          description: >-
            The parameters as accepted, after defaults and normalization. What
            the request actually ran with.
          example:
            id: san1.QkFEQ0FGRTAxMjM0NTY3ODk
            page: 1
          allOf:
            - $ref: '#/components/schemas/PlaceReviewsRequestEchoDto'
        next_page:
          type: number
          nullable: true
          example: 2
          description: >-
            The next page to ask for, or null when there is no further page.
            Never a page this endpoint would reject.
        results:
          type: array
          items:
            $ref: '#/components/schemas/PlaceReviewDto'
      required:
        - id
        - took_ms
        - request
        - next_page
        - results
    PublicErrorDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/PublicErrorBodyDto'
      required:
        - error
    PlaceReviewsRequestEchoDto:
      type: object
      properties:
        id:
          type: string
          example: san1.QkFEQ0FGRTAxMjM0NTY3ODk
        page:
          type: number
          example: 1
      required:
        - id
        - page
    PlaceReviewDto:
      type: object
      properties:
        position:
          type: number
          example: 1
          description: Rank within this page, 1 based.
        author:
          type: string
          example: Alex M
        rating:
          type: number
          example: 5
          description: Stars, 1 to 5.
        date:
          type: string
          example: 2 months ago
          description: As displayed, which is usually relative.
        text:
          type: string
          example: Great coffee and plenty of room to work.
          description: Absent for a rating left with no words.
        owner_reply:
          type: string
          example: Thanks for visiting, see you soon.
      required:
        - position
        - author
    PublicErrorBodyDto:
      type: object
      properties:
        code:
          type: string
          enum:
            - unauthorized
            - missing_parameter
            - invalid_parameter
            - not_found
            - quota_exceeded
            - rate_limited
            - unavailable
            - expired
            - internal_error
          example: missing_parameter
        message:
          type: string
          example: Missing parameter `query`.
        param:
          type: string
          example: query
          description: The parameter at fault, when one parameter is at fault.
      required:
        - code
        - message
  securitySchemes:
    api_key:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: 'Public API key: `Authorization: Bearer san_...`.'
    x-api-key:
      type: apiKey
      in: header
      name: X-Api-Key
      description: The same public API key, as a header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.