Get weather data

Overview

Get weather forecasts for specific locations. Response structure adapts based on the forecast time range (short-term vs. long-term).

When to Use

  • Travel planning - Show weather forecasts for destinations
  • Hotel pages - Display weather information on hotel detail pages
  • Trip preparation - Help users plan for weather conditions
  • Destination information - Provide weather context for locations

What You Get

  • Weather forecasts - Temperature, humidity, wind, precipitation
  • Time-based structure - Different formats for short-term (<1 week) vs. long-term forecasts
  • Detailed data - Atmospheric pressure, conditions, and summaries
  • Date-specific - Weather data for specific dates

Key Features

  • Adaptive structure - Response format changes based on time range
  • Short-term - Detailed hourly/daily data for forecasts within one week
  • Long-term - Daily summaries for forecasts beyond one week
  • Accuracy note - Forecasts beyond one week have reduced accuracy

Quick Start

Provide location coordinates (latitude, longitude) and date range. Returns weather forecasts with appropriate detail level.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Latitude of the location.

string
required

Longitude of the location.

date
required

Start date in YYYY-MM-DD format. The service can provide future forecasts, but reliability significantly decreases beyond one week.

date
required

End date in YYYY-MM-DD format. The service can provide future forecasts, but reliability significantly decreases beyond one week.

string
enum
Defaults to metric

Units of measurement. Default is metric.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json