{
    "ok": true,
    "endpoint": "/api/mareas",
    "_log": "[API /mareas ihm]",
    "url_solicitada": "https://mareator2.mareator.es/codigo/api/mareas?dias=3&fuente=ihm&loc=4",
    "timestamp_solicitud": "2026-11-05T23:03:26+01:00",
    "parametros": {
        "loc": 4,
        "fecha": "2026-11-05",
        "dias": 3,
        "fuente": "ihm",
        "motor": "puerto20"
    },
    "url_api": "https://ideihm.covam.es/api-ihm/getmarea?request=gettide&id=27&format=json&date=…",
    "localizacion": {
        "id": 4,
        "nombre": "O Grove",
        "lat": 42.4563,
        "lon": -8.9219,
        "puerto_id": "27"
    },
    "fechas": {
        "inicio": "2026-11-05",
        "fin": "2026-11-07",
        "dias": 3,
        "rango": [
            "2026-11-05",
            "2026-11-06",
            "2026-11-07"
        ]
    },
    "datos": {
        "fuente": "API IHM (ideihm.covam.es)",
        "puerto": "Sanxenxo (Ría de Pontevedra)",
        "aviso": null,
        "extremos": [
            {
                "fecha_corta": "05/11",
                "hora_dia": "06:42",
                "t_total": 6.7,
                "altura": 1.035,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-05T05:42:00+00:00",
                "timestamp_local": "2026-11-05T06:42:00+01:00",
                "fecha": "2026-11-05",
                "hora_local": "06:42",
                "altura_m": 1.035
            },
            {
                "fecha_corta": "05/11",
                "hora_dia": "12:58",
                "t_total": 12.966666666666667,
                "altura": 3.143,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-05T11:58:00+00:00",
                "timestamp_local": "2026-11-05T12:58:00+01:00",
                "fecha": "2026-11-05",
                "hora_local": "12:58",
                "altura_m": 3.143
            },
            {
                "fecha_corta": "05/11",
                "hora_dia": "19:19",
                "t_total": 19.316666666666666,
                "altura": 0.807,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-05T18:19:00+00:00",
                "timestamp_local": "2026-11-05T19:19:00+01:00",
                "fecha": "2026-11-05",
                "hora_local": "19:19",
                "altura_m": 0.807
            },
            {
                "fecha_corta": "06/11",
                "hora_dia": "01:29",
                "t_total": 25.483333333333334,
                "altura": 3.067,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-06T00:29:00+00:00",
                "timestamp_local": "2026-11-06T01:29:00+01:00",
                "fecha": "2026-11-06",
                "hora_local": "01:29",
                "altura_m": 3.067
            },
            {
                "fecha_corta": "06/11",
                "hora_dia": "07:33",
                "t_total": 31.55,
                "altura": 0.857,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-06T06:33:00+00:00",
                "timestamp_local": "2026-11-06T07:33:00+01:00",
                "fecha": "2026-11-06",
                "hora_local": "07:33",
                "altura_m": 0.857
            },
            {
                "fecha_corta": "06/11",
                "hora_dia": "13:48",
                "t_total": 37.8,
                "altura": 3.254,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-06T12:48:00+00:00",
                "timestamp_local": "2026-11-06T13:48:00+01:00",
                "fecha": "2026-11-06",
                "hora_local": "13:48",
                "altura_m": 3.254
            },
            {
                "fecha_corta": "06/11",
                "hora_dia": "20:02",
                "t_total": 44.03333333333333,
                "altura": 0.709,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-06T19:02:00+00:00",
                "timestamp_local": "2026-11-06T20:02:00+01:00",
                "fecha": "2026-11-06",
                "hora_local": "20:02",
                "altura_m": 0.709
            },
            {
                "fecha_corta": "07/11",
                "hora_dia": "02:12",
                "t_total": 50.2,
                "altura": 3.242,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-07T01:12:00+00:00",
                "timestamp_local": "2026-11-07T02:12:00+01:00",
                "fecha": "2026-11-07",
                "hora_local": "02:12",
                "altura_m": 3.242
            },
            {
                "fecha_corta": "07/11",
                "hora_dia": "08:19",
                "t_total": 56.31666666666667,
                "altura": 0.71,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-07T07:19:00+00:00",
                "timestamp_local": "2026-11-07T08:19:00+01:00",
                "fecha": "2026-11-07",
                "hora_local": "08:19",
                "altura_m": 0.71
            },
            {
                "fecha_corta": "07/11",
                "hora_dia": "14:33",
                "t_total": 62.55,
                "altura": 3.327,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-07T13:33:00+00:00",
                "timestamp_local": "2026-11-07T14:33:00+01:00",
                "fecha": "2026-11-07",
                "hora_local": "14:33",
                "altura_m": 3.327
            },
            {
                "fecha_corta": "07/11",
                "hora_dia": "20:42",
                "t_total": 68.7,
                "altura": 0.642,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-07T19:42:00+00:00",
                "timestamp_local": "2026-11-07T20:42:00+01:00",
                "fecha": "2026-11-07",
                "hora_local": "20:42",
                "altura_m": 0.642
            }
        ],
        "total_extremos": 11,
        "instante_evaluado": "2026-11-05T23:03:25+01:00",
        "siguiente_extremo": {
            "fecha_corta": "06/11",
            "hora_dia": "01:29",
            "t_total": 25.483333333333334,
            "altura": 3.067,
            "tipo": "pleamar",
            "timestamp_utc": "2026-11-06T00:29:00+00:00",
            "timestamp_local": "2026-11-06T01:29:00+01:00",
            "fecha": "2026-11-06",
            "hora_local": "01:29",
            "altura_m": 3.067
        },
        "punto_marea_actual": {
            "idx": 4,
            "pct": 66.7,
            "subiendo": true,
            "extremo_previo": {
                "fecha_corta": "05/11",
                "hora_dia": "19:19",
                "t_total": 19.316666666666666,
                "altura": 0.807,
                "tipo": "bajamar",
                "timestamp_utc": "2026-11-05T18:19:00+00:00",
                "timestamp_local": "2026-11-05T19:19:00+01:00",
                "fecha": "2026-11-05",
                "hora_local": "19:19",
                "altura_m": 0.807
            },
            "extremo_siguiente": {
                "fecha_corta": "06/11",
                "hora_dia": "01:29",
                "t_total": 25.483333333333334,
                "altura": 3.067,
                "tipo": "pleamar",
                "timestamp_utc": "2026-11-06T00:29:00+00:00",
                "timestamp_local": "2026-11-06T01:29:00+01:00",
                "fecha": "2026-11-06",
                "hora_local": "01:29",
                "altura_m": 3.067
            },
            "mins_para_siguiente": 145,
            "tiempo_para_siguiente": "2h 25min"
        }
    },
    "error": null
}