/v1/grid
Beads, pegboards + size
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/fusebead-api/v1/grid" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fusebead-api/v1/grid", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fusebead-api/v1/grid");
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/fusebead-api/v1/grid",
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": {
"note": "Total beads = width × height. Pegboards = ⌈width ÷ board⌉ × ⌈height ÷ board⌉ (default 29×29 for midi). Finished size = beads × bead pitch (midi 5 mm, mini 2.6 mm). It shrinks slightly when ironed.",
"inputs": {
"pitch_mm": 5,
"bead_type": "midi",
"board_size": 29,
"width_beads": 58,
"height_beads": 58
},
"pegboards": {
"down": 2,
"total": 4,
"across": 2
},
"total_beads": 3364,
"finished_size": {
"width_cm": 29,
"width_in": 11.42,
"width_mm": 290,
"height_cm": 29,
"height_in": 11.42,
"height_mm": 290
}
},
"meta": {
"timestamp": "2026-06-06T07:13:57.288Z",
"request_id": "9760d92e-4f08-4436-8cec-330401855543"
},
"status": "ok",
"message": "Bead grid",
"success": true
}