---
title: "Get Location API"
method: GET
path: "/api/locations/LocationContent/location/{locationId}"
tags: ["LocationContent"]
---

# Get Location API

`GET /api/locations/LocationContent/location/{locationId}`

## Path parameters

- `locationId` string, required

## Query parameters

- `culture` string
- `accountId` string
- `getSublocations` boolean
- `getPointOfInterests` boolean

## Headers

- `accountId` string, required
- `apiKey` string, required

## Response `200`

Success

- LocationContentCoreContractsLocation
  - `predictions` LocationContentCoreContractsPrediction[], nullable
    - `description` string, nullable
    - `matched_substrings` LocationContentCoreContractsMatchedSubstring[], nullable
      - `length` integer
      - `offset` integer
    - `place_id` string, nullable
    - `reference` string, nullable
    - `structured_formatting` LocationContentCoreContractsStructuredFormatting
      - `main_text` string, nullable
      - `main_text_matched_substrings` LocationContentCoreContractsMainTextMatchedSubstring[], nullable
        - `length` integer
        - `offset` integer
      - `secondary_text` string, nullable
    - `terms` LocationContentCoreContractsTerm[], nullable
      - `offset` integer
      - `value` string, nullable
    - `types` string[], nullable
  - `status` string, nullable
  - `id` string, nullable
  - `name` string, nullable
  - `code` string, nullable
  - `fullName` string, nullable
  - `type` 'Airport' | 'Country' | 'State' | 'MultiCity' | 'City' | 'Region' | 'PointOfInterest' | 'Neighborhood' | 'Hotel' | 'TrainStation' | 'BusStation' | 'Area' | 'Undefined'
  - `city` string, nullable
  - `state` string, nullable
  - `country` string, nullable
  - `coordinates` LocationContentCoreContractsGeoCode
    - `lat` number, double
    - `long` number, double
  - `referenceId` string, nullable
  - `referenceScore` number, double
  - `isTermMatch` boolean
  - `shape` string, nullable
  - `boundaries` array[], nullable
    - LocationContentCoreContractsGeoCode[]
      - `lat` number, double
      - `long` number, double
  - `parentId` string, nullable
  - `hierarchyPath` string, nullable
  - `subLocations` LocationContentCoreContractsLocation[], nullable
  - `pointOfInterests` LocationContentCoreContractsLocation[], nullable
  - `hotelIds` string[], nullable

---

[API](https://skmtc.net/zentrumhub/apis/hotelcontent-api.md) · [All operations](https://skmtc.net/zentrumhub/apis/hotelcontent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zentrumhub/hotelcontent-api/revisions/9fa4830db488/schema)
