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

# /google/maps/places

> Get full Google Maps place details by feature ID. Includes rating, hours, phone, price.

**Price:** 5 credits

**⚠️ Common errors:** 412: Place not found for the given feature_id.



## OpenAPI

````yaml /openapi/local-places.json post /api/google/maps/places
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/google/maps/places:
    post:
      tags:
        - /google/maps
      summary: /google/maps/places
      description: >-
        Get full Google Maps place details by feature ID. Includes rating,
        hours, phone, price.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Place not found for the given feature_id.
      operationId: __api_google_maps_places_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleMapsPlacesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GooglePlace'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GoogleMapsPlacesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        feature_id:
          type: string
          minLength: 1
      type: object
      required:
        - feature_id
    GooglePlace:
      properties:
        '@type':
          type: string
          default: GooglePlace
        feature_id:
          type: string
        name:
          type: string
        place_id:
          anyOf:
            - type: string
            - type: 'null'
        entity_id:
          anyOf:
            - type: string
            - type: 'null'
        cid:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        neighborhood:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        timezone:
          anyOf:
            - type: string
            - type: 'null'
        categories:
          items:
            type: string
          type: array
          default: []
        primary_category:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating_distribution:
          anyOf:
            - $ref: '#/components/schemas/GooglePlaceRatingDistribution'
            - type: 'null'
        price_level:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        domain:
          anyOf:
            - type: string
            - type: 'null'
        editorial_summary:
          anyOf:
            - type: string
            - type: 'null'
        time_spent:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        menu_url:
          anyOf:
            - type: string
            - type: 'null'
        is_claimed:
          type: boolean
          default: false
        owner:
          anyOf:
            - $ref: '#/components/schemas/GooglePlaceOwner'
            - type: 'null'
        hours:
          items:
            $ref: '#/components/schemas/GooglePlaceHours'
          type: array
          default: []
        popular_times:
          items:
            $ref: '#/components/schemas/GooglePlacePopularTimes'
          type: array
          default: []
        attributes:
          items:
            $ref: '#/components/schemas/GooglePlaceAttributeGroup'
          type: array
          default: []
        actions:
          items:
            $ref: '#/components/schemas/GooglePlaceAction'
          type: array
          default: []
        related_places:
          items:
            $ref: '#/components/schemas/GoogleRelatedPlace'
          type: array
          default: []
        hotel:
          anyOf:
            - $ref: '#/components/schemas/GooglePlaceHotel'
            - type: 'null'
        plus_code:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - feature_id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    GooglePlaceRatingDistribution:
      properties:
        '@type':
          type: string
          default: GooglePlaceRatingDistribution
        star_1:
          anyOf:
            - type: integer
            - type: 'null'
        star_2:
          anyOf:
            - type: integer
            - type: 'null'
        star_3:
          anyOf:
            - type: integer
            - type: 'null'
        star_4:
          anyOf:
            - type: integer
            - type: 'null'
        star_5:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    GooglePlaceOwner:
      properties:
        '@type':
          type: string
          default: GooglePlaceOwner
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    GooglePlaceHours:
      properties:
        '@type':
          type: string
          default: GooglePlaceHours
        day:
          type: string
        hours:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - day
    GooglePlacePopularTimes:
      properties:
        '@type':
          type: string
          default: GooglePlacePopularTimes
        day:
          type: string
        hours:
          items:
            $ref: '#/components/schemas/GooglePlacePopularHour'
          type: array
          default: []
      type: object
      required:
        - day
    GooglePlaceAttributeGroup:
      properties:
        '@type':
          type: string
          default: GooglePlaceAttributeGroup
        name:
          type: string
        items:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - name
    GooglePlaceAction:
      properties:
        '@type':
          type: string
          default: GooglePlaceAction
        label:
          anyOf:
            - type: string
            - type: 'null'
        provider:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
      type: object
      required:
        - url
    GoogleRelatedPlace:
      properties:
        '@type':
          type: string
          default: GoogleRelatedPlace
        feature_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        primary_category:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    GooglePlaceHotel:
      properties:
        '@type':
          type: string
          default: GooglePlaceHotel
        hotel_class:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        offers:
          items:
            $ref: '#/components/schemas/GooglePlaceHotelOffer'
          type: array
          default: []
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    GooglePlacePopularHour:
      properties:
        '@type':
          type: string
          default: GooglePlacePopularHour
        hour:
          anyOf:
            - type: integer
            - type: 'null'
        busy_percent:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    GooglePlaceHotelOffer:
      properties:
        '@type':
          type: string
          default: GooglePlaceHotelOffer
        provider:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````