Point Forecasts
All requests, for every region, go to https://weatherapi.foreca.net.
Example location search request for Helsinki:
https://weatherapi.foreca.net/api/v1/location/search/Helsinki?lang=es&token=TOKEN
Fetching the data for sample phone generates next three requests:
0 requests
Each API request to a specific end-point is counted as one query. Map API usage is measured by the number of tiles served —each tile counts as one request.
Weather Maps
Try different example map layers below. For a complete list of available map layers, see the Map Layers page or make a capabilities request.
Example capabilities request to get available map layers:
https://weatherapi.foreca.net/api/v1/capabilities?token=TOKENExample map tile request for the temperature layer (layer id 2, zoom level 7, x 64, y 47) with the optional colorscheme and updated parameters:
https://weatherapi.foreca.net/api/v1/image/tile/7/64/47/TIME/2?token=TOKEN&colorscheme=tempdata-mapped-noalpha&updated=UPDATEDExample map tile request for the radar layer (layer id 5, zoom level 7, x 64, y 47) with the analyses parameter:
https://weatherapi.foreca.net/api/v1/image/tile/7/64/47/TIME/5?token=TOKEN&analyses=ANALYSESReplace TIME with one of the layer's available times, and UPDATED and ANALYSES with the values the capabilities response lists for that layer.