Skip to content
GET /v1/pace

Pace + speed from distance & time

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/pace-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "speed_ms": 3.333,
        "speed_kmh": 12,
        "speed_mph": 7.456,
        "pace_per_km": "5:00",
        "time_seconds": 3000,
        "pace_per_mile": "8:03",
        "distance_meters": 10000,
        "pace_per_km_seconds": 300,
        "pace_per_mile_seconds": 482.803
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:44.556Z",
        "request_id": "b88bae07-cea4-417b-9e37-308de921ec83"
    },
    "status": "ok",
    "message": "Pace + speed from distance & time",
    "success": true
}