---
title: "Place suggestions as you type"
method: GET
path: "/location/autocomplete"
tags: ["Places"]
---

# Place suggestions as you type

`GET /location/autocomplete`

## Request

- Base URL: `https://jagannatha-hora-359167915530.europe-west1.run.app`
- URL: `https://jagannatha-hora-359167915530.europe-west1.run.app/location/autocomplete`
- Auth: none declared

Up to 50 matching places for a partial name, for a search-as-you-type box.

The query is part of the URL, so it appears in request logs (see Your Data).

No per-minute limit.

## Query parameters

- `query` string
- `q` string
- `limit` integer

## Response `200`

Success

- object
  - `query` unknown
  - `count` unknown
  - `results` object: Matching places. Each timezone is the place's standard UTC offset (no daylight saving). Keys: place, country, state, displayName, latitude, longitude, timezone, elevation.

## Other responses

- `400`: The input cannot be used for this calculation. The detail says why.
- `422`: A field is missing or out of range. The detail says which.

---

[API](https://skmtc.dev/jagannathahora/apis/vedic-astrology-calculation-api.md) · [All operations](https://skmtc.dev/jagannathahora/apis/vedic-astrology-calculation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jagannathahora/apis/vedic-astrology-calculation-api/revisions/bb90e41e2ba1?raw)
