/v1/bilinear
Bilinear interpolation
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/interpolation-api/v1/bilinear" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/interpolation-api/v1/bilinear", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/interpolation-api/v1/bilinear");
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/bilinear",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"tx": 0.5,
"ty": 0.5,
"note": "Bilinear interpolation: interpolate along x at each y-edge (q11→q21 and q12→q22), then along y. q11=(x1,y1), q21=(x2,y1), q12=(x1,y2), q22=(x2,y2).",
"value": 15,
"inputs": {
"x": 0.5,
"y": 0.5,
"x1": 0,
"x2": 1,
"y1": 0,
"y2": 1
},
"extrapolated": false
},
"meta": {
"timestamp": "2026-06-04T18:38:06.621Z",
"request_id": "a2750d06-8868-4449-a86f-0f71c66a2d70"
},
"status": "ok",
"message": "Bilinear interp",
"success": true
}