Skip to content
GET /v1/vincenty

Ellipsoidal (WGS84) distance

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "model": "WGS84 ellipsoid (Vincenty inverse)",
        "point_a": [
            -37.951,
            144.4249
        ],
        "point_b": [
            -37.6528,
            143.9265
        ],
        "distance_m": 54973.4069,
        "distance_km": 54.9734069,
        "distance_mi": 34.1588914,
        "distance_nmi": 29.6832651,
        "final_bearing_deg": 307.17097,
        "initial_bearing_deg": 306.86548
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:05.134Z",
        "request_id": "5889444d-6ed8-411f-bedf-34b2981efe9b"
    },
    "status": "ok",
    "message": "Vincenty distance",
    "success": true
}