Converts a place name into its latitude and longitude, handling same-name ambiguity by surfacing multiple candidates when needed. Useful when you have a city, region, or landmark name and need precise coordinates before performing a weather lookup or any other coordinate-dependent operation.
You have a place name and need its latitude and longitude, or need to tell apart places that share a name.
Turning coordinates back into a place name, or searching for addresses or businesses.
0.1 credits / lookup
Set these inside the intent when you run it.
The place name to look up, e.g. a city, region, or landmark. Include country or US state to disambiguate.
Number of candidate results to return, between 1 and 5. Defaults to 5 for ambiguous names.
Up to five candidate locations, each with name, latitude, longitude, country, and (for US places) state.
Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Weather skill will route from your intent instead.)
curl -X POST "https://skill.askfaro.com/skills/weather/run" \
-H "Authorization: Bearer $FARO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"intent":{"operation":"geocode","location":"Paris, France","limit":3}}'Example requests