{
"latitude": -6.2088,
"longitude": 106.8456,
"time": "2026-11-27T11:00:00Z",
"temperature_c": 25.8,
"wind_speed_ms": 2.9,
"wind_from_direction_deg": 153.6,
"relative_humidity_pct": 93.4,
"air_pressure_hpa": 1012.1,
"cloud_area_fraction_pct": 89.1,
"symbol_code": "rain",
"precipitation_next_1h_mm": 0.7,
"precipitation_next_6h_mm": 2.4,
"forecast_updated_at": "2026-11-27T09:20:27Z",
"attribution": "Data from MET Norway",
"source": "MET Norway Locationforecast 2.0 (live; cache sampai Expires upstream)"
}
curl --location --request GET 'https://zylalabs.com/api/15709/global+weather+forecast+api/42657/get+current+weather?lat=-6.2088&lon=106.8456' --header 'Authorization: Bearer YOUR_API_KEY'
{
"nama": "Global Weather Forecast API",
"versi": "1.0.0",
"deskripsi": "Cuaca saat ini + prakiraan per jam s.d. 9 hari ke depan untuk koordinat mana pun di dunia.",
"endpoints": [
"GET /weather/current?lat=-6.2088&lon=106.8456",
"GET /weather/forecast?lat=-6.2088&lon=106.8456&days=3",
"GET /openapi.json"
],
"sumber": "MET Norway Locationforecast 2.0 — api.met.no (gratis, tanpa key; lisensi CC BY 4.0, komersial diizinkan; atribusi 'Data from MET Norway')",
"harga": "Ditagih via Zyla API Hub (langganan di Zyla; plan Zyla: BASIC $24,99/500 req, PRO $49,99/10.000 req, PRO PLUS $99,99/50.000 req); akses lewat gateway Zyla (X-Zyla-Proxy-Secret)",
"auth": "X-Zyla-Proxy-Secret (gateway Zyla)"
}
curl --location --request GET 'https://zylalabs.com/api/15709/global+weather+forecast+api/42658/get+api+info' --header 'Authorization: Bearer YOUR_API_KEY'
{
"latitude": -6.2088,
"longitude": 106.8456,
"days_requested": 3,
"days_returned": 3,
"days": [
{
"date": "2026-11-27",
"temp_min_c": 25,
"temp_max_c": 28.4,
"precipitation_mm": 11.7,
"symbol_code": "rain",
"hours": [
{
"time": "2026-11-27T10:00:00Z",
"temperature_c": 28.4,
"wind_speed_ms": 1.9,
"wind_from_direction_deg": 25.8,
"relative_humidity_pct": 81.9,
"air_pressure_hpa": 1010.7,
"cloud_area_fraction_pct": 100,
"symbol_code": "heavyrain",
"precipitation_next_1h_mm": 9.2
},
{
"time": "2026-11-27T11:00:00Z",
"temperature_c": 25.8,
"wind_speed_ms": 2.9,
"wind_from_direction_deg": 153.6,
"relative_humidity_pct": 93.4,
"air_pressure_hpa": 1012.1,
"cloud_area_fraction_pct": 89.1,
"symbol_code": "rain",
"precipitation_next_1h_mm": 0.7
},
{
"time": "2026-11-27T12:00:00Z",
"temperature_c": 25.4,
"wind_speed_ms": 3.1,
"wind_from_direction_deg": 121.6,
"relative_humidity_pct": 95.8,
"air_pressure_hpa": 1012.7,
"cloud_area_fraction_pct": 89.8,
"symbol_code": "partlycloudy_night",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T13:00:00Z",
"temperature_c": 25.9,
"wind_speed_ms": 2.5,
"wind_from_direction_deg": 176.9,
"relative_humidity_pct": 93.5,
"air_pressure_hpa": 1013.4,
"cloud_area_fraction_pct": 85.2,
"symbol_code": "partlycloudy_night",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T14:00:00Z",
"temperature_c": 26.2,
"wind_speed_ms": 1.7,
"wind_from_direction_deg": 251.5,
"relative_humidity_pct": 92.3,
"air_pressure_hpa": 1014.2,
"cloud_area_fraction_pct": 90.6,
"symbol_code": "rain",
"precipitation_next_1h_mm": 0.5
},
{
"time": "2026-11-27T15:00:00Z",
"temperature_c": 25.9,
"wind_speed_ms": 1.6,
"wind_from_direction_deg": 201.2,
"relative_humidity_pct": 93,
"air_pressure_hpa": 1014.6,
"cloud_area_fraction_pct": 95.3,
"symbol_code": "rain",
"precipitation_next_1h_mm": 0.7
},
{
"time": "2026-11-27T16:00:00Z",
"temperature_c": 25.4,
"wind_speed_ms": 1.7,
"wind_from_direction_deg": 186.1,
"relative_humidity_pct": 95.4,
"air_pressure_hpa": 1014.4,
"cloud_area_fraction_pct": 92.2,
"symbol_code": "rain",
"precipitation_next_1h_mm": 0.6
},
{
"time": "2026-11-27T17:00:00Z",
"temperature_c": 25.3,
"wind_speed_ms": 1.8,
"wind_from_direction_deg": 125.4,
"relative_humidity_pct": 95.8,
"air_pressure_hpa": 1013.6,
"cloud_area_fraction_pct": 96.9,
"symbol_code": "partlycloudy_night",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T18:00:00Z",
"temperature_c": 25.1,
"wind_speed_ms": 1.8,
"wind_from_direction_deg": 202.6,
"relative_humidity_pct": 96,
"air_pressure_hpa": 1012.9,
"cloud_area_fraction_pct": 98.4,
"symbol_code": "cloudy",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T19:00:00Z",
"temperature_c": 25.2,
"wind_speed_ms": 0.8,
"wind_from_direction_deg": 247.8,
"relative_humidity_pct": 95.5,
"air_pressure_hpa": 1012.5,
"cloud_area_fraction_pct": 98.4,
"symbol_code": "partlycloudy_night",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T20:00:00Z",
"temperature_c": 25,
"wind_speed_ms": 0.8,
"wind_from_direction_deg": 278,
"relative_humidity_pct": 96.4,
"air_pressure_hpa": 1012.5,
"cloud_area_fraction_pct": 100,
"symbol_code": "cloudy",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T21:00:00Z",
"temperature_c": 25.1,
"wind_speed_ms": 1,
"wind_from_direction_deg": 317.4,
"relative_humidity_pct": 96,
"air_pressure_hpa": 1012.3,
"cloud_area_fraction_pct": 100,
"symbol_code": "cloudy",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T22:00:00Z",
"temperature_c": 25.3,
"wind_speed_ms": 0.7,
"wind_from_direction_deg": 281.8,
"relative_humidity_pct": 95.1,
"air_pressure_hpa": 1012.4,
"cloud_area_fraction_pct": 99.2,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-27T23:00:00Z",
"temperature_c": 25.5,
"wind_speed_ms": 1.7,
"wind_from_direction_deg": 173.1,
"relative_humidity_pct": 93.6,
"air_pressure_hpa": 1013,
"cloud_area_fraction_pct": 95.3,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
}
]
},
{
"date": "2026-11-28",
"temp_min_c": 23.9,
"temp_max_c": 30.4,
"precipitation_mm": 16.3,
"symbol_code": "heavyrain",
"hours": [
{
"time": "2026-11-28T00:00:00Z",
"temperature_c": 26,
"wind_speed_ms": 2.1,
"wind_from_direction_deg": 166.6,
"relative_humidity_pct": 91.6,
"air_pressure_hpa": 1013.8,
"cloud_area_fraction_pct": 96.9,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-28T01:00:00Z",
"temperature_c": 27.2,
"wind_speed_ms": 2.8,
"wind_from_direction_deg": 123.5,
"relative_humidity_pct": 85.8,
"air_pressure_hpa": 1014.4,
"cloud_area_fraction_pct": 94.5,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-28T02:00:00Z",
"temperature_c": 28.7,
"wind_speed_ms": 2.2,
"wind_from_direction_deg": 116.5,
"relative_humidity_pct": 78.1,
"air_pressure_hpa": 1014.9,
"cloud_area_fraction_pct": 82.8,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-28T03:00:00Z",
"temperature_c": 29.8,
"wind_speed_ms": 1.9,
"wind_from_direction_deg": 72.2,
"relative_humidity_pct": 73.9,
"air_pressure_hpa": 1014.3,
"cloud_area_fraction_pct": 73.4,
"symbol_code": "partlycloudy_day",
"precipitation_next_1h_mm": 0
},
{
"time": "2026-11-28T04:00:00Z",
"temperature_c": 30.4,
"wind_speed_ms": 2.6,
"wind_from_direction_deg": 31.3,
"relative_humidity_pct": 71.9,
"air_pressure_hpa": 1013.3
}
]
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15709/global+weather+forecast+api/42659/get+weather+forecast?lat=-6.2088&lon=106.8456&days=3' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए वैश्विक मौसम पूर्वानुमान API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें।
वर्तमान मौसम + 9 दिनों तक का पूर्वानुमान, MET Norway डेटा (CC BY 4.0, व्यावसायिक उपयोग की अनुमति)
वर्तमान मौसम एंडपॉइंट अनुरोधित निर्देशांकों के लिए तापमान हवा वर्षा और बादलों के आवरण सहित स्थितियाँ लौटाता है
पूर्वानुमान एंडपॉइंट अनुरोधित स्थान के लिए प्रति घंटा और दैनिक पूर्वानुमान डेटा दोनों प्रदान करता है, जो अगले नौ दिनों तक की अवधि को कवर करता है
स्थान निर्दिष्ट करने के लिए `lat` और `lon` का उपयोग करें पूर्वानुमान एंडपॉइंट पूर्वानुमान की अवधि सेट करने के लिए `days` भी स्वीकार करता है जैसे `days=3` पूर्वानुमान नौ दिनों तक के हो सकते हैं
API MET Norway के Locationforecast डेटा का उपयोग करता है और दुनिया भर के स्थानों के अक्षांश और देशांतर निर्देशांक स्वीकार करता है डेटा की उपलब्धता स्थान के अनुसार भिन्न हो सकती है
मौसम का डेटा MET Norway Locationforecast 2.0 से आता है डेटा का उपयोग करते समय “MET Norway से डेटा” का श्रेय दें
सामान्य API विवरण प्राप्त करने के लिए API Info एंडपॉइंट को कॉल करें, जिसमें इसके एंडपॉइंट की सूची और डेटा स्रोत शामिल हैं
जाँचें कि अक्षांश और देशांतर मान्य हैं और अनुरोधित पूर्वानुमान अवधि समर्थित सीमा के भीतर है अनुपलब्ध फ़ील्ड को मान रखने वाला मानने के बजाय अनुपलब्ध के रूप में संभालें