Skip to content
GET /v1/warp

Warp ends & yarn

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/weaving-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/weaving-api/v1/warp" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/weaving-api/v1/warp", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/weaving-api/v1/warp");
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/weaving-api/v1/warp",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Ends = warp width × EPI. Warp length per end = cloth length × (1 + take-up) × (1 + shrinkage) + loom waste. Total warp = ends × that length.",
        "inputs": {
            "epi": 12,
            "loom_waste": 24,
            "warp_width": 20,
            "cloth_length": 60,
            "takeup_percent": 10
        },
        "total_ends": 240,
        "total_warp_yarn_yards": 600,
        "total_warp_yarn_inches": 21600,
        "warp_length_per_end_inches": 90
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:08.838Z",
        "request_id": "a3571fdb-87a1-476d-a1af-79a820e70389"
    },
    "status": "ok",
    "message": "Warp yarn",
    "success": true
}