Ir al contenido
GET /v1/table

Table interpolation

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/interpolation-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/interpolation-api/v1/table" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/interpolation-api/v1/table", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/interpolation-api/v1/table");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/interpolation-api/v1/table",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "y": 125,
        "note": "Piecewise-linear interpolation between the two bracketing points. Outside the data range the nearest segment is extended and 'extrapolated' is true.",
        "inputs": {
            "x": 15,
            "points": 3
        },
        "segment": {
            "to": [
                20,
                150
            ],
            "from": [
                10,
                100
            ]
        },
        "extrapolated": false
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:06.833Z",
        "request_id": "f97f270f-c297-49d3-8c04-d5349bef80b0"
    },
    "status": "ok",
    "message": "Table interp",
    "success": true
}