Open Weather Map API

OpenWeatherMap Current Weather API

1.0.0OAS 3.0

Get current weather data for any location on Earth.

API Base URL
  • Server 1:https://shared-services.kong-sales-engineering.com
Security
basicAuth (http)

Basic authentication is a simple authentication scheme built into the HTTP protocol.
To use it, send your HTTP requests with an Authorization header that contains the word Basic
followed by a space and a base64-encoded string username:password.

Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==

Get Current Weather

Retrieve current weather data for a specified location.

get
https://shared-services.kong-sales-engineering.com/weather

Query Parameters

qstringrequired

City name or coordinates (latitude, longitude)

unitsstring

Units for temperature (imperial, metric, standard)

langstring

Language (e.g., en, es, fr)

Response

200 application/json

Successful response with current weather data.

coordobject
Show Child Parameters
weatherarray[object]
Show Child Parameters
basestring
mainobject
Show Child Parameters
visibilityinteger
windobject
Show Child Parameters
cloudsobject
Show Child Parameters
dtinteger
sysobject
Show Child Parameters
idinteger
namestring
codinteger
get/weather
 
200 application/json