---
title: "Search Addresses"
method: POST
path: "/api/v1/addresses/search"
tags: ["Addresses"]
---

# Search Addresses

`POST /api/v1/addresses/search`

## Request

- Base URL: `https://api.g3m.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.g3m.co/api/v1/addresses/search`
- Auth: none declared

## Request body

- AddressSearchRequest
  - `query` string, required
  - `session_token` string, nullable
  - `country_code` string, nullable

## Response `200`

Successful Response

- AddressSearchResponse
  - `session_token` string, required
  - `predictions` AddressPrediction[], required
    - `place_id` string, required
    - `text` string, required
    - `main_text` string, nullable
    - `secondary_text` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/g3m/apis/g3m-api.md) · [All operations](https://skmtc.dev/g3m/apis/g3m-api/llms.txt) · [OpenAPI document](https://skmtc.dev/g3m/apis/g3m-api/revisions/bfe1b239e8a7?raw)
