Weather

Access comprehensive weather data including current conditions, forecasts, and historical weather information based on location coordinates, providing temperature, humidity, wind speed, precipitation probability, and other atmospheric conditions.

Get the current weather

Get the current weather using multiple APIs. The first successful response will be returned.

GET
/ weather

Parameters

Name Type Description Required
latitude number Required
longitude number Required

Response

{
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "description": "The latitude of the location",
      "example": 55.6761
    },
    "longitude": {
      "type": "number",
      "description": "The longitude of the location",
      "example": 12.5683
    },
    "summary": {
      "type": "string",
      "description": "A short description of the current weather",
      "example": "Partly cloudy"
    },
    "temperature": {
      "type": "number",
      "description": "The current temperature in Kelvin (SI unit)",
      "example": 283.15
    },
    "temperature_celsius": {
      "type": "number",
      "description": "The current temperature in Celsius",
      "example": 10.0
    },
    "humidity": {
      "type": "number",
      "description": "The current humidity percentage (0-100)",
      "example": 65.0
    },
    "pressure": {
      "type": "integer",
      "description": "The atmospheric pressure in Pascal (SI unit)",
      "example": 101325
    },
    "pressure_hpa": {
      "type": "number",
      "description": "The atmospheric pressure in hectopascal (hPa)",
      "example": 1013.25
    },
    "visibility": {
      "type": "integer",
      "description": "The visibility in meters (SI unit)",
      "example": 10000
    }
  },
  "required": [
    "latitude",
    "longitude",
    "summary",
    "temperature",
    "temperature_celsius",
    "humidity",
    "pressure",
    "pressure_hpa",
    "visibility"
  ]
}
curl --request GET \
  --url "https://www.apikiss.com/api/v1/weather?latitude=55.6761&longitude=12.5683" \
  --header 'Authorization: Bearer <token>'
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "description": "The latitude of the location",
      "example": 55.6761
    },
    "longitude": {
      "type": "number",
      "description": "The longitude of the location",
      "example": 12.5683
    },
    "summary": {
      "type": "string",
      "description": "A short description of the current weather",
      "example": "Partly cloudy"
    },
    "temperature": {
      "type": "number",
      "description": "The current temperature in Kelvin (SI unit)",
      "example": 283.15
    },
    "temperature_celsius": {
      "type": "number",
      "description": "The current temperature in Celsius",
      "example": 10.0
    },
    "humidity": {
      "type": "number",
      "description": "The current humidity percentage (0-100)",
      "example": 65.0
    },
    "pressure": {
      "type": "integer",
      "description": "The atmospheric pressure in Pascal (SI unit)",
      "example": 101325
    },
    "pressure_hpa": {
      "type": "number",
      "description": "The atmospheric pressure in hectopascal (hPa)",
      "example": 1013.25
    },
    "visibility": {
      "type": "integer",
      "description": "The visibility in meters (SI unit)",
      "example": 10000
    }
  },
  "required": [
    "latitude",
    "longitude",
    "summary",
    "temperature",
    "temperature_celsius",
    "humidity",
    "pressure",
    "pressure_hpa",
    "visibility"
  ]
}

Authorizations

Authorization
header
required

Authentication token in the format "Bearer <token>"

Path Parameters

latitude
number
required

longitude
number
required

Response

200 - application/json
latitude
number
required

The latitude of the location

Example: 55.6761

longitude
number
required

The longitude of the location

Example: 12.5683

summary
string
required

A short description of the current weather

Example: Partly cloudy

temperature
number
required

The current temperature in Kelvin (SI unit)

Example: 283.15

temperature_celsius
number
required

The current temperature in Celsius

Example: 10.0

humidity
number
required

The current humidity percentage (0-100)

Example: 65.0

pressure
integer
required

The atmospheric pressure in Pascal (SI unit)

Example: 101325

pressure_hpa
number
required

The atmospheric pressure in hectopascal (hPa)

Example: 1013.25

visibility
integer
required

The visibility in meters (SI unit)

Example: 10000

Try it out

Don't have a key? Sign up to get one for free.

Response

Click "Send Request" to see the response...