> ## 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 details

> Retrieve a place’s available contact details, hours, and location.

Pass an `id` from [places search](https://docs.sanfoundation.com/api-reference/places-search.md) unchanged. This endpoint accepts no query parameters.

Contact details and coordinates appear when available. `hours` is `null` when no hours are listed. A day can have multiple opening spans; an entry without times marks a closed day. `close: "24:00"` marks the end of the day.


## OpenAPI

````yaml https://api.sanfoundation.com/openapi.json GET /v1/places/{id}
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}:
    get:
      tags:
        - places
      summary: One place in full
      description: >-
        Everything the listing leaves out for one place: address, phone,
        website, opening hours, coordinates and the description. Takes the `id`
        a places search returned.
      operationId: PlacesController_details
      parameters:
        - name: id
          required: true
          in: path
          description: The `id` of a place from a places search.
          schema:
            type: string
            example: san1.QkFEQ0FGRTAxMjM0NTY3ODk
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlaceDetailsResponseDto'
        '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:
    PlaceDetailsResponseDto:
      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
          allOf:
            - $ref: '#/components/schemas/PlaceDetailsRequestEchoDto'
        place:
          $ref: '#/components/schemas/PlaceDetailDto'
      required:
        - id
        - took_ms
        - request
        - place
    PublicErrorDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/PublicErrorBodyDto'
      required:
        - error
    PlaceDetailsRequestEchoDto:
      type: object
      properties:
        id:
          type: string
          example: san1.QkFEQ0FGRTAxMjM0NTY3ODk
      required:
        - id
    PlaceDetailDto:
      type: object
      properties:
        name:
          type: string
          example: Radio Coffee and Beer
        type:
          type: string
          example: Coffee shop
        address:
          type: string
          example: 12 Example St, Springfield
        phone:
          type: string
          example: +1 555-0100
        website:
          type: string
          example: https://example.com/
          description: The business's own site.
        rating:
          type: number
          example: 4.6
        reviews:
          type: number
          example: 1198
        price:
          type: string
          example: $$
          description: Price level as shown.
        hours:
          nullable: true
          description: >-
            One entry per opening span, so a day with two shifts appears twice,
            and a day with no times is a day it is closed. Null when the page
            lists no hours at all.
          type: array
          items:
            $ref: '#/components/schemas/PlaceHoursDto'
        open_now:
          type: boolean
          example: true
          description: Only when the page states it.
        coordinates:
          $ref: '#/components/schemas/CoordinatesDto'
        description:
          type: string
          example: Roomy cafe and beer garden with a food truck out back.
      required:
        - name
        - hours
    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
    PlaceHoursDto:
      type: object
      properties:
        day:
          type: string
          example: Monday
        open:
          type: string
          example: '08:00'
          description: 24 hour HH:MM. Absent on a day the place is closed.
        close:
          type: string
          example: '22:00'
          description: 24 hour HH:MM. `24:00` means it does not close that day.
      required:
        - day
    CoordinatesDto:
      type: object
      properties:
        lat:
          type: number
          example: 30.2953381
        lng:
          type: number
          example: -97.7365673
      required:
        - lat
        - lng
  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.