/v1/platonic
Platonic solid
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/solids-api/v1/platonic" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solids-api/v1/platonic", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solids-api/v1/platonic");
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/solids-api/v1/platonic",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Platonic solid from edge length a. Cube: V=a³, S=6a². Tetrahedron: V=a³/(6√2). Dodecahedron and icosahedron use the golden-ratio coefficients.",
"faces": 20,
"inputs": {
"edge": 1,
"solid": "icosahedron"
},
"volume": 2.18169499,
"surface_area": 8.66025404
},
"meta": {
"timestamp": "2026-06-05T19:50:11.442Z",
"request_id": "f6eb5fd0-8490-45b7-b983-9246593f91e8"
},
"status": "ok",
"message": "Platonic solid",
"success": true
}