{
    "ok": true,
    "endpoint": "/api/mareas",
    "_log": "[API /mareas armonico]",
    "url_solicitada": "https://mareator2.mareator.es/codigo/api/mareas?loc=1",
    "timestamp_solicitud": "2026-05-06T06:31:48+02:00",
    "parametros": {
        "loc": 1,
        "fecha": "2026-05-06",
        "dias": 7,
        "fuente": "armonico"
    },
    "localizacion": {
        "id": 1,
        "nombre": "Coruña",
        "lat": 43.38141,
        "lon": -8.4193,
        "puerto_id": "20"
    },
    "fechas": {
        "inicio": "2026-05-06",
        "fin": "2026-05-12",
        "dias": 7,
        "rango": [
            "2026-05-06",
            "2026-05-07",
            "2026-05-08",
            "2026-05-09",
            "2026-05-10",
            "2026-05-11",
            "2026-05-12"
        ]
    },
    "datos": {
        "fuente": "Armónico autónomo TICON-3",
        "puerto": "A Coruña",
        "Z0_m": 2.1,
        "extremos": [
            {
                "tipo": "bajamar",
                "altura_m": 1.107,
                "timestamp_utc": "2026-05-05T23:30:52+00:00",
                "timestamp_local": "2026-05-06T01:30:52+02:00",
                "fecha": "2026-05-06",
                "hora_local": "01:30",
                "t_total": 1.5144
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.991,
                "timestamp_utc": "2026-05-06T05:37:16+00:00",
                "timestamp_local": "2026-05-06T07:37:16+02:00",
                "fecha": "2026-05-06",
                "hora_local": "07:37",
                "t_total": 7.6211
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.219,
                "timestamp_utc": "2026-05-06T11:39:03+00:00",
                "timestamp_local": "2026-05-06T13:39:03+02:00",
                "fecha": "2026-05-06",
                "hora_local": "13:39",
                "t_total": 13.6508
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.101,
                "timestamp_utc": "2026-05-06T17:54:28+00:00",
                "timestamp_local": "2026-05-06T19:54:28+02:00",
                "fecha": "2026-05-06",
                "hora_local": "19:54",
                "t_total": 19.9078
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.251,
                "timestamp_utc": "2026-05-07T00:12:24+00:00",
                "timestamp_local": "2026-05-07T02:12:24+02:00",
                "fecha": "2026-05-07",
                "hora_local": "02:12",
                "t_total": 26.2067
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.859,
                "timestamp_utc": "2026-05-07T06:21:33+00:00",
                "timestamp_local": "2026-05-07T08:21:33+02:00",
                "fecha": "2026-05-07",
                "hora_local": "08:21",
                "t_total": 32.3592
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.376,
                "timestamp_utc": "2026-05-07T12:25:43+00:00",
                "timestamp_local": "2026-05-07T14:25:43+02:00",
                "fecha": "2026-05-07",
                "hora_local": "14:25",
                "t_total": 38.4286
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.923,
                "timestamp_utc": "2026-05-07T18:41:59+00:00",
                "timestamp_local": "2026-05-07T20:41:59+02:00",
                "fecha": "2026-05-07",
                "hora_local": "20:41",
                "t_total": 44.6997
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.383,
                "timestamp_utc": "2026-05-08T01:02:40+00:00",
                "timestamp_local": "2026-05-08T03:02:40+02:00",
                "fecha": "2026-05-08",
                "hora_local": "03:02",
                "t_total": 51.0444
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.743,
                "timestamp_utc": "2026-05-08T07:17:57+00:00",
                "timestamp_local": "2026-05-08T09:17:57+02:00",
                "fecha": "2026-05-08",
                "hora_local": "09:17",
                "t_total": 57.2992
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.505,
                "timestamp_utc": "2026-05-08T13:25:27+00:00",
                "timestamp_local": "2026-05-08T15:25:27+02:00",
                "fecha": "2026-05-08",
                "hora_local": "15:25",
                "t_total": 63.4242
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.776,
                "timestamp_utc": "2026-05-08T19:44:28+00:00",
                "timestamp_local": "2026-05-08T21:44:28+02:00",
                "fecha": "2026-05-08",
                "hora_local": "21:44",
                "t_total": 69.7411
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.471,
                "timestamp_utc": "2026-05-09T02:06:50+00:00",
                "timestamp_local": "2026-05-09T04:06:50+02:00",
                "fecha": "2026-05-09",
                "hora_local": "04:06",
                "t_total": 76.1139
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.69,
                "timestamp_utc": "2026-05-09T08:31:58+00:00",
                "timestamp_local": "2026-05-09T10:31:58+02:00",
                "fecha": "2026-05-09",
                "hora_local": "10:31",
                "t_total": 82.5328
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.556,
                "timestamp_utc": "2026-05-09T14:41:33+00:00",
                "timestamp_local": "2026-05-09T16:41:33+02:00",
                "fecha": "2026-05-09",
                "hora_local": "16:41",
                "t_total": 88.6925
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.713,
                "timestamp_utc": "2026-05-09T21:04:28+00:00",
                "timestamp_local": "2026-05-09T23:04:28+02:00",
                "fecha": "2026-05-09",
                "hora_local": "23:04",
                "t_total": 95.0744
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.473,
                "timestamp_utc": "2026-05-10T03:21:59+00:00",
                "timestamp_local": "2026-05-10T05:21:59+02:00",
                "fecha": "2026-05-10",
                "hora_local": "05:21",
                "t_total": 101.3664
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.748,
                "timestamp_utc": "2026-05-10T09:51:59+00:00",
                "timestamp_local": "2026-05-10T11:51:59+02:00",
                "fecha": "2026-05-10",
                "hora_local": "11:51",
                "t_total": 107.8664
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.482,
                "timestamp_utc": "2026-05-10T16:01:58+00:00",
                "timestamp_local": "2026-05-10T18:01:58+02:00",
                "fecha": "2026-05-10",
                "hora_local": "18:01",
                "t_total": 114.0328
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.77,
                "timestamp_utc": "2026-05-10T22:23:21+00:00",
                "timestamp_local": "2026-05-11T00:23:21+02:00",
                "fecha": "2026-05-11",
                "hora_local": "00:23",
                "t_total": 120.3892
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.374,
                "timestamp_utc": "2026-05-11T04:32:40+00:00",
                "timestamp_local": "2026-05-11T06:32:40+02:00",
                "fecha": "2026-05-11",
                "hora_local": "06:32",
                "t_total": 126.5444
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.909,
                "timestamp_utc": "2026-05-11T10:59:04+00:00",
                "timestamp_local": "2026-05-11T12:59:04+02:00",
                "fecha": "2026-05-11",
                "hora_local": "12:59",
                "t_total": 132.9844
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.301,
                "timestamp_utc": "2026-05-11T17:09:45+00:00",
                "timestamp_local": "2026-05-11T19:09:45+02:00",
                "fecha": "2026-05-11",
                "hora_local": "19:09",
                "t_total": 139.1625
            },
            {
                "tipo": "pleamar",
                "altura_m": 2.919,
                "timestamp_utc": "2026-05-11T23:26:50+00:00",
                "timestamp_local": "2026-05-12T01:26:50+02:00",
                "fecha": "2026-05-12",
                "hora_local": "01:26",
                "t_total": 145.4472
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.204,
                "timestamp_utc": "2026-05-12T05:30:53+00:00",
                "timestamp_local": "2026-05-12T07:30:53+02:00",
                "fecha": "2026-05-12",
                "hora_local": "07:30",
                "t_total": 151.5147
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.131,
                "timestamp_utc": "2026-05-12T11:52:24+00:00",
                "timestamp_local": "2026-05-12T13:52:24+02:00",
                "fecha": "2026-05-12",
                "hora_local": "13:52",
                "t_total": 157.8733
            },
            {
                "tipo": "bajamar",
                "altura_m": 1.066,
                "timestamp_utc": "2026-05-12T18:04:12+00:00",
                "timestamp_local": "2026-05-12T20:04:12+02:00",
                "fecha": "2026-05-12",
                "hora_local": "20:04",
                "t_total": 164.07
            }
        ],
        "total_extremos": 27,
        "altura_actual_m": 2.855,
        "siguiente_extremo": {
            "tipo": "pleamar",
            "altura_m": 2.991,
            "timestamp_utc": "2026-05-06T05:37:16+00:00",
            "timestamp_local": "2026-05-06T07:37:16+02:00",
            "fecha": "2026-05-06",
            "hora_local": "07:37",
            "t_total": 7.6211
        },
        "punto_marea_actual": {
            "idx": 5.5,
            "pct": 91.7,
            "subiendo": true,
            "extremo_previo": {
                "tipo": "bajamar",
                "altura_m": 1.107,
                "timestamp_utc": "2026-05-05T23:30:52+00:00",
                "timestamp_local": "2026-05-06T01:30:52+02:00",
                "fecha": "2026-05-06",
                "hora_local": "01:30",
                "t_total": 1.5144
            },
            "extremo_siguiente": {
                "tipo": "pleamar",
                "altura_m": 2.991,
                "timestamp_utc": "2026-05-06T05:37:16+00:00",
                "timestamp_local": "2026-05-06T07:37:16+02:00",
                "fecha": "2026-05-06",
                "hora_local": "07:37",
                "t_total": 7.6211
            },
            "mins_para_siguiente": 65,
            "tiempo_para_siguiente": "1h 5min"
        }
    },
    "error": null
}