SupaWeather API

Current Weather

Endpoint:https://supaweather-main-9ac8640.zuplo.app

Get Current Weather

GET
https://supaweather-main-9ac8640.zuplo.app
/weather/current

Get Current Weatherquery Parameters

  • latnumber · float · min: -90 · max: 90 · required
  • lonnumber · float · min: -180 · max: 180 · required
  • unitsstring · enum
    Enum values:
    metric
    imperial
    kelvin
    Default: metric
  • langstring
    Default: en

Get Current WeatherResponses

  • locationobject · required
    Example: {"lat":40.7128,"lon":-74.006,"name":"New York","country":"United States","region":"New York","timezone":"America/New_York"}
  • currentobject · required
    Example: {"temperature":22.5,"feels_like":24.1,"humidity":65,"pressure":1013.2,"wind_speed":3.2,"wind_direction":220,"visibility":10,"uv_index":5.2,"condition":{"main":"Clouds","description":"Partly cloudy","icon":"02d"}}
  • timestampstring · date-time · required

Get Weather Stations

GET
https://supaweather-main-9ac8640.zuplo.app
/weather/stations

Get Weather Stationsquery Parameters

  • latnumber · float · required
  • lonnumber · float · required
  • radiusinteger · min: 1 · max: 100
    Default: 50
  • limitinteger · min: 1 · max: 50
    Default: 10

Get Weather StationsResponses

  • stationsobject[]
  • countinteger