/v1/split
Split at t
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bezier-api/v1/split" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bezier-api/v1/split", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bezier-api/v1/split");
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/bezier-api/v1/split",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "de Casteljau split at t: left_curve and right_curve share the split point and together reproduce the original.",
"inputs": {
"t": 0.5,
"degree": 3
},
"left_curve": [
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": 0.5
},
{
"x": 0.25,
"y": 0.75
},
{
"x": 0.5,
"y": 0.75
}
],
"right_curve": [
{
"x": 0.5,
"y": 0.75
},
{
"x": 0.75,
"y": 0.75
},
{
"x": 1,
"y": 0.5
},
{
"x": 1,
"y": 0
}
],
"split_point": {
"x": 0.5,
"y": 0.75
}
},
"meta": {
"timestamp": "2026-06-04T18:38:03.574Z",
"request_id": "649f0ab6-b241-4d68-b87b-4fb33e4ac544"
},
"status": "ok",
"message": "Split curve",
"success": true
}