---
title: "POST /v2/geocode"
method: POST
path: "/v2/geocode"
---

# POST /v2/geocode

`POST /v2/geocode`

`Geocode` converts a textual address or place into geographic coordinates. You can obtain geographic coordinates, address component, and other related information. It supports flexible queries, including free-form text or structured queries with components like street names, postal codes, and regions. The Geocode API can also provide additional features such as time zone information and the inclusion of political views. Not supported in `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html) customers.

For more information, see [Geocode](https://docs.aws.amazon.com/location/latest/developerguide/geocode.html) in the _Amazon Location Service Developer Guide_.

## Query parameters

- `key` string, password

## Request body

- object
  - `QueryText` string, password — The free-form text query to match addresses against. This is usually a partially typed address from an end user in an address box or form.
  - `QueryComponents` object — A structured free text query allows you to search for places by the name or text representation of specific properties of the place.
    - `Country` string, password — The alpha-2 or alpha-3 character code for the country that the results will be present in.
    - `Region` string, password — <p>The region or state results should be to be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
    - `SubRegion` string, password — The sub-region or county for which results should be present in.
    - `Locality` string, password — <p>The city or locality results should be present in. </p> <p>Example: <code>Vancouver</code>.</p>
    - `District` string, password — The district or division of a city the results should be present in.
    - `Street` string, password — The name of the street results should be present in.
    - `AddressNumber` string, password — The house number or address results should have.
    - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should possess.
  - `MaxResults` integer — <p>An optional limit for the number of results returned in a single call.</p> <p>Default value: 20</p>
  - `BiasPosition` Double[] — The position, in longitude and latitude, that the results should be close to. Typically, place results returned are ranked higher the closer they are to this position. Stored in <code>[lng, lat]</code> and in the WGS 84 format.
  - `Filter` object — Geocode structure which contains a set of inclusion/exclusion properties that results must possess in order to be returned as a result.
    - `IncludeCountries` CountryCode[] — A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
    - `IncludePlaceTypes` GeocodeFilterPlaceType[] — The included place types.
  - `AdditionalFeatures` GeocodeAdditionalFeature[] — A list of optional additional parameters, such as time zone, that can be requested for each result.
  - `Language` string — A list of <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
  - `PoliticalView` string, password — The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
  - `IntendedUse` 'SingleUse' | 'Storage' — <p> Indicates if the query results will be persisted in customer infrastructure. Defaults to <code>SingleUse</code> (not stored). Not supported in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>When storing <code>Geocode</code> responses, you <i>must</i> set this field to <code>Storage</code> to comply with the terms of service. These requests will be charged at a higher rate. Please review the <a href="https://aws.amazon.com/location/sla/">user agreement</a> and <a href="https://aws.amazon.com/location/pricing/">service pricing structure</a> to determine the correct setting for your use case.</p> </note>
  - `PostalCodeMode` 'MergeAllSpannedLocalities' | 'EnumerateSpannedLocalities' | 'EnumerateSpannedDistricts' — The <code>PostalCodeMode</code> affects how postal code results are returned. If a postal code spans multiple localities and this value is empty, partial district or locality information may be returned under a single postal code result entry. If it's populated with the value <code>EnumerateSpannedLocalities</code>, all cities in that postal code are returned. If it's populated with the value <code>EnumerateSpannedDistricts</code>, all combinations of the postal code with the corresponding district and city names are returned.
  - `AddressTranslations` AddressTranslationComponent[] — Specifies which address components to include translations for. Translations include all name variants and alternative names for the requested fields in all available languages. Valid values are <code>District</code>, <code>Locality</code>, <code>Region</code>, and <code>SubRegion</code>.
  - `AddressNamesMode` 'Matched' | 'Administrative' — Specifies how address names are returned. If not set, the service returns normalized (official) names by default. When set to <code>Matched</code>, address names in the response are based on the input query rather than official names. When set to <code>Administrative</code>, the service returns the official administrative names for address components. <code>Administrative</code> currently applies only to addresses in the United States.

## Response `200`

Success

- GeocodeResponse
  - `ResultItems` GeocodeResultItem[] — List of places or results returned for a query.
    - `PlaceId` string, password, required — The <code>PlaceId</code> of the place result.
    - `PlaceType` 'Country' | 'Region' | 'SubRegion' | 'Locality' | 'District' | 'SubDistrict' | 'PostalCode' | 'Block' | 'SubBlock' | 'Intersection' | 'Street' | 'PointOfInterest' | 'PointAddress' | 'InterpolatedAddress' | 'SecondaryAddress' | 'InferredSecondaryAddress', password, required — A <code>PlaceType</code> is a category that the result place must belong to.
    - `Title` string, password, required — The localized display name of this result item based on request parameter <code>language</code>.
    - `Address` object — The place's address.
      - `Label` string, password — Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.
      - `Country` object — The country component of the address.
        - `Code2` string, password — Country, represented by its alpha 2-character code.
        - `Code3` string, password — Country, represented by its alpha t-character code.
        - `Name` string, password — Name of the country.
      - `Region` object — <p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
        - `Code` string, password — <p> Abbreviated code for a the state, province or region of the country. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>BC</code>.</p>
        - `Name` string, password — <p>Name for a the state, province, or region of the country. </p> <p>Example: <code>British Columbia</code>. </p>
      - `SubRegion` object — The sub-region or county for which results should be present in.
        - `Code` string, password — Abbreviated code for the county or sub-region. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
        - `Name` string, password — Name for the county or sub-region.
      - `Locality` string, password — <p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>
      - `District` string, password — The district or division of a locality associated with this address.
      - `SubDistrict` string, password — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>
      - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
      - `Block` string, password — <p> Name of the block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
      - `SubBlock` string, password — <p> Name of sub-block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
      - `Intersection` IntersectionStreet[] — <p> Name of the streets in the intersection. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>
      - `Street` string, password — The name of the street results should be present in.
      - `StreetComponents` StreetComponents[] — <p> Components of the street. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: Yonge from "Yonge street".</p>
        - `BaseName` string, password — <p>Base name part of the street name. </p> <p>Example: Younge from the "Younge street".</p>
        - `Type` string, password — <p>Street type part of the street name. </p> <p>Example: <code>"avenue"</code>.</p>
        - `TypePlacement` 'BeforeBaseName' | 'AfterBaseName' — Defines if the street type is before or after the base name.
        - `TypeSeparator` string — Defines a separator character such as <code>""</code> or <code>" "</code> between the base name and type.
        - `Prefix` string, password — <p>A prefix is a directional identifier that precedes, but is not included in, the base name of a road. </p> <p>Example: E for East.</p>
        - `Suffix` string, password — <p>A suffix is a directional identifier that follows, but is not included in, the base name of a road. </p> <p>Example W for West.</p>
        - `Direction` string, password — Indicates the official directional identifiers assigned to highways.
        - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
      - `AddressNumber` string, password — The number that identifies an address within a street.
      - `Building` string, password — The name of the building at the address. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
      - `SecondaryAddressComponents` SecondaryAddressComponent[] — <p> Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>Coverage for <code>Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, CAN, NZL, USA, PRI</p> </note>
        - `Number` string, password, required — Number that uniquely identifies a secondary address.
        - `Designator` string, password — <p>The designator of the secondary address component.</p> <p>Example: <code>Apt</code>.</p>
    - `AddressNumberCorrected` boolean — Boolean indicating if the address provided has been corrected.
    - `PostalCodeDetails` PostalCodeDetails[] — Contains details about the postal code of the place/result.
      - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should possess.
      - `PostalAuthority` 'Usps', password — The postal authority or entity. This could be a governmental authority, a regulatory authority, or a designated postal operator.
      - `PostalCodeType` 'UspsZip' | 'UspsZipPlus4', password — The postal code type.
      - `UspsZip` object — The ZIP Classification Code, or in other words what type of postal code is it.
        - `ZipClassificationCode` 'Military' | 'PostOfficeBoxes' | 'Unique', password — The ZIP Classification Code, or in other words what type of postal code is it.
      - `UspsZipPlus4` object — The USPS ZIP+4 Record Type Code.
        - `RecordTypeCode` 'Firm' | 'General' | 'HighRise' | 'PostOfficeBox' | 'Rural' | 'Street', password — The USPS ZIP+4 Record Type Code.
    - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
    - `Distance` integer — The distance in meters from the QueryPosition.
    - `MapView` Double[] — <p>The bounding box enclosing the geometric shape (area or line) that an individual result covers.</p> <p>The bounding box formed is defined as a set 4 coordinates: <code>[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]</code> </p>
    - `Categories` Category[] — Categories of results that results must belong to.
      - `Id` string, password, required — The category ID.
      - `Name` string, password, required — The category name.
      - `LocalizedName` string, password — Localized name of the category type.
      - `Primary` boolean — Boolean which indicates if this category is the primary offered by the place.
    - `FoodTypes` FoodType[] — List of food types offered by this result.
      - `LocalizedName` string, password, required — Localized name of the food type.
      - `Id` string, password — The Food Type Id.
      - `Primary` boolean — Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.
    - `AccessPoints` AccessPoint[] — Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
      - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
      - `Type` 'Delivery' | 'Emergency' | 'Entrance' | 'Loading' | 'Other' | 'Parking' | 'Taxi' — The type of access point, indicating its intended use. Only applies to results of type place.
      - `Primary` boolean — Set to <code>true</code> for the primary access position when the place has more than one access point.
      - `Label` string, password — A short textual description of the access point, such as <code>"North Entrance"</code>.
    - `TimeZone` object — The time zone in which the place is located.
      - `Name` string, password, required — The time zone name.
      - `Offset` string, password — Time zone offset of the timezone from UTC.
      - `OffsetSeconds` integer — The offset of the time zone from UTC, in seconds.
    - `PoliticalView` string, password — The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
    - `MatchScores` object — Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
      - `Overall` number, double — Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
      - `Components` object — Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
        - `Title` number, double — Indicates the match score of the title in the text query that match the found title.
        - `Address` object — The place's address.
          - `Country` number, double — The alpha-2 or alpha-3 character code for the country that the results will be present in.
          - `Region` number, double — <p>The region or state results should be to be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
          - `SubRegion` number, double — The sub-region or county for which results should be present in.
          - `Locality` number, double — <p>The city or locality results should be present in. </p> <p>Example: <code>Vancouver</code>.</p>
          - `District` number, double — The district or division of a city the results should be present in.
          - `SubDistrict` number, double — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code> </p>
          - `PostalCode` number, double — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
          - `Block` number, double — <p>Name of the block. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
          - `SubBlock` number, double — <p>Name of sub-block. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
          - `Intersection` MatchScore[] — <p>Name of the streets in the intersection. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>
          - `AddressNumber` number, double — The house number or address results should have.
          - `Building` number, double — The name of the building at the address.
          - `SecondaryAddressComponents` SecondaryAddressComponentMatchScore[] — <p>Match scores for the secondary address components in the result.</p> <note> <p>Coverage for this functionality is available in the following countries: AUS, AUT, BRA, CAN, ESP, FRA, GBR, IDN, IND, NZL, TUR, TWN, USA.</p> </note>
            - `Number` number, double — Match score for the secondary address number.
    - `ParsedQuery` object — Free-form text query.
      - `Title` ParsedQueryComponent[] — The localized display name of this result item based on request parameter <code>language</code>.
        - `StartIndex` integer — Start index of the parsed query component.
        - `EndIndex` integer — End index of the parsed query component.
        - `Value` string, password — Value of the parsed query component.
        - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
      - `Address` object — The place address.
        - `Country` ParsedQueryComponent[] — The alpha-2 or alpha-3 character code for the country that the results will be present in.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `Region` ParsedQueryComponent[] — <p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `SubRegion` ParsedQueryComponent[] — The sub-region or county for which results should be present in.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `Locality` ParsedQueryComponent[] — <p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `District` ParsedQueryComponent[] — The district or division of a city the results should be present in.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `SubDistrict` ParsedQueryComponent[] — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `PostalCode` ParsedQueryComponent[] — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `Block` ParsedQueryComponent[] — <p>Name of the block. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `SubBlock` ParsedQueryComponent[] — <p>Name of sub-block. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `Street` ParsedQueryComponent[] — The name of the street results should be present in.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `AddressNumber` ParsedQueryComponent[] — The number that identifies an address within a street.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `Building` ParsedQueryComponent[] — The name of the building at the address.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
        - `SecondaryAddressComponents` ParsedQuerySecondaryAddressComponent[] — <p>Parsed secondary address components from the provided query text.</p> <note> <p>Coverage for <code>ParsedQuery.Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, AUT, BRA, CAN, ESP, FRA, GBR, HKG, IDN, IND, NZL, TUR, TWN, USA</p> </note>
          - `StartIndex` integer, required — Start index of the parsed secondary address component in the query text.
          - `EndIndex` integer, required — End index of the parsed secondary address component in the query text.
          - `Value` string, password, required — Value of the parsed secondary address component.
          - `Number` string, password, required — Secondary address number provided in the query.
          - `Designator` string, password, required — Secondary address designator provided in the query.
        - `OtherComponents` ParsedQueryComponent[] — Additional information extracted from the query that does not correspond to standard address components.
          - `StartIndex` integer — Start index of the parsed query component.
          - `EndIndex` integer — End index of the parsed query component.
          - `Value` string, password — Value of the parsed query component.
          - `QueryComponent` string, password — The address component that the parsed query component corresponds to.
    - `Intersections` Intersection[] — All Intersections that are near the provided address.
      - `PlaceId` string, password, required — The <code>PlaceId</code> of the place result.
      - `Title` string, password, required — The localized display name of this result item based on request parameter <code>language</code>.
      - `Address` Address — The place address.
        - `Label` string, password — Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.
        - `Country` object — The country component of the address.
          - `Code2` string, password — Country, represented by its alpha 2-character code.
          - `Code3` string, password — Country, represented by its alpha t-character code.
          - `Name` string, password — Name of the country.
        - `Region` object — <p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
          - `Code` string, password — <p> Abbreviated code for a the state, province or region of the country. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>BC</code>.</p>
          - `Name` string, password — <p>Name for a the state, province, or region of the country. </p> <p>Example: <code>British Columbia</code>. </p>
        - `SubRegion` object — The sub-region or county for which results should be present in.
          - `Code` string, password — Abbreviated code for the county or sub-region. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
          - `Name` string, password — Name for the county or sub-region.
        - `Locality` string, password — <p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>
        - `District` string, password — The district or division of a locality associated with this address.
        - `SubDistrict` string, password — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>
        - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
        - `Block` string, password — <p> Name of the block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
        - `SubBlock` string, password — <p> Name of sub-block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
        - `Intersection` IntersectionStreet[] — <p> Name of the streets in the intersection. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>
        - `Street` string, password — The name of the street results should be present in.
        - `StreetComponents` StreetComponents[] — <p> Components of the street. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: Yonge from "Yonge street".</p>
          - `BaseName` string, password — <p>Base name part of the street name. </p> <p>Example: Younge from the "Younge street".</p>
          - `Type` string, password — <p>Street type part of the street name. </p> <p>Example: <code>"avenue"</code>.</p>
          - `TypePlacement` 'BeforeBaseName' | 'AfterBaseName' — Defines if the street type is before or after the base name.
          - `TypeSeparator` string — Defines a separator character such as <code>""</code> or <code>" "</code> between the base name and type.
          - `Prefix` string, password — <p>A prefix is a directional identifier that precedes, but is not included in, the base name of a road. </p> <p>Example: E for East.</p>
          - `Suffix` string, password — <p>A suffix is a directional identifier that follows, but is not included in, the base name of a road. </p> <p>Example W for West.</p>
          - `Direction` string, password — Indicates the official directional identifiers assigned to highways.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
        - `AddressNumber` string, password — The number that identifies an address within a street.
        - `Building` string, password — The name of the building at the address. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
        - `SecondaryAddressComponents` SecondaryAddressComponent[] — <p> Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>Coverage for <code>Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, CAN, NZL, USA, PRI</p> </note>
          - `Number` string, password, required — Number that uniquely identifies a secondary address.
          - `Designator` string, password — <p>The designator of the secondary address component.</p> <p>Example: <code>Apt</code>.</p>
      - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
      - `Distance` integer — The distance in meters from the QueryPosition.
      - `RouteDistance` integer — The distance from the routing position of the nearby address to the street result.
      - `MapView` Double[] — <p>The bounding box enclosing the geometric shape (area or line) that an individual result covers.</p> <p>The bounding box formed is defined as a set of four coordinates: <code>[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]</code> </p>
      - `AccessPoints` AccessPoint[] — Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Type` 'Delivery' | 'Emergency' | 'Entrance' | 'Loading' | 'Other' | 'Parking' | 'Taxi' — The type of access point, indicating its intended use. Only applies to results of type place.
        - `Primary` boolean — Set to <code>true</code> for the primary access position when the place has more than one access point.
        - `Label` string, password — A short textual description of the access point, such as <code>"North Entrance"</code>.
    - `MainAddress` object — The main address corresponding to a place of type Secondary Address.
      - `PlaceId` string, password, required — The <code>PlaceId</code> of the place result.
      - `PlaceType` 'Country' | 'Region' | 'SubRegion' | 'Locality' | 'District' | 'SubDistrict' | 'PostalCode' | 'Block' | 'SubBlock' | 'Intersection' | 'Street' | 'PointOfInterest' | 'PointAddress' | 'InterpolatedAddress' | 'SecondaryAddress' | 'InferredSecondaryAddress', password, required — A <code>PlaceType</code> is a category that the result place must belong to.
      - `Title` string, password, required — The localized display name of this result item based on request parameter <code>language</code>.
      - `Address` Address — The place address.
        - `Label` string, password — Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.
        - `Country` object — The country component of the address.
          - `Code2` string, password — Country, represented by its alpha 2-character code.
          - `Code3` string, password — Country, represented by its alpha t-character code.
          - `Name` string, password — Name of the country.
        - `Region` object — <p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
          - `Code` string, password — <p> Abbreviated code for a the state, province or region of the country. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>BC</code>.</p>
          - `Name` string, password — <p>Name for a the state, province, or region of the country. </p> <p>Example: <code>British Columbia</code>. </p>
        - `SubRegion` object — The sub-region or county for which results should be present in.
          - `Code` string, password — Abbreviated code for the county or sub-region. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
          - `Name` string, password — Name for the county or sub-region.
        - `Locality` string, password — <p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>
        - `District` string, password — The district or division of a locality associated with this address.
        - `SubDistrict` string, password — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>
        - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
        - `Block` string, password — <p> Name of the block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
        - `SubBlock` string, password — <p> Name of sub-block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
        - `Intersection` IntersectionStreet[] — <p> Name of the streets in the intersection. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>
        - `Street` string, password — The name of the street results should be present in.
        - `StreetComponents` StreetComponents[] — <p> Components of the street. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: Yonge from "Yonge street".</p>
          - `BaseName` string, password — <p>Base name part of the street name. </p> <p>Example: Younge from the "Younge street".</p>
          - `Type` string, password — <p>Street type part of the street name. </p> <p>Example: <code>"avenue"</code>.</p>
          - `TypePlacement` 'BeforeBaseName' | 'AfterBaseName' — Defines if the street type is before or after the base name.
          - `TypeSeparator` string — Defines a separator character such as <code>""</code> or <code>" "</code> between the base name and type.
          - `Prefix` string, password — <p>A prefix is a directional identifier that precedes, but is not included in, the base name of a road. </p> <p>Example: E for East.</p>
          - `Suffix` string, password — <p>A suffix is a directional identifier that follows, but is not included in, the base name of a road. </p> <p>Example W for West.</p>
          - `Direction` string, password — Indicates the official directional identifiers assigned to highways.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
        - `AddressNumber` string, password — The number that identifies an address within a street.
        - `Building` string, password — The name of the building at the address. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
        - `SecondaryAddressComponents` SecondaryAddressComponent[] — <p> Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>Coverage for <code>Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, CAN, NZL, USA, PRI</p> </note>
          - `Number` string, password, required — Number that uniquely identifies a secondary address.
          - `Designator` string, password — <p>The designator of the secondary address component.</p> <p>Example: <code>Apt</code>.</p>
      - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
      - `AccessPoints` AccessPoint[] — Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Type` 'Delivery' | 'Emergency' | 'Entrance' | 'Loading' | 'Other' | 'Parking' | 'Taxi' — The type of access point, indicating its intended use. Only applies to results of type place.
        - `Primary` boolean — Set to <code>true</code> for the primary access position when the place has more than one access point.
        - `Label` string, password — A short textual description of the access point, such as <code>"North Entrance"</code>.
    - `SecondaryAddresses` RelatedPlace[] — <p>All secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information.</p> <note> <p>Coverage for this functionality is available in the following countries: AUS, CAN, NZL, USA, PRI.</p> </note>
      - `PlaceId` string, password, required — The <code>PlaceId</code> of the place result.
      - `PlaceType` 'Country' | 'Region' | 'SubRegion' | 'Locality' | 'District' | 'SubDistrict' | 'PostalCode' | 'Block' | 'SubBlock' | 'Intersection' | 'Street' | 'PointOfInterest' | 'PointAddress' | 'InterpolatedAddress' | 'SecondaryAddress' | 'InferredSecondaryAddress', password, required — A <code>PlaceType</code> is a category that the result place must belong to.
      - `Title` string, password, required — The localized display name of this result item based on request parameter <code>language</code>.
      - `Address` Address — The place address.
        - `Label` string, password — Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.
        - `Country` object — The country component of the address.
          - `Code2` string, password — Country, represented by its alpha 2-character code.
          - `Code3` string, password — Country, represented by its alpha t-character code.
          - `Name` string, password — Name of the country.
        - `Region` object — <p>The region or state results should be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>
          - `Code` string, password — <p> Abbreviated code for a the state, province or region of the country. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>BC</code>.</p>
          - `Name` string, password — <p>Name for a the state, province, or region of the country. </p> <p>Example: <code>British Columbia</code>. </p>
        - `SubRegion` object — The sub-region or county for which results should be present in.
          - `Code` string, password — Abbreviated code for the county or sub-region. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
          - `Name` string, password — Name for the county or sub-region.
        - `Locality` string, password — <p>The city or locality of the address.</p> <p>Example: <code>Vancouver</code>.</p>
        - `District` string, password — The district or division of a locality associated with this address.
        - `SubDistrict` string, password — <p>A subdivision of a district. </p> <p>Example: <code>Minden-Lübbecke</code>.</p>
        - `PostalCode` string, password — An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
        - `Block` string, password — <p> Name of the block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>
        - `SubBlock` string, password — <p> Name of sub-block. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>
        - `Intersection` IntersectionStreet[] — <p> Name of the streets in the intersection. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: <code>["Friedrichstraße","Unter den Linden"]</code> </p>
        - `Street` string, password — The name of the street results should be present in.
        - `StreetComponents` StreetComponents[] — <p> Components of the street. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <p>Example: Yonge from "Yonge street".</p>
          - `BaseName` string, password — <p>Base name part of the street name. </p> <p>Example: Younge from the "Younge street".</p>
          - `Type` string, password — <p>Street type part of the street name. </p> <p>Example: <code>"avenue"</code>.</p>
          - `TypePlacement` 'BeforeBaseName' | 'AfterBaseName' — Defines if the street type is before or after the base name.
          - `TypeSeparator` string — Defines a separator character such as <code>""</code> or <code>" "</code> between the base name and type.
          - `Prefix` string, password — <p>A prefix is a directional identifier that precedes, but is not included in, the base name of a road. </p> <p>Example: E for East.</p>
          - `Suffix` string, password — <p>A suffix is a directional identifier that follows, but is not included in, the base name of a road. </p> <p>Example W for West.</p>
          - `Direction` string, password — Indicates the official directional identifiers assigned to highways.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
        - `AddressNumber` string, password — The number that identifies an address within a street.
        - `Building` string, password — The name of the building at the address. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers.
        - `SecondaryAddressComponents` SecondaryAddressComponent[] — <p> Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor. Not available in <code>ap-southeast-1</code> and <code>ap-southeast-5</code> regions for <a href="https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html">GrabMaps</a> customers. </p> <note> <p>Coverage for <code>Address.SecondaryAddressComponents</code> is available in the following countries:</p> <p>AUS, CAN, NZL, USA, PRI</p> </note>
          - `Number` string, password, required — Number that uniquely identifies a secondary address.
          - `Designator` string, password — <p>The designator of the secondary address component.</p> <p>Example: <code>Apt</code>.</p>
      - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
      - `AccessPoints` AccessPoint[] — Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Position` Double[] — The position in World Geodetic System (WGS 84) format: [longitude, latitude].
        - `Type` 'Delivery' | 'Emergency' | 'Entrance' | 'Loading' | 'Other' | 'Parking' | 'Taxi' — The type of access point, indicating its intended use. Only applies to results of type place.
        - `Primary` boolean — Set to <code>true</code> for the primary access position when the place has more than one access point.
        - `Label` string, password — A short textual description of the access point, such as <code>"North Entrance"</code>.
    - `Translations` object — All name translations and alternative names for the requested address fields in all available languages.
      - `Locality` AdminNames[] — A list of administrative names and translations for the locality address component.
        - `Names` TranslationName[], required — A list of translation names for the administrative address component, including name variants and translations in available languages.
          - `Value` string, password, required — The translated or alternative name value.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language code for the translation name.
          - `Type` 'Abbreviation' | 'AreaCode' | 'BaseName' | 'Exonym' | 'Shortened' | 'Synonym', required — The type of translation name. Valid values are <code>Abbreviation</code>, <code>AreaCode</code>, <code>BaseName</code>, <code>Exonym</code>, <code>Shortened</code>, and <code>Synonym</code>.
          - `Primary` boolean — If <code>true</code>, indicates this is the primary name variant for the given language.
          - `Transliterated` boolean — If <code>true</code>, indicates this name is a transliterated version rather than a native script translation.
        - `Preference` 'Alternative' | 'Primary' — Indicates the preference level of the administrative name. Valid values are <code>Primary</code> and <code>Alternative</code>.
      - `Region` AdminNames[] — A list of administrative names and translations for the region address component.
        - `Names` TranslationName[], required — A list of translation names for the administrative address component, including name variants and translations in available languages.
          - `Value` string, password, required — The translated or alternative name value.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language code for the translation name.
          - `Type` 'Abbreviation' | 'AreaCode' | 'BaseName' | 'Exonym' | 'Shortened' | 'Synonym', required — The type of translation name. Valid values are <code>Abbreviation</code>, <code>AreaCode</code>, <code>BaseName</code>, <code>Exonym</code>, <code>Shortened</code>, and <code>Synonym</code>.
          - `Primary` boolean — If <code>true</code>, indicates this is the primary name variant for the given language.
          - `Transliterated` boolean — If <code>true</code>, indicates this name is a transliterated version rather than a native script translation.
        - `Preference` 'Alternative' | 'Primary' — Indicates the preference level of the administrative name. Valid values are <code>Primary</code> and <code>Alternative</code>.
      - `District` AdminNames[] — A list of administrative names and translations for the district address component.
        - `Names` TranslationName[], required — A list of translation names for the administrative address component, including name variants and translations in available languages.
          - `Value` string, password, required — The translated or alternative name value.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language code for the translation name.
          - `Type` 'Abbreviation' | 'AreaCode' | 'BaseName' | 'Exonym' | 'Shortened' | 'Synonym', required — The type of translation name. Valid values are <code>Abbreviation</code>, <code>AreaCode</code>, <code>BaseName</code>, <code>Exonym</code>, <code>Shortened</code>, and <code>Synonym</code>.
          - `Primary` boolean — If <code>true</code>, indicates this is the primary name variant for the given language.
          - `Transliterated` boolean — If <code>true</code>, indicates this name is a transliterated version rather than a native script translation.
        - `Preference` 'Alternative' | 'Primary' — Indicates the preference level of the administrative name. Valid values are <code>Primary</code> and <code>Alternative</code>.
      - `SubRegion` AdminNames[] — A list of administrative names and translations for the sub-region address component.
        - `Names` TranslationName[], required — A list of translation names for the administrative address component, including name variants and translations in available languages.
          - `Value` string, password, required — The translated or alternative name value.
          - `Language` string — A <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry">BCP 47</a> compliant language code for the translation name.
          - `Type` 'Abbreviation' | 'AreaCode' | 'BaseName' | 'Exonym' | 'Shortened' | 'Synonym', required — The type of translation name. Valid values are <code>Abbreviation</code>, <code>AreaCode</code>, <code>BaseName</code>, <code>Exonym</code>, <code>Shortened</code>, and <code>Synonym</code>.
          - `Primary` boolean — If <code>true</code>, indicates this is the primary name variant for the given language.
          - `Transliterated` boolean — If <code>true</code>, indicates this name is a transliterated version rather than a native script translation.
        - `Preference` 'Alternative' | 'Primary' — Indicates the preference level of the administrative name. Valid values are <code>Primary</code> and <code>Alternative</code>.
    - `EstimatedPointAddress` boolean — If <code>true</code>, indicates that the coordinates of the position and access points of the point address are estimated.

## Other responses

- `480` — InternalServerException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/geo-places.md) · [All operations](https://skmtc.net/aws/apis/geo-places/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/geo-places/versions/2c2d7ff49bea/schema)
