---
title: "Suggest Locations"
method: GET
path: "/jobs/locations/suggest"
tags: ["jobs"]
---

# Suggest Locations

`GET /jobs/locations/suggest`

## Request

- Base URL: `https://api.qarera.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qarera.com/jobs/locations/suggest`
- Auth: none declared

Autocomplete canonical locations, ranked by live job count.

Backed by the locations table (one row per canonical place), so job-filter
dropdowns and target-location pickers share the same standardized entries.
Returns location_id, which /jobs/ accepts as a filter, plus lat/lon for
distance search. city/state/country/count keys kept for older clients.

scope=all additionally searches the full GeoNames gazetteer (234k cities)
for places not yet in the locations table - those come back with
location_id null and count 0; their display_name geocodes exactly on write.

## Query parameters

- `q` string
- `limit` integer
- `granularity` string, nullable: Filter: city | state | country
- `scope` string: 'jobs' = places with jobs only; 'all' = fall back to the global gazetteer (for target-location pickers)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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