---
title: "GET /geocode"
method: GET
path: "/geocode"
---

# GET /geocode

`GET /geocode`

**Geocoding**

**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).

In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocoding endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No Point of Interest (POIs) will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties, states etc.
>[!Important]
>By using this feature, you agree to the preview legal terms. See the [Preview Supplemental Terms](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for additional details.

## Query parameters

- `api-version` string, required
- `top` integer
- `query` string
- `addressLine` string
- `countryRegionSet` string[]
- `bbox` number[]
- `view` string
- `location` number[]
- `adminDistrict` string
- `adminDistrict2` string
- `adminDistrict3` string
- `locality` string
- `postalCode` string
- `strictMatch` 'notstrict' | 'strict'

## Headers

- `Accept-Language` string

## Parameters

- `../../../Common/preview/2022-09-01-preview/common.json#/components/parameters/ClientId` — unresolved $ref

## Response `200`

OK

## Other responses

- `default` — unresolved $ref

## Changes

- **2025-10-15** (1.0) `69718fe8c37a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/maps-search/changes/geocode/get.md)

---

[API](https://skmtc.dev/azure/apis/maps-search.md) · [All operations](https://skmtc.dev/azure/apis/maps-search/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/maps-search/revisions/b9c8eccff00d/schema)
