get
https://api.liteapi.travel/v3.0/data/weather
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…