Point Forecasts
Location info
Location metadata.
get/api/v1/location/{location}
Request
- Base URL: https://weatherapi.foreca.net
- URL: https://weatherapi.foreca.net/api/v1/location/{location}
- Auth: HTTP bearer
Path parameters
locationstring required
"Longitude,latitude" or location identifier (id) from the location endpoint
Query parameters
langstring
Language (ISO 639-1 codes). Options: de, en, es, fr, it, pl, ru, fi, sv, nl, ko, pt, th, tr, zh, zh_TW (Chinese in Taiwan), zh_CN (Chinese in China). (default en)
Response
Success
Example response
{
"id": 100184745,
"name": "Nairobi",
"country": "Kenia",
"timezone": "Africa/Nairobi",
"language": "fi",
"adminArea": "Nairobi",
"lon": 36.8167,
"lat": -1.2833
}Changes
No recorded changes to this operation across all 1 revision of this API.