Get an API key
Fields · parcels

political_locality

Incorporated place (city, town, village) containing the point, e.g.

Name political_locality
Layer parcels
Type, unit string, none
Sources (in order) CENSUS_TIGERWEB_DIVISIONS
Cache 180 days (ttl_seconds 15552000)

What it is

Incorporated place (city, town, village) containing the point, e.g. Dallas.

Nulls

status "absent": unincorporated (no incorporated place; census-designated places are not localities). "failed": TIGERweb did not answer, or the point lies on a boundary of several places.

Example

curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["political_locality"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.