LIVE API TEST MODE

Real-Time Weather API Test

This page fetches LIVE data directly from OpenWeatherMap API

Request Timestamp

Current Server Time: March 12, 2026 06:50:11 AM (Asia/Kolkata)

PHP Timezone: Asia/Kolkata

Live Weather Data Retrieved Successfully!

Data fetched directly from OpenWeatherMap API - This is REAL-TIME data

Delhi

IN
haze
21 °C

Haze

Feels like: 21°C
Humidity: 68%
Wind: 0 m/s
Pressure: 1009 hPa

Complete Weather Data

Location: Delhi
Coordinates: 28.6667, 77.2167
Temperature: 21.05°C
Min/Max: 21.05°C / 21.05°C
Humidity: 68%
Pressure: 1009 hPa
Wind Speed: 0 m/s at 0°
Weather: Haze - haze
Cloudiness: 20%
Visibility: 3000 meters

Raw API Response (JSON)

This is the actual response from OpenWeatherMap API. Refresh this page to get new data.

{ "coord": { "lon": 77.2167, "lat": 28.6667 }, "weather": [ { "id": 721, "main": "Haze", "description": "haze", "icon": "50d" } ], "base": "stations", "main": { "temp": 21.05, "feels_like": 20.99, "temp_min": 21.05, "temp_max": 21.05, "pressure": 1009, "humidity": 68, "sea_level": 1009, "grnd_level": 983 }, "visibility": 3000, "wind": { "speed": 0, "deg": 0 }, "clouds": { "all": 20 }, "dt": 1773278406, "sys": { "type": 1, "id": 9165, "country": "IN", "sunrise": 1773277489, "sunset": 1773320241 }, "timezone": 19800, "id": 1273294, "name": "Delhi", "cod": 200 }
Refresh & Get New Data Go to Add Page to Save This Data

How to Verify Real-Time Data

1. Check Timestamp: The "Request Timestamp" and "API Response" times should match the current time
2. Compare with Official Site: Visit OpenWeatherMap.org and compare the temperature
3. Refresh Multiple Times: Click "Refresh & Get New Data" - you'll see the timestamp updates
4. Test Different Cities: Try the city buttons above to fetch data for different locations
✅ This is LIVE DATA: Not stored in database - fetched directly from OpenWeatherMap API on each page load