---
title: "Search census places by name"
method: GET
path: "/v1/places"
tags: ["places"]
---

# Search census places by name

`GET /v1/places`

## Request

- Base URL: `https://api.close.city`
- URL: `https://api.close.city/v1/places`
- Auth: none declared

Resolve a city/town name to its census place GEOID and WGS84 centroid.
Free (no API key). Matches are ranked prefix-first, then by population. Feed
`lon`/`lat` into `/v1/blocks/query` (center + radius_m), or `geoid` into
`/v1/places/{geoid}/blocks`.

## Query parameters

- `q` string, required: Name substring, e.g. 'Providence'
- `limit` integer

## Response `200`

Successful Response

- PlacesResponse
  - `places` Place[], required
    - `geoid` string, required: Census place GEOID
    - `lat` number, required: Centroid latitude (WGS84)
    - `lon` number, required: Centroid longitude (WGS84)
    - `name` string, required
    - `state` string, nullable: Two-letter USPS state abbreviation (e.g. 'RI')

---

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