Skills/Weather/Find a place's coordinates

Find a place's coordinates

0.1 credits / lookup

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.

Use when

You have a place name and need its latitude and longitude, or need to tell apart places that share a name.

Not for

Turning coordinates back into a place name, or searching for addresses or businesses.

Cost

0.1 credits / lookup

What it accepts

Set these inside the intent when you run it.

locationrequired

The place name to look up, e.g. a city, region, or landmark. Include country or US state to disambiguate.

limitoptional

Number of candidate results to return, between 1 and 5. Defaults to 5 for ambiguous names.

What you get back

Up to five candidate locations, each with name, latitude, longitude, country, and (for US places) state.

Run it

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

  • What are the coordinates of Tokyo?
  • Find the latitude and longitude for Springfield
  • Where exactly is Lyon, France?