/v1/thread-length
Floss length and skeins
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/embroidery-api/v1/thread-length" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/embroidery-api/v1/thread-length", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/embroidery-api/v1/thread-length");
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/embroidery-api/v1/thread-length",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Floss use is estimated from the geometry of a full cross on the fabric: front two diagonals plus the back returns is about (2√2 + 2) ÷ fabric count inches per stitch. 5,000 stitches on 14-count is roughly 1,724 inches — about 44 m of finished stitching. A 6-strand skein is ~8 m, so stitching with 2 strands yields ~24 m of usable thread per skein; this is a planning estimate — buy a little extra and dye-lot match.",
"inputs": {
"strands": 2,
"fabric_count": 14,
"stitch_count": 5000
},
"total_thread_m": 43.8,
"skeins_estimate": 1.83,
"total_thread_in": 1724.4,
"thread_per_stitch_in": 0.3449
},
"meta": {
"timestamp": "2026-06-07T08:17:53.163Z",
"request_id": "61c11709-b67d-4bb2-acee-1836ce8803d2"
},
"status": "ok",
"message": "Thread length",
"success": true
}