/v1/steps
Stopping time and peak
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/collatz-api/v1/steps" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/collatz-api/v1/steps", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/collatz-api/v1/steps");
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/collatz-api/v1/steps",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Total stopping time (steps to reach 1) and the highest value reached. Starting at 27 takes 111 steps and peaks at 9232.",
"steps": 111,
"inputs": {
"number": "27"
},
"max_value": "9232"
},
"meta": {
"timestamp": "2026-06-05T19:50:10.554Z",
"request_id": "47cba793-29ad-4cbf-9a55-e470196e2d0f"
},
"status": "ok",
"message": "Stopping time",
"success": true
}