Great-circle distance between two lat/lon points (haversine formula)
Great-circle distance between two lat/lon points (haversine formula). Returns km, mi or nm. No result, no charge.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
1002 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.agentindex.world/geo/distance
| Category | Everything else |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 7 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 1173 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 1097 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 1373 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 1002 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 1001 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 935 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 958 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 1717 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 1376 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 966 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 1025 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 937 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 944 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 1000 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 919 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 947 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 875 ms |
| 2026-11-09 | valid payment request | 402 | $0.001 | 877 ms |
| 2026-11-08 | valid payment request | 402 | $0.001 | 873 ms |
| 2026-11-07 | valid payment request | 402 | $0.001 | 896 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 893 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 1096 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 864 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 906 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 863 ms |
| 2026-11-01 | valid payment request | 402 | $0.001 | 877 ms |
| 2026-10-31 | valid payment request | 402 | $0.001 | 936 ms |
| 2026-10-29 | valid payment request | 402 | $0.001 | 951 ms |
Example input (from the provider)
{
"body": {
"lat1": 48.8566,
"lat2": 51.5074,
"lon1": 2.3522,
"lon2": -0.1278,
"unit": "km"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"lat1": {
"maximum": 90,
"minimum": -90,
"title": "Lat1",
"type": "number"
},
"lat2": {
"maximum": 90,
"minimum": -90,
"title": "Lat2",
"type": "number"
},
"lon1": {
"maximum": 180,
"minimum": -180,
"title": "Lon1",
"type": "number"
},
"lon2": {
"maximum": 180,
"minimum": -180,
"title": "Lon2",
"type": "number"
},
"unit": {
"default": "km",
"pattern": "^(km|mi|nm)$",
"title": "Unit",
"type": "string"
}
},
"required": [
"lat1",
"lon1",
"lat2",
"lon2"
],
"title": "DistanceInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"distance": {
"title": "Distance",
"type": "number"
},
"unit": {
"title": "Unit",
"type": "string"
}
},
"required": [
"distance",
"unit"
],
"title": "DistanceOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}