---
title: "Get address by postal code"
method: GET
path: "/api/checkout/pub/postal-code/{countryCode}/{postalCode}"
tags: ["Fulfillment"]
---

# Get address by postal code

`GET /api/checkout/pub/postal-code/{countryCode}/{postalCode}`

Retrieves address information for a given postal code and country.

This request can be used to implement auto complete functionality when a customer needs to fill in an address.

## Permissions

This endpoint does not require [permissions](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).

## Path parameters

- `countryCode` string, required
- `postalCode` string, required

## Query parameters

- `individualShippingEstimates` boolean

## Headers

- `Content-Type` string, required
- `Accept` string, required

## Response `200`

OK

- object — Address.
  - `postalCode` string — Postal code.
  - `city` string — City.
  - `state` string — State.
  - `country` string — Country.
  - `street` string — Street.
  - `number` string — Number.
  - `neighborhood` string — Neighborhood.
  - `complement` string, nullable — Complement to the shipping address, in case it applies.
  - `reference` string — Reference.
  - `geoCoordinates` integer[] — Geo coordinates.

---

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