---
title: "Locate a suggestion"
method: POST
path: "/v1/places/locate"
tags: ["Places"]
---

# Locate a suggestion

`POST /v1/places/locate`

## Request

- Base URL: `https://api.uxduck.com`
- URL: `https://api.uxduck.com/v1/places/locate`
- Auth: none declared

One geocode, from the suggestion's key and text.

## Request body

- object
  - `key` string, required
  - `text` string, required
  - `near` object
    - `latitudeDeg` number, required
    - `longitudeDeg` number, required

## Response `200`

The place

- object
  - `place` object, required
    - `name` string, required
    - `detail` string, required
    - `latitudeDeg` number, required
    - `longitudeDeg` number, required
  - `attribution` string, required

## Other responses

- `400`: The body does not match the schema
- `404`: Esri found no place for the suggestion
- `429`: Too many requests from this address. Try again in a minute
- `502`: Esri is not answering or refused the request
- `503`: Place search is not configured

---

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