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/InterpolatedData

GET
weather.openportguide.org/api/wthr/svar/InterpolatedData
Last modified:2025-07-03 19:52:34
Maintainer:tkws
OperationId:wthr_svar_InterpolatedData

 

Description

The API endpoint "/wthr/svar/InterpolatedData" returns the value of a variable for a specified position and time. If you need the values of different variables and/or times, please use the API endpoint /get_timeseries. The returned value will be bilinear interpolated from the grid points of the forecast model around the values for the returned position. At Wikipedia you find a good expanation of the bilinear interpolation: Wikipedia - Bilinear interpolation

Wikipedia: Bilinear interpolation visualisation Wikipedia: Bilinear interpolation visualisation, https://en.wikipedia.org/wiki/Bilinear_interpolation This method gives the best value for positions between the points of a forecast grid.

 

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'weather.openportguide.org/api/wthr/svar/InterpolatedData?variable=TMP&latitude=54&longitude=9&apiKey={{api-key}}' \
--header 'Host: {{BASE_URL}}' \
--header 'x-api-key: {{api-key}}'
Response Response Example
200 - Success
{"metadata":{"serviceProvider":"navapi.com","originatingCenter":"US National Weather Service - NCEP (WMC)","generatingProcess":"Global Forecast System Model","model":"gfs","requestedParameters":"model=None, variable=ICETMP, level=None, latitude=-70, longitude=-15, timestep=None, units=None","shortName":"ICETMP","fullName":"Ice Temperature","unit":"°C","level":"surface","ny":721,"nx":1440,"latitudeFirstGridpoint":90.0,"latitudeLastGridpoint":-90.0,"longitudeFirstGridpoint":0.0,"longitudeLastGridpoint":359.75,"gridlengthXDirection":0.25,"gridlengthYDirection":-0.25,"refDate":"2025-06-25T12:00:00Z","forecastTime":[0,"2025-06-25T12:00:00Z"],"forecastPosition":[{"latitude":-70.0},{"longitude":-15.0}],"UsedTokens":1},"data":{"value":-31.4}}

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
Modified at 2025-07-03 19:52:34
Previous
/wthr/svar/NearestGridData
Next
/wthr/svar/AreaForcast
Built with