{
    "ok": true,
    "endpoint": "/api/mareas",
    "_log": "[API /mareas armonico]",
    "url_solicitada": "https://mareator2.mareator.es/codigo/api/mareas?loc=1",
    "timestamp_solicitud": "2026-11-05T23:08:22+01:00",
    "parametros": {
        "loc": 1,
        "fecha": "2026-11-05",
        "dias": 7,
        "fuente": "armonico",
        "motor": "puerto20"
    },
    "localizacion": {
        "id": 1,
        "nombre": "Coruña",
        "lat": 43.38141,
        "lon": -8.4193,
        "puerto_id": "20"
    },
    "fechas": {
        "inicio": "2026-11-05",
        "fin": "2026-11-11",
        "dias": 7,
        "rango": [
            "2026-11-05",
            "2026-11-06",
            "2026-11-07",
            "2026-11-08",
            "2026-11-09",
            "2026-11-10",
            "2026-11-11"
        ]
    },
    "datos": {
        "fuente": "Armónico autónomo TICON-3",
        "puerto": "A Coruña",
        "Z0_m": 2.1,
        "extremos": [
            {
                "tipo": "pleamar",
                "altura_m": 3.38,
                "timestamp_utc": "2026-11-04T23:54:28+00:00",
                "timestamp_local": "2026-11-05T00:54:28+01:00",
                "fecha": "2026-11-05",
                "hora_local": "00:54",
                "t_total": 0.9078
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.85,
                "timestamp_utc": "2026-11-05T06:10:11+00:00",
                "timestamp_local": "2026-11-05T07:10:11+01:00",
                "fecha": "2026-11-05",
                "hora_local": "07:10",
                "t_total": 7.1697
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.32,
                "timestamp_utc": "2026-11-05T12:26:09+00:00",
                "timestamp_local": "2026-11-05T13:26:09+01:00",
                "fecha": "2026-11-05",
                "hora_local": "13:26",
                "t_total": 13.4358
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.887,
                "timestamp_utc": "2026-11-05T18:29:04+00:00",
                "timestamp_local": "2026-11-05T19:29:04+01:00",
                "fecha": "2026-11-05",
                "hora_local": "19:29",
                "t_total": 19.4844
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.553,
                "timestamp_utc": "2026-11-06T00:46:34+00:00",
                "timestamp_local": "2026-11-06T01:46:34+01:00",
                "fecha": "2026-11-06",
                "hora_local": "01:46",
                "t_total": 25.7761
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.711,
                "timestamp_utc": "2026-11-06T07:01:59+00:00",
                "timestamp_local": "2026-11-06T08:01:59+01:00",
                "fecha": "2026-11-06",
                "hora_local": "08:01",
                "t_total": 32.0331
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.402,
                "timestamp_utc": "2026-11-06T13:14:28+00:00",
                "timestamp_local": "2026-11-06T14:14:28+01:00",
                "fecha": "2026-11-06",
                "hora_local": "14:14",
                "t_total": 38.2411
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.788,
                "timestamp_utc": "2026-11-06T19:14:28+00:00",
                "timestamp_local": "2026-11-06T20:14:28+01:00",
                "fecha": "2026-11-06",
                "hora_local": "20:14",
                "t_total": 44.2411
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.682,
                "timestamp_utc": "2026-11-07T01:31:18+00:00",
                "timestamp_local": "2026-11-07T02:31:18+01:00",
                "fecha": "2026-11-07",
                "hora_local": "02:31",
                "t_total": 50.5217
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.627,
                "timestamp_utc": "2026-11-07T07:46:09+00:00",
                "timestamp_local": "2026-11-07T08:46:09+01:00",
                "fecha": "2026-11-07",
                "hora_local": "08:46",
                "t_total": 56.7692
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.444,
                "timestamp_utc": "2026-11-07T13:56:09+00:00",
                "timestamp_local": "2026-11-07T14:56:09+01:00",
                "fecha": "2026-11-07",
                "hora_local": "14:56",
                "t_total": 62.9358
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.729,
                "timestamp_utc": "2026-11-07T19:54:12+00:00",
                "timestamp_local": "2026-11-07T20:54:12+01:00",
                "fecha": "2026-11-07",
                "hora_local": "20:54",
                "t_total": 68.9033
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.751,
                "timestamp_utc": "2026-11-08T02:10:52+00:00",
                "timestamp_local": "2026-11-08T03:10:52+01:00",
                "fecha": "2026-11-08",
                "hora_local": "03:10",
                "t_total": 75.1811
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.607,
                "timestamp_utc": "2026-11-08T08:25:01+00:00",
                "timestamp_local": "2026-11-08T09:25:01+01:00",
                "fecha": "2026-11-08",
                "hora_local": "09:25",
                "t_total": 81.4169
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.446,
                "timestamp_utc": "2026-11-08T14:33:47+00:00",
                "timestamp_local": "2026-11-08T15:33:47+01:00",
                "fecha": "2026-11-08",
                "hora_local": "15:33",
                "t_total": 87.5631
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.715,
                "timestamp_utc": "2026-11-08T20:30:27+00:00",
                "timestamp_local": "2026-11-08T21:30:27+01:00",
                "fecha": "2026-11-08",
                "hora_local": "21:30",
                "t_total": 93.5075
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.758,
                "timestamp_utc": "2026-11-09T02:47:32+00:00",
                "timestamp_local": "2026-11-09T03:47:32+01:00",
                "fecha": "2026-11-09",
                "hora_local": "03:47",
                "t_total": 99.7922
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.643,
                "timestamp_utc": "2026-11-09T09:00:53+00:00",
                "timestamp_local": "2026-11-09T10:00:53+01:00",
                "fecha": "2026-11-09",
                "hora_local": "10:00",
                "t_total": 106.0147
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.413,
                "timestamp_utc": "2026-11-09T15:08:23+00:00",
                "timestamp_local": "2026-11-09T16:08:23+01:00",
                "fecha": "2026-11-09",
                "hora_local": "16:08",
                "t_total": 112.1397
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.743,
                "timestamp_utc": "2026-11-09T21:04:54+00:00",
                "timestamp_local": "2026-11-09T22:04:54+01:00",
                "fecha": "2026-11-09",
                "hora_local": "22:04",
                "t_total": 118.0817
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.707,
                "timestamp_utc": "2026-11-10T03:21:58+00:00",
                "timestamp_local": "2026-11-10T04:21:58+01:00",
                "fecha": "2026-11-10",
                "hora_local": "04:21",
                "t_total": 124.3661
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.722,
                "timestamp_utc": "2026-11-10T09:34:28+00:00",
                "timestamp_local": "2026-11-10T10:34:28+01:00",
                "fecha": "2026-11-10",
                "hora_local": "10:34",
                "t_total": 130.5744
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.352,
                "timestamp_utc": "2026-11-10T15:40:52+00:00",
                "timestamp_local": "2026-11-10T16:40:52+01:00",
                "fecha": "2026-11-10",
                "hora_local": "16:40",
                "t_total": 136.6811
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.811,
                "timestamp_utc": "2026-11-10T21:37:57+00:00",
                "timestamp_local": "2026-11-10T22:37:57+01:00",
                "fecha": "2026-11-10",
                "hora_local": "22:37",
                "t_total": 142.6325
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.609,
                "timestamp_utc": "2026-11-11T03:55:27+00:00",
                "timestamp_local": "2026-11-11T04:55:27+01:00",
                "fecha": "2026-11-11",
                "hora_local": "04:55",
                "t_total": 148.9242
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.832,
                "timestamp_utc": "2026-11-11T10:07:32+00:00",
                "timestamp_local": "2026-11-11T11:07:32+01:00",
                "fecha": "2026-11-11",
                "hora_local": "11:07",
                "t_total": 155.1256
            },
            {
                "tipo": "pleamar",
                "altura_m": 3.268,
                "timestamp_utc": "2026-11-11T16:13:21+00:00",
                "timestamp_local": "2026-11-11T17:13:21+01:00",
                "fecha": "2026-11-11",
                "hora_local": "17:13",
                "t_total": 161.2225
            },
            {
                "tipo": "bajamar",
                "altura_m": 0.912,
                "timestamp_utc": "2026-11-11T22:11:59+00:00",
                "timestamp_local": "2026-11-11T23:11:59+01:00",
                "fecha": "2026-11-11",
                "hora_local": "23:11",
                "t_total": 167.1997
            }
        ],
        "total_extremos": 28,
        "instante_evaluado": "2026-11-05T23:08:22+01:00",
        "altura_actual_m": 2.532,
        "siguiente_extremo": {
            "tipo": "pleamar",
            "altura_m": 3.553,
            "timestamp_utc": "2026-11-06T00:46:34+00:00",
            "timestamp_local": "2026-11-06T01:46:34+01:00",
            "fecha": "2026-11-06",
            "hora_local": "01:46",
            "t_total": 25.7761
        },
        "punto_marea_actual": {
            "idx": 3.8,
            "pct": 63.3,
            "subiendo": true,
            "extremo_previo": {
                "tipo": "bajamar",
                "altura_m": 0.887,
                "timestamp_utc": "2026-11-05T18:29:04+00:00",
                "timestamp_local": "2026-11-05T19:29:04+01:00",
                "fecha": "2026-11-05",
                "hora_local": "19:29",
                "t_total": 19.4844
            },
            "extremo_siguiente": {
                "tipo": "pleamar",
                "altura_m": 3.553,
                "timestamp_utc": "2026-11-06T00:46:34+00:00",
                "timestamp_local": "2026-11-06T01:46:34+01:00",
                "fecha": "2026-11-06",
                "hora_local": "01:46",
                "t_total": 25.7761
            },
            "mins_para_siguiente": 158,
            "tiempo_para_siguiente": "2h 38min"
        }
    },
    "error": null
}