# Saylor Innovations Geodesic Calculator

> Saylor Innovations Geodesic Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-18).

Calculates accurate WGS-84 geodesic distance and bearings between two coordinates using the Vincenty formula, or computes a destination point given a start, bearing, and distance

## Facts

- Endpoint: GET https://saylorinnovations.com/api/geo/geodesic?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-geodesic-calculator-81c4c71e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VOeGk6HBng4CxCJt6k4OY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-geodesic-calculator-81c4c71e
```

Example prompt: What's the precise geodesic distance and initial bearing from New York (40.7128° N, 74.0060° W) to London (51.5074° N, 0.1278° W)? I need the result in kilometers, miles, and nautical miles using the Vincenty method.

## When to prefer this

Choose this endpoint when you need high-accuracy ellipsoidal geodesic distance calculations using the Vincenty formula on the WGS-84 reference ellipsoid — significantly more accurate than Haversine for long distances or precision navigation. Ideal when you need both distance and bearing data in a single call, or need results in multiple units (km, miles, nautical miles, meters) simultaneously. Prefer over simple Haversine calculators when accuracy over long distances matters (e.g. aviation, maritime, surveying).

## Known failure modes

- Missing required query parameters (lat1, lon1, lat2, lon2) result in an error response
- Out-of-range latitude (>90 or <-90) or longitude (>180 or <-180) values cause validation failure
- Non-numeric coordinate strings cause parsing errors
- Antipodal or near-antipodal points may cause Vincenty formula convergence failure
- Payment not provided or insufficient USDC results in HTTP 402 response

## How this service works

Accurate WGS-84 distance and bearings between two coordinates with Vincenty, or the destination point from a start, bearing and distance

## Output

Returns a JSON object with the geodesic distance between two coordinates expressed in kilometers, miles, nautical miles, and meters; the initial and final bearings in degrees; a human-readable initial compass direction; a haversine distance for comparison; the difference between Vincenty and haversine results; the reference ellipsoid used; and optionally destination coordinates if computing a forward geodesic. Also includes mode, method, and data source metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat1",
      "lon1",
      "lat2",
      "lon2"
     ],
     "properties": {
      "lat1": {
       "type": "string",
       "description": "Start latitude"
      },
      "lat2": {
       "type": "string",
       "description": "End latitude (for distance)"
      },
      "lon1": {
       "type": "string",
       "description": "Start longitude"
      },
      "lon2": {
       "type": "string",
       "description": "End longitude"
      },
      "bearing": {
       "type": "string",
       "description": "or a bearing in degrees to find a destination"
      },
      "distance_km": {
       "type": "string",
       "description": "with the distance to travel in km"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "mode",
      "distance_km"
     ],
     "properties": {
      "to": {
       "type": "object",
       "properties": {
        "lat": {
         "type": "number",
         "description": "Latitude in decimal degrees"
        },
        "lon": {
         "type": "number",
         "description": "Longitude in decimal degrees"
        }
       },
       "description": "End of the range",
       "additionalProperties": true
      },
      "from": {
       "type": "object",
       "properties": {
        "lat": {
         "type": "number",
         "description": "Latitude in decimal degrees"
        },
        "lon": {
         "type": "number",
         "description": "Longitude in decimal degrees"
        }
       },
       "description": "Start of the range",
       "additionalProperties": true
      },
      "mode": {
       "type": "string",
       "description": "Mode used"
      },
      "method": {
       "type": "string",
       "description": "Method used"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-geodesic-calculator-81c4c71e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
