Place search
astroway_geo_searchFind birthplaces by place name: resolves a name or prefix to candidates with coordinates and IANA time zone, ranked by population, and narrows ambiguous names by region or country after a comma.
Instructions
A place name to candidates with coordinates and the IANA zone, for a birthplace field. Matches a prefix, ignores case, accents and punctuation (krakow finds Kraków, St. Petersburg finds Saint Petersburg), and knows the names GeoNames carries in our 21 languages and older ones such as Kiev. Ranked by population, an exact name counting ten times its size, so an ambiguous name such as Springfield lists every town largest first; q=Springfield, Illinois or Springfield, MA narrows by region or country after the comma.
[Group: Astro-Geography] [Endpoint: GET /v1/geo/search] [Required: q] [Cost: 5 credits (Tier ½)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Place name or its beginning, in any of our languages and scripts. Case, accents and punctuation are ignored. Text after the first comma narrows by region or country instead: `Springfield, Illinois`, `Springfield, MA`, `Paris, US`. | |
| lang | No | Language for `name`, `admin1` and `country`. Where GeoNames has no name in it, the GeoNames name stays. Matching always covers every language. | |
| limit | No | How many candidates to return. | |
| country | No | Restrict to these ISO 3166-1 alpha-2 codes, comma separated, up to 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| note | No | ||
| count | No | ||
| query | No | ||
| dataset | No | ||
| results | No | ||
| attribution | No |