/v1/set-tension
Total neck tension of a set
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/guitar-api/v1/set-tension" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/guitar-api/v1/set-tension", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/guitar-api/v1/set-tension");
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/guitar-api/v1/set-tension",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Total neck load = the sum of every string's tension — a typical 6-string set runs ~95–120 lb. The neck and truss rod are set up for that load, so a big jump (heavier gauge, higher tuning) bows the neck and needs a re-setup; a big drop leaves it back-bowed. Keep the total in the same ballpark when you change strings.",
"inputs": {
"frequencies_hz": [
82.41,
110,
146.83,
196,
246.94,
329.63
],
"scale_length_in": 25.5,
"unit_weights_lb_in": [
0.0003297,
0.0001705,
8.89e-5,
6.402e-5,
3.744e-5,
2.215e-5
]
},
"total_tension_kg": 40.8,
"total_tension_lb": 90,
"per_string_tension_lb": [
15.07,
13.89,
12.9,
16.56,
15.37,
16.2
]
},
"meta": {
"timestamp": "2026-06-06T23:54:00.458Z",
"request_id": "6871c9ec-099c-428a-9384-ff7ee3e6fcc6"
},
"status": "ok",
"message": "Set tension",
"success": true
}