/v1/string-tension
Tension of one string
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/guitar-api/v1/string-tension" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/guitar-api/v1/string-tension", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/guitar-api/v1/string-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/string-tension",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "String tension = unit weight × (2 × scale length × frequency)² ÷ 386.4, with the unit weight (lb/in) from the maker's chart — a .010 plain steel high-E (≈ 0.0000221 lb/in) on a 25.5-inch scale tuned to 329.6 Hz pulls about 16 lb. Match tensions across a set for even feel, and watch the total load when you change gauge or tuning.",
"inputs": {
"frequency_hz": 329.63,
"scale_length_in": 25.5,
"unit_weight_lb_in": 2.215e-5
},
"tension_kg": 7.35,
"tension_lb": 16.2
},
"meta": {
"timestamp": "2026-06-06T23:54:00.551Z",
"request_id": "185023d8-92b1-444d-9f22-07d0d5fb60c6"
},
"status": "ok",
"message": "String tension",
"success": true
}