{
"data": {
"location": {
"city": {
"id": "riyadh",
"name_en": "Riyadh",
"name_ar": "الرياض",
"country": "SA"
},
"lat": 24.7136,
"lng": 46.6753,
"grid_lat": 24.71,
"grid_lng": 46.68,
"elevation_m": 12,
"timezone": "Asia/Riyadh",
"timezone_source": "city",
"country": "SA",
"notes": []
},
"units": {
"system": "metric",
"temperature": "°C",
"wind_speed": "km/h",
"precipitation": "mm",
"pressure": "hPa",
"wave_height": "m"
},
"current": {
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T09:00:00+03:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "Partly cloudy",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 20.1,
"feels_like": 17.8,
"feels_like_method": "apparent",
"heat_index": null,
"wind_chill": null,
"dew_point": 10.9,
"humidity": 54,
"pressure": 1012,
"cloud_cover": 43,
"wind_speed": 12.6,
"wind_gust": 23.4,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "NW",
"precipitation_next_hour": 0,
"precipitation_probability": 0,
"uv_index": 5.1,
"uv_level": "moderate",
"uv_label": "Moderate",
"comfort": {
"level": "comfortable",
"text": "Comfortable"
},
"heat_risk": {
"level": "none",
"text": "No heat risk"
}
},
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": "2026-11-29T06:00:00Z",
"fetched_at": "2026-11-29T06:14:28.661Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_ccd5515c4a48043b",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42764/current+weather?city=riyadh&demo=true' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": {
"id": "dubai",
"name_en": "Dubai",
"name_ar": "دبي",
"country": "AE"
},
"lat": 25.2048,
"lng": 55.2708,
"grid_lat": 25.2,
"grid_lng": 55.27,
"elevation_m": 12,
"timezone": "Asia/Dubai",
"timezone_source": "city",
"country": "AE",
"notes": []
},
"units": {
"system": "metric",
"temperature": "°C",
"wind_speed": "km/h",
"precipitation": "mm",
"pressure": "hPa",
"wave_height": "m"
},
"count": 12,
"hours": [
{
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T10:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 20.7,
"feels_like": 18.3,
"dew_point": 10.9,
"humidity": 51,
"pressure": 1012,
"cloud_cover": 44,
"wind_speed": 12.6,
"wind_gust": 23.4,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 5.9,
"uv_level": "moderate"
},
{
"time": "2026-11-29T07:00:00Z",
"local_time": "2026-11-29T11:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 22.2,
"feels_like": 19.4,
"dew_point": 11,
"humidity": 44,
"pressure": 1012,
"cloud_cover": 44,
"wind_speed": 13.7,
"wind_gust": 24.8,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 7.1,
"uv_level": "high"
},
{
"time": "2026-11-29T08:00:00Z",
"local_time": "2026-11-29T12:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 23.5,
"feels_like": 20.3,
"dew_point": 11.3,
"humidity": 39,
"pressure": 1012,
"cloud_cover": 45,
"wind_speed": 14.8,
"wind_gust": 26.3,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 7.5,
"uv_level": "high"
},
{
"time": "2026-11-29T09:00:00Z",
"local_time": "2026-11-29T13:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 24.6,
"feels_like": 21.1,
"dew_point": 11.4,
"humidity": 34,
"pressure": 1012,
"cloud_cover": 45,
"wind_speed": 15.5,
"wind_gust": 27.4,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 7.2,
"uv_level": "high"
},
{
"time": "2026-11-29T10:00:00Z",
"local_time": "2026-11-29T14:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 25.3,
"feels_like": 21.4,
"dew_point": 11.5,
"humidity": 31,
"pressure": 1012,
"cloud_cover": 45,
"wind_speed": 16.6,
"wind_gust": 28.4,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 6.3,
"uv_level": "high"
},
{
"time": "2026-11-29T11:00:00Z",
"local_time": "2026-11-29T15:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 25.6,
"feels_like": 21.5,
"dew_point": 11.6,
"humidity": 30,
"pressure": 1012,
"cloud_cover": 44,
"wind_speed": 17.3,
"wind_gust": 29.5,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 4.7,
"uv_level": "moderate"
},
{
"time": "2026-11-29T12:00:00Z",
"local_time": "2026-11-29T16:00:00+04:00",
"is_day": true,
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "غائم جزئيًا",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature": 25.6,
"feels_like": 21.4,
"dew_point": 11.6,
"humidity": 30,
"pressure": 1012,
"cloud_cover": 44,
"wind_speed": 17.6,
"wind_gust": 30.2,
"wind_direction_deg": 320,
"wind_direction": "NW",
"wind_direction_text": "شمال غرب",
"precipitation": 0,
"precipitation_probability": 0,
"thunder_probability": 0,
"uv_index": 2.7,
"uv_level": "low"
},
{
"time": "2026-11-29T13:00:00Z",
"local_time": "2026-11-29T17:00:00+04:00"
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42765/hourly+forecast?city=dubai&lang=ar&demo=true&hours=12' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": null,
"lat": 30.0444,
"lng": 31.2357,
"grid_lat": 30.04,
"grid_lng": 31.24,
"elevation_m": 12,
"timezone": "Africa/Cairo",
"timezone_source": "nearest_city:cairo",
"country": "EG",
"notes": []
},
"units": {
"system": "imperial",
"temperature": "°F",
"wind_speed": "mph",
"precipitation": "in",
"pressure": "inHg",
"wave_height": "ft"
},
"count": 5,
"days": [
{
"date": "2026-11-29",
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "Partly cloudy",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature_max": 79.7,
"temperature_min": 52.5,
"precipitation_total": 0,
"precipitation_probability_max": 0,
"wind_speed_max": 11.2,
"wind_gust_max": 19,
"humidity_average": 45,
"uv_index_max": 6.7,
"uv_level": "high",
"sunrise": "2026-11-29T04:31:35.791Z",
"sunset": "2026-11-29T14:54:50.256Z",
"hours_covered": 16,
"partial": true
},
{
"date": "2026-11-30",
"condition": {
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": "Partly cloudy",
"texts": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
"temperature_max": 79.7,
"temperature_min": 47.3,
"precipitation_total": 0,
"precipitation_probability_max": 0,
"wind_speed_max": 11.2,
"wind_gust_max": 19,
"humidity_average": 55,
"uv_index_max": 6.8,
"uv_level": "high",
"sunrise": "2026-11-30T04:32:24.057Z",
"sunset": "2026-11-30T14:54:45.324Z",
"hours_covered": 24,
"partial": false
},
{
"date": "2026-12-01",
"condition": {
"code": "rain",
"category": "rain",
"thunder": false,
"text": "Rain",
"texts": {
"en": "Rain",
"ar": "أمطار",
"fr": "Pluie"
}
},
"temperature_max": 78.3,
"temperature_min": 47.3,
"precipitation_total": 0.09,
"precipitation_probability_max": 70,
"wind_speed_max": 11.2,
"wind_gust_max": 19,
"humidity_average": 59,
"uv_index_max": 7,
"uv_level": "high",
"sunrise": "2026-12-01T04:33:11.946Z",
"sunset": "2026-12-01T14:54:42.112Z",
"hours_covered": 24,
"partial": false
},
{
"date": "2026-12-02",
"condition": {
"code": "clearsky",
"category": "clear",
"thunder": false,
"text": "Clear sky",
"texts": {
"en": "Clear sky",
"ar": "سماء صافية",
"fr": "Ciel dégagé"
}
},
"temperature_max": 79.3,
"temperature_min": 47.7,
"precipitation_total": 0,
"precipitation_probability_max": 0,
"wind_speed_max": 8.5,
"wind_gust_max": 15.7,
"humidity_average": 55,
"uv_index_max": 5.2,
"uv_level": "moderate",
"sunrise": "2026-12-02T04:33:59.415Z",
"sunset": "2026-12-02T14:54:40.618Z",
"hours_covered": 24,
"partial": false
},
{
"date": "2026-12-03",
"condition": {
"code": "clearsky",
"category": "clear",
"thunder": false,
"text": "Clear sky",
"texts": {
"en": "Clear sky",
"ar": "سماء صافية",
"fr": "Ciel dégagé"
}
},
"temperature_max": 79.3,
"temperature_min": 47.7,
"precipitation_total": 0,
"precipitation_probability_max": 0,
"wind_speed_max": 10.7,
"wind_gust_max": 18.3,
"humidity_average": 55,
"uv_index_max": 5.2,
"uv_level": "moderate",
"sunrise": "2026-12-03T04:34:46.421Z",
"sunset": "2026-12-03T14:54:40.838Z",
"hours_covered": 24,
"partial": false
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": "2026-11-29T06:00:00Z",
"fetched_at": "2026-11-29T06:15:05.555Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_535f63d709667f3c",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42766/daily+forecast?lat=30.0444&lng=31.2357&units=imperial&demo=true&days=5' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": {
"id": "jeddah",
"name_en": "Jeddah",
"name_ar": "جدة",
"country": "SA"
},
"lat": 21.5433,
"lng": 39.1728,
"grid_lat": 21.54,
"grid_lng": 39.17,
"elevation_m": 12,
"timezone": "Asia/Riyadh",
"timezone_source": "city",
"country": "SA",
"notes": []
},
"current": {
"time": "2026-11-29T06:00:00Z",
"uv_index": 4.5,
"uv_index_clear_sky": 4.7,
"level": "moderate",
"label": "Modéré",
"advice": "Portez des lunettes et de la crème solaire ; cherchez l'ombre à midi.",
"cloud_cover": 43
},
"peak_today": {
"time": "2026-11-29T09:00:00Z",
"local_time": "2026-11-29T12:00:00+03:00",
"uv_index": 8.2,
"level": "very_high",
"label": "Très élevé",
"advice": "Évitez le soleil à midi ; couvrez-vous et utilisez SPF 50."
},
"hourly": [
{
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T09:00:00+03:00",
"uv_index": 4.5,
"uv_index_clear_sky": 4.7,
"level": "moderate",
"label": "Modéré",
"cloud_cover": 43
},
{
"time": "2026-11-29T07:00:00Z",
"local_time": "2026-11-29T10:00:00+03:00",
"uv_index": 6.4,
"uv_index_clear_sky": 6.7,
"level": "high",
"label": "Élevé",
"cloud_cover": 44
},
{
"time": "2026-11-29T08:00:00Z",
"local_time": "2026-11-29T11:00:00+03:00",
"uv_index": 7.6,
"uv_index_clear_sky": 8,
"level": "high",
"label": "Élevé",
"cloud_cover": 44
},
{
"time": "2026-11-29T09:00:00Z",
"local_time": "2026-11-29T12:00:00+03:00",
"uv_index": 8.2,
"uv_index_clear_sky": 8.6,
"level": "very_high",
"label": "Très élevé",
"cloud_cover": 45
},
{
"time": "2026-11-29T10:00:00Z",
"local_time": "2026-11-29T13:00:00+03:00",
"uv_index": 7.9,
"uv_index_clear_sky": 8.3,
"level": "high",
"label": "Élevé",
"cloud_cover": 45
},
{
"time": "2026-11-29T11:00:00Z",
"local_time": "2026-11-29T14:00:00+03:00",
"uv_index": 6.9,
"uv_index_clear_sky": 7.3,
"level": "high",
"label": "Élevé",
"cloud_cover": 45
},
{
"time": "2026-11-29T12:00:00Z",
"local_time": "2026-11-29T15:00:00+03:00",
"uv_index": 5.2,
"uv_index_clear_sky": 5.5,
"level": "moderate",
"label": "Modéré",
"cloud_cover": 44
},
{
"time": "2026-11-29T13:00:00Z",
"local_time": "2026-11-29T16:00:00+03:00",
"uv_index": 3.2,
"uv_index_clear_sky": 3.4,
"level": "moderate",
"label": "Modéré",
"cloud_cover": 44
},
{
"time": "2026-11-29T14:00:00Z",
"local_time": "2026-11-29T17:00:00+03:00",
"uv_index": 1.1,
"uv_index_clear_sky": 1.1,
"level": "low",
"label": "Faible",
"cloud_cover": 43
},
{
"time": "2026-11-29T15:00:00Z",
"local_time": "2026-11-29T18:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 41
},
{
"time": "2026-11-29T16:00:00Z",
"local_time": "2026-11-29T19:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 40
},
{
"time": "2026-11-29T17:00:00Z",
"local_time": "2026-11-29T20:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 38
},
{
"time": "2026-11-29T18:00:00Z",
"local_time": "2026-11-29T21:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 36
},
{
"time": "2026-11-29T19:00:00Z",
"local_time": "2026-11-29T22:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 34
},
{
"time": "2026-11-29T20:00:00Z",
"local_time": "2026-11-29T23:00:00+03:00",
"uv_index": 0,
"uv_index_clear_sky": 0,
"level": "low",
"label": "Faible",
"cloud_cover": 31
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": "2026-11-29T06:00:00Z",
"fetched_at": "2026-11-29T06:15:22.277Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_e5e4845c94bb533e",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42767/uv+index?demo=true&city=jeddah&lang=fr' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": null,
"lat": 60.39,
"lng": 5.1,
"grid_lat": 60.39,
"grid_lng": 5.1,
"elevation_m": null,
"timezone": "Etc/UTC",
"timezone_source": "estimated_from_longitude",
"country": "NO",
"notes": [
"timezone_estimated_from_longitude_send_timezone_for_dst"
]
},
"units": {
"system": "metric",
"temperature": "°C",
"wind_speed": "km/h",
"precipitation": "mm",
"pressure": "hPa",
"wave_height": "m"
},
"current": {
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T06:00:00+00:00",
"wave_height": 0.7,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.5,
"current_speed": 0.7
},
"count": 24,
"hours": [
{
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T06:00:00+00:00",
"wave_height": 0.7,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.5,
"current_speed": 0.7
},
{
"time": "2026-11-29T07:00:00Z",
"local_time": "2026-11-29T07:00:00+00:00",
"wave_height": 0.7,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.5,
"current_speed": 0.7
},
{
"time": "2026-11-29T08:00:00Z",
"local_time": "2026-11-29T08:00:00+00:00",
"wave_height": 0.8,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.5,
"current_speed": 0.7
},
{
"time": "2026-11-29T09:00:00Z",
"local_time": "2026-11-29T09:00:00+00:00",
"wave_height": 0.8,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.6,
"current_speed": 0.7
},
{
"time": "2026-11-29T10:00:00Z",
"local_time": "2026-11-29T10:00:00+00:00",
"wave_height": 0.9,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.6,
"current_speed": 0.7
},
{
"time": "2026-11-29T11:00:00Z",
"local_time": "2026-11-29T11:00:00+00:00",
"wave_height": 0.9,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.6,
"current_speed": 0.7
},
{
"time": "2026-11-29T12:00:00Z",
"local_time": "2026-11-29T12:00:00+00:00",
"wave_height": 0.9,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.6,
"current_speed": 0.7
},
{
"time": "2026-11-29T13:00:00Z",
"local_time": "2026-11-29T13:00:00+00:00",
"wave_height": 0.9,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.7,
"current_speed": 0.7
},
{
"time": "2026-11-29T14:00:00Z",
"local_time": "2026-11-29T14:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.7,
"current_speed": 0.7
},
{
"time": "2026-11-29T15:00:00Z",
"local_time": "2026-11-29T15:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.7,
"current_speed": 0.7
},
{
"time": "2026-11-29T16:00:00Z",
"local_time": "2026-11-29T16:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.7,
"current_speed": 0.7
},
{
"time": "2026-11-29T17:00:00Z",
"local_time": "2026-11-29T17:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.8,
"current_speed": 0.7
},
{
"time": "2026-11-29T18:00:00Z",
"local_time": "2026-11-29T18:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.8,
"current_speed": 0.7
},
{
"time": "2026-11-29T19:00:00Z",
"local_time": "2026-11-29T19:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.8,
"current_speed": 0.7
},
{
"time": "2026-11-29T20:00:00Z",
"local_time": "2026-11-29T20:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.8,
"current_speed": 0.7
},
{
"time": "2026-11-29T21:00:00Z",
"local_time": "2026-11-29T21:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.9,
"current_speed": 0.7
},
{
"time": "2026-11-29T22:00:00Z",
"local_time": "2026-11-29T22:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.9,
"current_speed": 0.7
},
{
"time": "2026-11-29T23:00:00Z",
"local_time": "2026-11-29T23:00:00+00:00",
"wave_height": 1,
"wave_direction_deg": 340,
"wave_direction": "NNW",
"wave_period_s": 5.2,
"sea_state": "smooth",
"sea_state_text": "Smooth",
"sea_temperature": 27.9,
"current_speed": 0.7
},
{
"time": "2026-11-30T00:00:00Z",
"local_time": "2026-11-30T00:00:00+00:00",
"wave_height": 1
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42768/marine+forecast?lat=60.39&lng=5.1&demo=true&hours=24' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"units": {
"system": "metric",
"temperature": "°C",
"wind_speed": "km/h",
"precipitation": "mm",
"pressure": "hPa",
"wave_height": "m"
},
"temperature": 38,
"humidity": 55,
"wind_speed": 10,
"feels_like": 51.6,
"feels_like_method": "heat_index",
"heat_index": 51.6,
"wind_chill": null,
"apparent_temperature": 44,
"dew_point": 27.4,
"comfort": {
"level": "oppressive",
"text": "Oppressive"
},
"heat_risk": {
"level": "danger",
"text": "Danger: heat exhaustion likely, heat stroke possible"
}
},
"meta": {
"request_id": "req_f82c11999707b980",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42769/comfort+index?temperature=38&humidity=55&wind_speed=10' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"count": 5,
"activities": [
{
"id": "beach",
"name": {
"en": "Beach and swimming",
"ar": "الشاطئ والسباحة",
"fr": "Plage et baignade"
},
"rules": {
"en": "Feels-like 24 to 36 C is best; wind under 25 km/h; dry; waves under 1 m; no thunder.",
"ar": "الأفضل حرارة محسوسة بين 24 و36 مئوية، ورياح أقل من 25 كم/س، وطقس جاف، وأمواج أقل من متر، دون رعد.",
"fr": "Ressenti de 24 à 36 C, vent sous 25 km/h, temps sec, vagues sous 1 m, pas d'orage."
}
},
{
"id": "fishing",
"name": {
"en": "Fishing (boat or shore)",
"ar": "الصيد (قارب أو شاطئ)",
"fr": "Pêche (bateau ou rivage)"
},
"rules": {
"en": "Wind under 25 km/h, waves under 1 m, little rain, mild temperature, no thunder.",
"ar": "رياح أقل من 25 كم/س، وأمواج أقل من متر، ومطر قليل، وحرارة معتدلة، دون رعد.",
"fr": "Vent sous 25 km/h, vagues sous 1 m, peu de pluie, température douce, pas d'orage."
}
},
{
"id": "outdoor_work",
"name": {
"en": "Outdoor work and construction",
"ar": "العمل الخارجي والبناء",
"fr": "Travail en extérieur et chantier"
},
"rules": {
"en": "Feels-like 5 to 30 C is comfortable, above 35 C is a heat risk; wind under 40 km/h; dry; no thunder.",
"ar": "الحرارة المحسوسة من 5 إلى 30 مئوية مريحة وفوق 35 خطر حرارة، ورياح أقل من 40 كم/س، وجاف، دون رعد.",
"fr": "Ressenti de 5 à 30 C confortable, au-dessus de 35 C risque de chaleur ; vent sous 40 km/h ; sec ; pas d'orage."
}
},
{
"id": "drone",
"name": {
"en": "Drone flight",
"ar": "تشغيل الطائرات المسيّرة",
"fr": "Vol de drone"
},
"rules": {
"en": "Wind under 20 km/h and gusts under 30 km/h, no rain, no fog, 0 to 40 C, daylight preferred.",
"ar": "رياح أقل من 20 كم/س وهبّات أقل من 30 كم/س، دون مطر أو ضباب، من 0 إلى 40 مئوية، ويفضّل النهار.",
"fr": "Vent sous 20 km/h, rafales sous 30 km/h, ni pluie ni brouillard, 0 à 40 C, de préférence de jour."
}
},
{
"id": "running",
"name": {
"en": "Running and outdoor exercise",
"ar": "الجري والتمارين الخارجية",
"fr": "Course et sport en extérieur"
},
"rules": {
"en": "Feels-like 6 to 20 C is ideal, above 30 C is hard; dew point under 16 C; wind under 25 km/h; dry.",
"ar": "الأفضل حرارة محسوسة بين 6 و20 مئوية، وفوق 30 صعب، ونقطة ندى أقل من 16، ورياح أقل من 25 كم/س، وجاف.",
"fr": "Ressenti de 6 à 20 C idéal, au-dessus de 30 C difficile ; point de rosée sous 16 C ; vent sous 25 km/h ; sec."
}
}
]
},
"meta": {
"request_id": "req_19b2b305474599dd",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42770/activity+list' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": {
"id": "jeddah",
"name_en": "Jeddah",
"name_ar": "جدة",
"country": "SA"
},
"lat": 21.5433,
"lng": 39.1728,
"grid_lat": 21.54,
"grid_lng": 39.17,
"elevation_m": 12,
"timezone": "Asia/Riyadh",
"timezone_source": "city",
"country": "SA",
"notes": []
},
"units": {
"system": "metric",
"temperature": "°C",
"wind_speed": "km/h",
"precipitation": "mm",
"pressure": "hPa",
"wave_height": "m"
},
"activity": {
"id": "beach",
"name": "Beach and swimming",
"rules": "Feels-like 24 to 36 C is best; wind under 25 km/h; dry; waves under 1 m; no thunder."
},
"now": {
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T09:00:00+03:00",
"score": 57,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
}
]
},
"best_window": {
"start": "2026-11-29T11:00:00Z",
"end": "2026-11-29T14:00:00Z",
"local_start": "2026-11-29T14:00:00+03:00",
"local_end": "2026-11-29T17:00:00+03:00",
"hours": 3,
"average_score": 100
},
"marine_used": true,
"count": 24,
"hours": [
{
"time": "2026-11-29T06:00:00Z",
"local_time": "2026-11-29T09:00:00+03:00",
"score": 57,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
}
]
},
{
"time": "2026-11-29T07:00:00Z",
"local_time": "2026-11-29T10:00:00+03:00",
"score": 67,
"rating": "good",
"rating_text": "Good",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
}
]
},
{
"time": "2026-11-29T08:00:00Z",
"local_time": "2026-11-29T11:00:00+03:00",
"score": 77,
"rating": "good",
"rating_text": "Good",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
}
]
},
{
"time": "2026-11-29T09:00:00Z",
"local_time": "2026-11-29T12:00:00+03:00",
"score": 85,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "high_uv",
"text": "High UV, protect your skin"
}
]
},
{
"time": "2026-11-29T10:00:00Z",
"local_time": "2026-11-29T13:00:00+03:00",
"score": 91,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "ideal",
"text": "Conditions are ideal"
}
]
},
{
"time": "2026-11-29T11:00:00Z",
"local_time": "2026-11-29T14:00:00+03:00",
"score": 100,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "ideal",
"text": "Conditions are ideal"
}
]
},
{
"time": "2026-11-29T12:00:00Z",
"local_time": "2026-11-29T15:00:00+03:00",
"score": 100,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "ideal",
"text": "Conditions are ideal"
}
]
},
{
"time": "2026-11-29T13:00:00Z",
"local_time": "2026-11-29T16:00:00+03:00",
"score": 100,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "ideal",
"text": "Conditions are ideal"
}
]
},
{
"time": "2026-11-29T14:00:00Z",
"local_time": "2026-11-29T17:00:00+03:00",
"score": 100,
"rating": "excellent",
"rating_text": "Excellent",
"reasons": [
{
"code": "ideal",
"text": "Conditions are ideal"
}
]
},
{
"time": "2026-11-29T15:00:00Z",
"local_time": "2026-11-29T18:00:00+03:00",
"score": 45,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T16:00:00Z",
"local_time": "2026-11-29T19:00:00+03:00",
"score": 45,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T17:00:00Z",
"local_time": "2026-11-29T20:00:00+03:00",
"score": 45,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T18:00:00Z",
"local_time": "2026-11-29T21:00:00+03:00",
"score": 45,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T19:00:00Z",
"local_time": "2026-11-29T22:00:00+03:00",
"score": 45,
"rating": "fair",
"rating_text": "Fair",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T20:00:00Z",
"local_time": "2026-11-29T23:00:00+03:00",
"score": 37,
"rating": "poor",
"rating_text": "Poor",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T21:00:00Z",
"local_time": "2026-11-30T00:00:00+03:00",
"score": 32,
"rating": "poor",
"rating_text": "Poor",
"reasons": [
{
"code": "too_cold",
"text": "Too cold"
},
{
"code": "night",
"text": "After dark"
}
]
},
{
"time": "2026-11-29T22:00:00Z",
"local_time": "2026-11-30T01:00:00+03:00",
"score": 32,
"rating": "poor",
"rating_text": "Poor"
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42771/activity+score?city=jeddah&demo=true&activity=beach&hours=24' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": null,
"lat": 29.76,
"lng": -95.37,
"grid_lat": 29.76,
"grid_lng": -95.37,
"elevation_m": null,
"timezone": "America/Chicago",
"timezone_source": "nearest_city:houston",
"country": "US",
"notes": []
},
"covered": true,
"coverage": "United States and territories",
"count": 1,
"alerts": [
{
"id": "urn:oid:demo.alert.1",
"event": "Heat Advisory",
"headline": "Heat Advisory (demo sample, not a real alert)",
"description": "Sample alert returned in demo mode. Hot conditions with heat index values up to 41 C are possible.",
"instruction": "Drink plenty of fluids and limit time outdoors in the afternoon.",
"severity": "moderate",
"severity_text": "Moderate",
"certainty": "likely",
"urgency": "expected",
"status": "Actual",
"sender": "Demo sample",
"area": "Demo area",
"effective": "2026-11-29T04:17:05.084Z",
"onset": "2026-11-29T06:17:05.084Z",
"expires": "2026-11-29T16:17:05.084Z",
"ends": "2026-11-29T16:17:05.084Z"
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": null,
"fetched_at": "2026-11-29T06:17:05.087Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_5a540a0ae93f5bc1",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42772/weather+alerts?lat=29.76&lng=-95.37&demo=true' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": {
"id": "riyadh",
"name_en": "Riyadh",
"name_ar": "الرياض",
"country": "SA"
},
"lat": 24.7136,
"lng": 46.6753,
"grid_lat": 24.71,
"grid_lng": 46.68,
"elevation_m": null,
"timezone": "Asia/Riyadh",
"timezone_source": "city",
"country": "SA",
"notes": []
},
"date": "2026-11-26",
"sunrise": {
"time": "06:17",
"local": "2026-11-26T06:17:01+03:00",
"utc": "2026-11-26T03:17:01.387Z"
},
"sunset": {
"time": "17:03",
"local": "2026-11-26T17:03:52+03:00",
"utc": "2026-11-26T14:03:52.893Z"
},
"solar_noon": {
"time": "11:40",
"local": "2026-11-26T11:40:32+03:00",
"utc": "2026-11-26T08:40:32.480Z"
},
"civil_dawn": {
"time": "05:52",
"local": "2026-11-26T05:52:33+03:00",
"utc": "2026-11-26T02:52:33.449Z"
},
"civil_dusk": {
"time": "17:28",
"local": "2026-11-26T17:28:21+03:00",
"utc": "2026-11-26T14:28:21.046Z"
},
"nautical_dawn": {
"time": "05:24",
"local": "2026-11-26T05:24:36+03:00",
"utc": "2026-11-26T02:24:36.215Z"
},
"nautical_dusk": {
"time": "17:56",
"local": "2026-11-26T17:56:18+03:00",
"utc": "2026-11-26T14:56:18.537Z"
},
"astronomical_dawn": {
"time": "04:57",
"local": "2026-11-26T04:57:02+03:00",
"utc": "2026-11-26T01:57:02.288Z"
},
"astronomical_dusk": {
"time": "18:23",
"local": "2026-11-26T18:23:52+03:00",
"utc": "2026-11-26T15:23:52.722Z"
},
"day_length_minutes": 647,
"polar": "none"
},
"meta": {
"request_id": "req_6f6c27e4163ffced",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42773/sun+times?city=riyadh&date=2026-11-26' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"count": 41,
"codes": [
{
"code": "clearsky",
"category": "clear",
"thunder": false,
"text": {
"en": "Clear sky",
"ar": "سماء صافية",
"fr": "Ciel dégagé"
}
},
{
"code": "fair",
"category": "clear",
"thunder": false,
"text": {
"en": "Fair",
"ar": "صحو إلى حد كبير",
"fr": "Plutôt beau"
}
},
{
"code": "partlycloudy",
"category": "partly_cloudy",
"thunder": false,
"text": {
"en": "Partly cloudy",
"ar": "غائم جزئيًا",
"fr": "Partiellement nuageux"
}
},
{
"code": "cloudy",
"category": "cloudy",
"thunder": false,
"text": {
"en": "Cloudy",
"ar": "غائم",
"fr": "Nuageux"
}
},
{
"code": "fog",
"category": "fog",
"thunder": false,
"text": {
"en": "Fog",
"ar": "ضباب",
"fr": "Brouillard"
}
},
{
"code": "lightrain",
"category": "rain",
"thunder": false,
"text": {
"en": "Light rain",
"ar": "أمطار خفيفة",
"fr": "Pluie faible"
}
},
{
"code": "lightrainandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Light rain with thunder",
"ar": "أمطار خفيفة مع رعد",
"fr": "Pluie faible avec orage"
}
},
{
"code": "rain",
"category": "rain",
"thunder": false,
"text": {
"en": "Rain",
"ar": "أمطار",
"fr": "Pluie"
}
},
{
"code": "rainandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Rain with thunder",
"ar": "أمطار مع رعد",
"fr": "Pluie avec orage"
}
},
{
"code": "heavyrain",
"category": "rain",
"thunder": false,
"text": {
"en": "Heavy rain",
"ar": "أمطار غزيرة",
"fr": "Forte pluie"
}
},
{
"code": "heavyrainandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Heavy rain with thunder",
"ar": "أمطار غزيرة مع رعد",
"fr": "Forte pluie avec orage"
}
},
{
"code": "lightrainshowers",
"category": "rain",
"thunder": false,
"text": {
"en": "Light rain showers",
"ar": "زخات مطر خفيفة",
"fr": "Averses faibles"
}
},
{
"code": "lightrainshowersandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Light rain showers with thunder",
"ar": "زخات مطر خفيفة مع رعد",
"fr": "Averses faibles avec orage"
}
},
{
"code": "rainshowers",
"category": "rain",
"thunder": false,
"text": {
"en": "Rain showers",
"ar": "زخات مطر",
"fr": "Averses"
}
},
{
"code": "rainshowersandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Rain showers with thunder",
"ar": "زخات مطر مع رعد",
"fr": "Averses avec orage"
}
},
{
"code": "heavyrainshowers",
"category": "rain",
"thunder": false,
"text": {
"en": "Heavy rain showers",
"ar": "زخات مطر غزيرة",
"fr": "Fortes averses"
}
},
{
"code": "heavyrainshowersandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Heavy rain showers with thunder",
"ar": "زخات مطر غزيرة مع رعد",
"fr": "Fortes averses avec orage"
}
},
{
"code": "lightsleet",
"category": "sleet",
"thunder": false,
"text": {
"en": "Light sleet",
"ar": "مطر متجمد خفيف",
"fr": "Neige fondue faible"
}
},
{
"code": "lightsleetandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Light sleet with thunder",
"ar": "مطر متجمد خفيف مع رعد",
"fr": "Neige fondue faible avec orage"
}
},
{
"code": "sleet",
"category": "sleet",
"thunder": false,
"text": {
"en": "Sleet",
"ar": "مطر متجمد",
"fr": "Neige fondue"
}
},
{
"code": "sleetandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Sleet with thunder",
"ar": "مطر متجمد مع رعد",
"fr": "Neige fondue avec orage"
}
},
{
"code": "heavysleet",
"category": "sleet",
"thunder": false,
"text": {
"en": "Heavy sleet",
"ar": "مطر متجمد غزير",
"fr": "Forte neige fondue"
}
},
{
"code": "heavysleetandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Heavy sleet with thunder",
"ar": "مطر متجمد غزير مع رعد",
"fr": "Forte neige fondue avec orage"
}
},
{
"code": "lightsleetshowers",
"category": "sleet",
"thunder": false,
"text": {
"en": "Light sleet showers",
"ar": "زخات مطر متجمد خفيفة",
"fr": "Averses faibles de neige fondue"
}
},
{
"code": "lightsleetshowersandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Light sleet showers with thunder",
"ar": "زخات مطر متجمد خفيفة مع رعد",
"fr": "Averses faibles de neige fondue avec orage"
}
},
{
"code": "sleetshowers",
"category": "sleet",
"thunder": false,
"text": {
"en": "Sleet showers",
"ar": "زخات مطر متجمد",
"fr": "Averses de neige fondue"
}
},
{
"code": "sleetshowersandthunder",
"category": "thunderstorm",
"thunder": true,
"text": {
"en": "Sleet showers with thunder",
"ar": "زخات مطر متجمد مع رعد",
"fr": "Averses de neige fondue avec orage"
}
},
{
"code": "heavysleetshowers",
"category": "sleet",
"thunder": false,
"text": {
"en": "Heavy sleet showers",
"ar": "زخات مطر متجمد غزيرة"
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42774/condition+codes' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": null,
"lat": 35.2,
"lng": 25.1,
"grid_lat": 35.2,
"grid_lng": 25.1,
"elevation_m": null,
"timezone": "Etc/GMT-2",
"timezone_source": "estimated_from_longitude",
"country": null,
"notes": [
"timezone_estimated_from_longitude_send_timezone_for_dst"
]
},
"radius_km": 800,
"min_magnitude": 3,
"hours": 72,
"count": 1,
"earthquakes": [
{
"id": "demo0005",
"magnitude": 4.9,
"magnitude_type": "mww",
"magnitude_class": "light",
"title": "M 4.9 - Crete, Greece",
"place": "Crete, Greece",
"time": "2026-11-28T00:17:58.881Z",
"updated": "2026-11-28T00:27:58.881Z",
"lat": 35.2,
"lng": 25.1,
"depth_km": 22,
"distance_km": 0,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0005",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0005&format=geojson",
"felt": null,
"mmi": null,
"cdi": null,
"pager_alert": null,
"tsunami": false,
"significance": 490,
"status": "reviewed",
"network": "demo"
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": null,
"fetched_at": "2026-11-29T06:17:58.881Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_668323ecee061430",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42775/recent+earthquakes?radius_km=800&min_magnitude=3&hours=72&demo=true&lat=35.2&lng=25.1' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"count": 58,
"countries": [
{
"code": "SA",
"name_en": "Saudi Arabia",
"name_ar": "السعودية",
"bbox": {
"min_lat": 16.3,
"min_lng": 34.5,
"max_lat": 32.2,
"max_lng": 55.7
}
},
{
"code": "AE",
"name_en": "United Arab Emirates",
"name_ar": "الإمارات",
"bbox": {
"min_lat": 22.6,
"min_lng": 51.5,
"max_lat": 26.1,
"max_lng": 56.4
}
},
{
"code": "EG",
"name_en": "Egypt",
"name_ar": "مصر",
"bbox": {
"min_lat": 22,
"min_lng": 24.7,
"max_lat": 31.7,
"max_lng": 36.9
}
},
{
"code": "QA",
"name_en": "Qatar",
"name_ar": "قطر",
"bbox": {
"min_lat": 24.4,
"min_lng": 50.7,
"max_lat": 26.2,
"max_lng": 51.7
}
},
{
"code": "KW",
"name_en": "Kuwait",
"name_ar": "الكويت",
"bbox": {
"min_lat": 28.5,
"min_lng": 46.5,
"max_lat": 30.1,
"max_lng": 48.5
}
},
{
"code": "BH",
"name_en": "Bahrain",
"name_ar": "البحرين",
"bbox": {
"min_lat": 25.8,
"min_lng": 50.3,
"max_lat": 26.3,
"max_lng": 50.8
}
},
{
"code": "OM",
"name_en": "Oman",
"name_ar": "عُمان",
"bbox": {
"min_lat": 16.6,
"min_lng": 52,
"max_lat": 26.4,
"max_lng": 59.9
}
},
{
"code": "YE",
"name_en": "Yemen",
"name_ar": "اليمن",
"bbox": {
"min_lat": 12.1,
"min_lng": 42.5,
"max_lat": 19,
"max_lng": 54.5
}
},
{
"code": "IQ",
"name_en": "Iraq",
"name_ar": "العراق",
"bbox": {
"min_lat": 29,
"min_lng": 38.8,
"max_lat": 37.4,
"max_lng": 48.6
}
},
{
"code": "SY",
"name_en": "Syria",
"name_ar": "سوريا",
"bbox": {
"min_lat": 32.3,
"min_lng": 35.7,
"max_lat": 37.3,
"max_lng": 42.4
}
},
{
"code": "JO",
"name_en": "Jordan",
"name_ar": "الأردن",
"bbox": {
"min_lat": 29.2,
"min_lng": 34.9,
"max_lat": 33.4,
"max_lng": 39.3
}
},
{
"code": "LB",
"name_en": "Lebanon",
"name_ar": "لبنان",
"bbox": {
"min_lat": 33,
"min_lng": 35.1,
"max_lat": 34.7,
"max_lng": 36.6
}
},
{
"code": "PS",
"name_en": "Palestine",
"name_ar": "فلسطين",
"bbox": {
"min_lat": 31.2,
"min_lng": 34.2,
"max_lat": 32.6,
"max_lng": 35.6
}
},
{
"code": "LY",
"name_en": "Libya",
"name_ar": "ليبيا",
"bbox": {
"min_lat": 19.5,
"min_lng": 9.3,
"max_lat": 33.2,
"max_lng": 25.2
}
},
{
"code": "TN",
"name_en": "Tunisia",
"name_ar": "تونس",
"bbox": {
"min_lat": 30.2,
"min_lng": 7.5,
"max_lat": 37.6,
"max_lng": 11.6
}
},
{
"code": "DZ",
"name_en": "Algeria",
"name_ar": "الجزائر",
"bbox": {
"min_lat": 18.9,
"min_lng": -8.7,
"max_lat": 37.1,
"max_lng": 12
}
},
{
"code": "MA",
"name_en": "Morocco",
"name_ar": "المغرب",
"bbox": {
"min_lat": 27.6,
"min_lng": -13.2,
"max_lat": 35.9,
"max_lng": -1
}
},
{
"code": "SD",
"name_en": "Sudan",
"name_ar": "السودان",
"bbox": {
"min_lat": 8.7,
"min_lng": 21.8,
"max_lat": 22.2,
"max_lng": 38.6
}
},
{
"code": "SO",
"name_en": "Somalia",
"name_ar": "الصومال",
"bbox": {
"min_lat": -1.7,
"min_lng": 40.9,
"max_lat": 12,
"max_lng": 51.4
}
},
{
"code": "DJ",
"name_en": "Djibouti",
"name_ar": "جيبوتي",
"bbox": {
"min_lat": 10.9,
"min_lng": 41.8,
"max_lat": 12.7,
"max_lng": 43.4
}
},
{
"code": "KM",
"name_en": "Comoros",
"name_ar": "جزر القمر",
"bbox": {
"min_lat": -12.4,
"min_lng": 43.2,
"max_lat": -11.4,
"max_lng": 44.5
}
},
{
"code": "MR",
"name_en": "Mauritania",
"name_ar": "موريتانيا",
"bbox": {
"min_lat": 14.7,
"min_lng": -17.1,
"max_lat": 27.3,
"max_lng": -4.8
}
},
{
"code": "TR",
"name_en": "Turkey",
"name_ar": "تركيا",
"bbox": {
"min_lat": 35.8,
"min_lng": 26,
"max_lat": 42.1,
"max_lng": 44.8
}
},
{
"code": "IR",
"name_en": "Iran",
"name_ar": "إيران",
"bbox": {
"min_lat": 25.1,
"min_lng": 44,
"max_lat": 39.8,
"max_lng": 63.3
}
},
{
"code": "IL",
"name_en": "Israel",
"name_ar": "إسرائيل",
"bbox": {
"min_lat": 29.5,
"min_lng": 34.2,
"max_lat": 33.3,
"max_lng": 35.9
}
},
{
"code": "CY",
"name_en": "Cyprus",
"name_ar": "قبرص",
"bbox": {
"min_lat": 34.6,
"min_lng": 32.2,
"max_lat": 35.7,
"max_lng": 34.6
}
},
{
"code": "GR",
"name_en": "Greece",
"name_ar": "اليونان",
"bbox": {
"min_lat": 34.8,
"min_lng": 19.4,
"max_lat": 41.8,
"max_lng": 28.3
}
},
{
"code": "IT",
"name_en": "Italy",
"name_ar": "إيطاليا",
"bbox": {
"min_lat": 36.6,
"min_lng": 6.6,
"max_lat": 47.1,
"max_lng": 18.5
}
},
{
"code": "ES",
"name_en": "Spain",
"name_ar": "إسبانيا",
"bbox": {
"min_lat": 36
}
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42776/earthquake+countries' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"country": {
"code": "TR",
"name_en": "Turkey",
"name_ar": "تركيا"
},
"min_magnitude": 4,
"hours": 168,
"count": 1,
"earthquakes": [
{
"id": "demo0001",
"magnitude": 5.4,
"magnitude_type": "mww",
"magnitude_class": "moderate",
"title": "M 5.4 - 25 km SE of Malatya, Turkey",
"place": "25 km SE of Malatya, Turkey",
"time": "2026-11-29T03:18:43.053Z",
"updated": "2026-11-29T03:28:43.053Z",
"lat": 38.2,
"lng": 38.5,
"depth_km": 10,
"distance_km": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0001",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0001&format=geojson",
"felt": 120,
"mmi": 5.1,
"cdi": null,
"pager_alert": "green",
"tsunami": false,
"significance": 540,
"status": "reviewed",
"network": "demo"
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": null,
"fetched_at": "2026-11-29T06:18:43.053Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_38d9a41be9fd84d3",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42777/earthquakes+by+country?country=TR&min_magnitude=4&hours=168&demo=true' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"location": {
"city": null,
"lat": 26.2,
"lng": 56.3,
"grid_lat": 26.2,
"grid_lng": 56.3,
"elevation_m": null,
"timezone": "Asia/Dubai",
"timezone_source": "nearest_city:ras-al-khaimah",
"country": "AE",
"notes": []
},
"radius_km": 300,
"min_magnitude": 4,
"hours": 48,
"alert": true,
"level": "danger",
"message": "Major earthquake very close; damage is possible. Follow official guidance.",
"events_considered": 1,
"tsunami_flagged": false,
"strongest": {
"id": "demo0004",
"magnitude": 6.1,
"magnitude_type": "mww",
"magnitude_class": "strong",
"title": "M 6.1 - 60 km SE of Bandar Abbas, Iran",
"place": "60 km SE of Bandar Abbas, Iran",
"time": "2026-11-28T10:19:01.568Z",
"updated": "2026-11-28T10:29:01.568Z",
"lat": 26.9,
"lng": 56.2,
"depth_km": 18,
"distance_km": 78.5,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0004",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0004&format=geojson",
"felt": 120,
"mmi": 5.1,
"cdi": null,
"pager_alert": "yellow",
"tsunami": false,
"significance": 610,
"status": "reviewed",
"network": "demo",
"level": "danger"
},
"nearest": {
"id": "demo0004",
"magnitude": 6.1,
"magnitude_type": "mww",
"magnitude_class": "strong",
"title": "M 6.1 - 60 km SE of Bandar Abbas, Iran",
"place": "60 km SE of Bandar Abbas, Iran",
"time": "2026-11-28T10:19:01.568Z",
"updated": "2026-11-28T10:29:01.568Z",
"lat": 26.9,
"lng": 56.2,
"depth_km": 18,
"distance_km": 78.5,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0004",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0004&format=geojson",
"felt": 120,
"mmi": 5.1,
"cdi": null,
"pager_alert": "yellow",
"tsunami": false,
"significance": 610,
"status": "reviewed",
"network": "demo"
},
"events": [
{
"id": "demo0004",
"magnitude": 6.1,
"magnitude_type": "mww",
"magnitude_class": "strong",
"title": "M 6.1 - 60 km SE of Bandar Abbas, Iran",
"place": "60 km SE of Bandar Abbas, Iran",
"time": "2026-11-28T10:19:01.568Z",
"updated": "2026-11-28T10:29:01.568Z",
"lat": 26.9,
"lng": 56.2,
"depth_km": 18,
"distance_km": 78.5,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0004",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0004&format=geojson",
"felt": 120,
"mmi": 5.1,
"cdi": null,
"pager_alert": "yellow",
"tsunami": false,
"significance": 610,
"status": "reviewed",
"network": "demo",
"level": "danger"
}
],
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": null,
"fetched_at": "2026-11-29T06:19:01.568Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_4176820069ddfe4b",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42778/earthquake+alert+check?lat=26.2&lng=56.3&radius_km=300&min_magnitude=4&hours=48&demo=true' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"earthquake": {
"id": "demo0004",
"magnitude": 6.1,
"magnitude_type": "mww",
"magnitude_class": "strong",
"title": "M 6.1 - 60 km SE of Bandar Abbas, Iran",
"place": "60 km SE of Bandar Abbas, Iran",
"time": "2026-11-28T10:19:17.997Z",
"updated": "2026-11-28T10:29:17.997Z",
"lat": 26.9,
"lng": 56.2,
"depth_km": 18,
"distance_km": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/demo0004",
"detail_url": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=demo0004&format=geojson",
"felt": 120,
"mmi": 5.1,
"cdi": null,
"pager_alert": "yellow",
"tsunami": false,
"significance": 610,
"status": "reviewed",
"network": "demo"
},
"source": {
"id": "demo",
"name": "Bundled sample data",
"license": "Synthetic sample data, not a real forecast",
"attribution": "Demo mode: synthetic sample data.",
"url": null,
"updated_at": null,
"fetched_at": "2026-11-29T06:19:17.997Z",
"cache": "demo",
"stale": false,
"demo": true
}
},
"meta": {
"request_id": "req_12227c1db5f0ac0b",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15733/weather+uv+marine+and+earthquake+api/42779/earthquake+details?demo=true&id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Clima UV Marinha e Terremoto API basta incluir seu token Bearer no cabeçalho Authorization.
| Cabeçalho | Descrição |
|---|---|
Authorization
|
Obrigatório
Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.
|
Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.
Condições atuais, previsões por hora e diárias, índice UV, ondas marítimas, índice de calor calculado e sensação térmica, pontuação de atividades (praia, pesca, trabalho ao ar livre, drone, corrida), alertas meteorológicos oficiais dos EUA
A API fornece condições meteorológicas atuais, previsões horárias e previsões diárias. Ela também inclui dados especializados, como índice UV, informações sobre ondas marítimas, índice de calor calculado e temperaturas de sensação térmica
Sim, a API oferece pontuação de atividades para diversas atividades ao ar livre, incluindo atividades de praia, pesca, trabalho ao ar livre, operação de drones e corrida. Isso ajuda os usuários a planejar suas atividades com base nas condições climáticas favoráveis
Sim, a API fornece alertas meteorológicos oficiais dos EUA, garantindo que os usuários sejam informados sobre eventos climáticos significativos que possam afetar a segurança ou os planos
A API oferece dados sobre ondas marítimas, que são cruciais para atividades como passeios de barco, surfe e outras atividades recreativas aquáticas Esses dados ajudam a avaliar as condições do mar
A API calcula e fornece a temperatura aparente e o índice de calor Esses valores levam em conta fatores como a umidade e a sensação térmica causada pelo vento oferecendo uma representação mais precisa de como a temperatura será realmente percebida
A principal proposta de valor é fornecer dados meteorológicos abrangentes em tempo real e previsões, incluindo índices especializados e pontuações de atividades, permitindo que os usuários tomem decisões informadas para uma ampla variedade de atividades pessoais e profissionais.
Embora formatos específicos não sejam detalhados aqui, APIs desse tipo geralmente retornam dados em formatos estruturados como JSON ou XML, facilitando a análise e a integração em aplicativos. Os campos de dados específicos incluiriam temperatura, umidade, velocidade do vento, índice UV, altura das ondas, descrições de alertas e pontuações de atividade
Os desenvolvedores podem integrar esta API fazendo solicitações HTTP aos endpoints da API para obter dados meteorológicos. Os dados retornados podem então ser processados e exibidos em aplicações web, aplicativos móveis ou usados para acionar ações automatizadas com base em condições meteorológicas ou alertas específicos.
Calcula o ponto de orvalho, o índice de calor, a sensação térmica pelo vento, a temperatura aparente e um valor selecionado de sensação térmica com base na temperatura, umidade e velocidade do vento que você fornecer A resposta também inclui uma classificação de conforto e um nível de risco de calor Escolha unidades métricas ou imperiais para as entradas e saídas
A resposta inclui o índice UV atual, seu nível na escala da OMS, recomendações de proteção, o pico de hoje e seu horário, além de uma curva horária para o restante do dia local. Ela também informa um valor de UV com céu limpo e a cobertura de nuvens; o valor atual do UV leva em conta a cobertura de nuvens
A previsão diária fornece até nove dias locais, incluindo condições, máximas e mínimas, precipitação, vento, umidade, UV e nascer e pôr do sol O primeiro dia pode ser parcial e os dias seguintes usam dados a cada seis horas, portanto suas máximas e mínimas são menos precisas O UV pode ser nulo após aproximadamente os primeiros quatro dias
As previsões marítimas abrangem pontos marítimos no Norte e Oeste da Europa e incluem ondas, estado do mar, temperatura da superfície do mar e correntes. Pontos terrestres e locais fora dos mares abrangidos incluindo o Mediterrâneo, o Mar Vermelho e o Golfo retornam um 404 `no_marine_data`. Use `demo=true` para ver uma resposta de exemplo.
O endpoint avalia terremotos recentes dentro do raio e da janela de tempo solicitados, usando magnitude, distância e alertas do USGS PAGER para atribuir um nível. Ele retorna um indicador de alerta, uma mensagem e os eventos mais fortes e mais próximos. Esta é uma heurística de triagem, não um aviso oficial; siga as autoridades locais.
O endpoint de país usa caixas delimitadoras retangulares aproximadas, não as fronteiras nacionais exatas. Os resultados podem incluir terremotos do outro lado de uma fronteira ou no mar, portanto verifique as coordenadas e o local de cada evento. Use a lista de países com terremotos para ver os códigos de país compatíveis e suas caixas delimitadoras.
Para uma data e localização, retorna o nascer do sol, o pôr do sol, o meio-dia solar, o crepúsculo civil, náutico e astronômico, além da duração do dia. Os horários incluem representações locais e UTC. O dia polar e a noite polar são informados quando aplicável
Os alertas oficiais vêm do Serviço Nacional de Meteorologia dos EUA e abrangem os Estados Unidos e seus territórios. Em outros lugares a resposta tem `covered=false` e uma lista de alertas vazia em vez de um erro. O título, a descrição e as instruções do alerta são fornecidos no texto oficial em inglês.