Reference
City history
GET/api/v1/city-history/
History for the city containing a point, or the nearest city within 25 miles.
Parameters
| Name | Type | Description |
|---|---|---|
| address | string | US street address. Geocoded to a point. A city name alone often fails. |
| lat | number | Latitude in decimal degrees. Send with lng, or send address instead. |
| lng | number | Longitude in decimal degrees. Send with lat, or send address instead. |
Response
-
match string | null
contains when the point is inside the place. nearest when it is the closest place within 25 miles.
-
distance_miles number | null
Miles to the Census internal point. Null when the point is inside the place.
-
place object | null
The Census place this history belongs to.
-
geoid string
-
name string
-
state string
-
county string | null
-
place_type string
-
place_subtype string | null
-
population integer | null
-
population_year integer | null
-
-
summary string | null
Short description of the place.
-
history string | null
The history text to show.
-
history_scope string | null
place is this city's own history. area-county and nearby-place describe the surrounding area.
-
attribution string | null
Credit for the article the history text came from. For area-county and nearby-place, that article is the surrounding area, not the city's own page. Show it with the history text.
-
wikipedia_url string | null
Wikipedia article the history was drawn from.
-
notable_people object[]
People associated with the place.
-
name string
-
description string | null
-
birth_year integer | null
-
relation string | null
-
-
industries object[]
Industries mentioned in the history.
-
industry string
-
evidence string | null
-
-
employers object[]
Largest employers mentioned in the history.
-
employer string
-
employees integer | null
-
as_of_year integer | null
-
-
events object[]
Dated events from the history.
-
year integer
-
text string
-
-
fun_facts string[]
Short facts drawn from the history text.
Status
- 200 Profile for that point.
- 400 The address could not be geocoded, or lat and lng were not both numbers.
- 401 Missing or invalid credentials.
- 403 This plan has no call allowance configured.
- 404 No geography is loaded for that point.
- 429 Monthly call limit reached.