Geocode an address
geocodeConvert one address, place name or postal code into latitude/longitude coordinates. Returns the matched address and coordinates, or found=false. Costs $0.001; with extra_columns (time zone, and in the US county, census tract and district) $0.002. For several addresses use batch_geocode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The address to locate, e.g. "350 5th Avenue, New York, NY 10118, USA". Include city and country for the best match. | |
| extra_columns | No | Also return the time zone (any country: timezone, utc_offset, dst) and, in the US only, county, county_fips, census tract, block_group and the 120th Congress district, with match_level. Costs $0.001 more per lookup. |