LIVE API TEST MODE

Real-Time Weather API Test

This page fetches LIVE data directly from OpenWeatherMap API

Request Timestamp

Current Server Time: January 11, 2026 03:36:01 PM (Asia/Kolkata)

PHP Timezone: Asia/Kolkata

Live Weather Data Retrieved Successfully!

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

Kolkata

IN
haze
24 °C

Haze

Feels like: 23°C
Humidity: 31%
Wind: 5.14 m/s
Pressure: 1015 hPa

Complete Weather Data

Location: Kolkata
Coordinates: 22.5697, 88.3697
Temperature: 23.97°C
Min/Max: 23.97°C / 23.97°C
Humidity: 31%
Pressure: 1015 hPa
Wind Speed: 5.14 m/s at 340°
Weather: Haze - haze
Cloudiness: 40%
Visibility: 4500 meters

Raw API Response (JSON)

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

{ "coord": { "lon": 88.3697, "lat": 22.5697 }, "weather": [ { "id": 721, "main": "Haze", "description": "haze", "icon": "50d" } ], "base": "stations", "main": { "temp": 23.97, "feels_like": 23.23, "temp_min": 23.97, "temp_max": 23.97, "pressure": 1015, "humidity": 31, "sea_level": 1015, "grnd_level": 1015 }, "visibility": 4500, "wind": { "speed": 5.14, "deg": 340 }, "clouds": { "all": 40 }, "dt": 1768125754, "sys": { "type": 1, "id": 9114, "country": "IN", "sunrise": 1768092511, "sunset": 1768131576 }, "timezone": 19800, "id": 1275004, "name": "Kolkata", "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