Weather API
  1. customer
Weather API
  • customer
    • Weather API - General Information
    • Weather API - Variables
    • Weather API - Timesteps
    • Weather API - /wthr/ endpoints usability improvements
    • Weather API - VariableAlias.json
    • Weather API - WeatherVariablesDefaults.json
    • Weather API - weatherMap - parameters
    • Weather API - weatherTiles - general, zoom
    • Weather API - weatherTiles - weather variables
    • Weather API - weatherTiles - timesteps
    • /
      GET
    • /wthr/list/ForecastModels
      GET
    • /wthr/list/WeatherVariables
      GET
    • /wthr/list/Timesteps
      GET
    • /wthr/list/TileTimesteps
      GET
    • /wthr/svar/NearestGridData
      GET
    • /wthr/svar/InterpolatedData
      GET
    • /wthr/svar/AreaForcast
      GET
    • /wthr/mvar/PointForcast
      POST
    • /wthr/calc/AstroData
      GET
    • /wthr/graphic/Meteogram
      GET
    • /wthr/graphic/WeatherMap
      GET
    • /wthr/graphic/Tile
      GET
  1. customer

/wthr/svar/AreaForcast

GET
weather.openportguide.org/api/wthr/svar/AreaForcast
Last modified:2025-07-03 19:55:40
Maintainer:tkws
OperationId:wthr_svar_AreaForcast
 

Description#

The end point /wthr/svar/AreaForcast returns the values of all points of the grid points of the forecast model that lie within the specified limits. Firstly, the corners of the forecast grid are specified under "forecastPosition" and then the values of the queried area in a two-dimensional array in groups from north to south and within the respective group from west to east.
The maximum allowed distance between minimum and maximum latitude or longitude is 15 deg.
 
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'weather.openportguide.org/api/wthr/svar/AreaForcast?model=gfs&variable=TMP&level=2 m above ground&latitudeMin=53&latitudeMax=55&longitudeMin=7&longitudeMax=11&timestep=10&units=&apiKey={{api-key}}' \
--header 'Host: {{BASE_URL}}' \
--header 'x-api-key: {{api-key}}'
Response Response Example
200 - Success
{"metadata":{"serviceProvider":"weather.openportguide.org","originatingCenter":"US National Weather Service - NCEP (WMC)","requestedParameters":"model=gfs, variable=TMP, level=2 m above ground, latitudeMin=53, latitudeMax=55, longitudeMin=7, longitudeMax=11, timestep=10, units=","model":"gfs","generatingProcess":"Global Forecast System Model","shortName":"TMP","fullName":"Temperature","unit":"°C","level":"2 m above ground","ny":721,"nx":1440,"latitudeFirstGridpoint":90.0,"latitudeLastGridpoint":-90.0,"longitudeFirstGridpoint":0.0,"longitudeLastGridpoint":359.75,"gridlengthXDirection":0.25,"gridlengthYDirection":-0.25,"refDate":"2025-07-03T12:00:00Z","forecastTime":[10,"2025-07-03T22:00:00Z"],"forecastPosition":[{"northEastCorner":[{"latitude":55.0},{"longitude":11.0}]},{"southWestCorner":[{"latitude":53.0},{"longitude":7.0}]}],"usedTokens":1},"data":{"values":[[15.2,15.3,15.4,15.5,15.6,15.6,15.8,13.2,11.5,10.9,10.7,11.6,13.9,14.8,13.5,14.3,15.2],[15.4,15.5,15.5,15.6,15.6,15.6,15.7,14.1,12.2,11.3,11.1,12.3,13.9,15.5,15.7,15.9,16.0],[15.6,15.6,15.6,15.6,15.6,15.7,15.8,15.7,13.4,12.1,11.7,11.3,12.4,14.0,14.9,16.0,16.4],[15.7,15.6,15.6,15.6,15.7,15.8,15.8,14.9,12.7,12.2,12.0,11.4,11.1,10.7,10.9,12.0,12.4],[15.9,15.8,15.7,15.8,15.8,15.9,16.1,16.3,14.0,12.2,11.6,11.5,11.4,11.3,10.9,11.5,13.1],[16.1,16.1,15.4,15.3,14.3,15.9,15.5,13.4,12.7,11.5,11.2,11.5,11.6,11.3,10.8,10.8,10.8],[15.3,12.6,11.8,11.7,11.7,13.7,13.7,12.0,11.1,10.9,10.9,11.1,11.5,11.3,11.1,11.2,11.2],[11.7,11.7,11.5,11.3,11.4,11.1,11.0,11.0,10.8,10.8,10.8,11.3,11.5,11.5,11.7,11.6,11.9],[11.8,12.4,11.8,11.3,11.1,10.9,10.7,10.8,10.8,11.0,11.0,11.5,11.9,11.9,11.8,12.1,12.1]]}}

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
Modified at 2025-07-03 19:55:40
Previous
/wthr/svar/InterpolatedData
Next
/wthr/mvar/PointForcast
Built with