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

# /twogis/places

> Get a 2GIS place (organization / branch) by its numeric id

**Price:** 5 credits

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



## OpenAPI

````yaml /openapi/local-places.json post /api/twogis/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/twogis/places:
    post:
      tags:
        - /twogis
      summary: /twogis/places
      description: |-
        Get a 2GIS place (organization / branch) by its numeric id

        **Price:** 5 credits

        **⚠️ Common errors:** 412: Place not found for the given id
      operationId: __api_twogis_places_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwogisPlacePayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TwogisPlace'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TwogisPlacePayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        place:
          type: string
          minLength: 1
        region_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - place
    TwogisPlace:
      properties:
        '@type':
          type: string
          default: TwogisPlace
        id:
          type: string
        name:
          type: string
        type:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        address_comment:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        region_id:
          anyOf:
            - type: integer
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        district:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        org_rating:
          anyOf:
            - type: number
            - type: 'null'
        org_review_count:
          anyOf:
            - type: integer
            - type: 'null'
        provider_ratings:
          items:
            $ref: '#/components/schemas/TwogisProviderRating'
          type: array
          default: []
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        socials:
          additionalProperties:
            type: string
          type: object
          default: {}
        ad_text:
          anyOf:
            - type: string
            - type: 'null'
        schedule:
          items:
            $ref: '#/components/schemas/TwogisScheduleDay'
          type: array
          default: []
        rubrics:
          items:
            $ref: '#/components/schemas/TwogisRubric'
          type: array
          default: []
        primary_rubric:
          anyOf:
            - type: string
            - type: 'null'
        attributes:
          items:
            $ref: '#/components/schemas/TwogisAttribute'
          type: array
          default: []
        org:
          anyOf:
            - $ref: '#/components/schemas/TwogisOrg'
            - type: 'null'
        nearest_metro:
          items:
            $ref: '#/components/schemas/TwogisNearbyStation'
          type: array
          default: []
        nearest_stations:
          items:
            $ref: '#/components/schemas/TwogisNearbyStation'
          type: array
          default: []
        nearest_parking:
          items:
            $ref: '#/components/schemas/TwogisNearbyStation'
          type: array
          default: []
        has_photos:
          type: boolean
          default: false
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    TwogisProviderRating:
      properties:
        '@type':
          type: string
          default: TwogisProviderRating
        tag:
          type: string
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - tag
    TwogisScheduleDay:
      properties:
        '@type':
          type: string
          default: TwogisScheduleDay
        day:
          type: string
        working_hours:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - day
    TwogisRubric:
      properties:
        '@type':
          type: string
          default: TwogisRubric
        id:
          type: string
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        kind:
          anyOf:
            - type: string
            - type: 'null'
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    TwogisAttribute:
      properties:
        '@type':
          type: string
          default: TwogisAttribute
        name:
          type: string
        tag:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    TwogisOrg:
      properties:
        '@type':
          type: string
          default: TwogisOrg
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        branch_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    TwogisNearbyStation:
      properties:
        '@type':
          type: string
          default: TwogisNearbyStation
        id:
          type: string
        distance:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````