{"uid":"cap_pxI-IeUU5XfClNBU9Fnv7","slug":"land-survey-screening-great-circle-distance-and-bearing-de90a454","name":"Land Survey Screening – Great-Circle Distance and Bearing","description":"Great-circle distance (miles, km, feet, nautical miles) and initial compass bearing between two latitude/longitude points.","url":"https://land-survey.x402tookit.com/distance-bearing?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat1","lon1","lat2","lon2"],"properties":{"lat1":{"type":"number","description":"Start latitude"},"lat2":{"type":"number","description":"End latitude"},"lon1":{"type":"number","description":"Start longitude"},"lon2":{"type":"number","description":"End longitude"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"feet":{"type":["null","number"]},"miles":{"type":["null","number"]},"meters":{"type":["null","number"]},"source":{"type":["null","string"]},"compass":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"kilometers":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"nauticalMiles":{"type":["null","number"]},"initialBearingDegrees":{"type":["null","number"]},"reverseBearingDegrees":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x-nyuJxk2Xt2dAelwtWf5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the great-circle distance (in miles, kilometers, feet, and nautical miles) and initial compass bearing between two lat/lon coordinate pairs.","exampleAgentPrompt":"What is the great-circle distance and initial compass bearing from 37.7749° N, 122.4194° W (San Francisco) to 34.0522° N, 118.2437° W (Los Angeles)? Give me the result in miles, kilometers, and nautical miles.","exampleUseCases":[{"title":"Drone flight path distance check","prompt":"I need to know the straight-line distance in miles and the initial bearing from 40.7128° N, 74.0060° W to 40.6501° N, 73.9496° W — I'm planning a drone survey route between those two points."},{"title":"Property boundary separation","prompt":"Can you calculate the distance in feet between the northwest corner of my parcel at 35.2271° N, 80.8431° W and the southeast corner at 35.2198° N, 80.8312° W, and tell me the compass bearing between them?"},{"title":"Nautical route planning","prompt":"What is the great-circle distance in nautical miles and the initial compass heading from 25.7617° N, 80.1918° W to 24.3963° N, 76.2952° W? I need this for a passage plan."}],"resultDescription":"Returns the great-circle distance between two points expressed in miles, kilometers, feet, meters, and nautical miles, plus the initial bearing in degrees and a human-readable compass direction (e.g. 'NNW'). Also includes reverse bearing and optional metadata such as source, summary, and disclaimer fields.","failureModes":["Missing required query parameters (lat1, lon1, lat2, lon2) returns a validation error","Out-of-range latitude (outside ±90) or longitude (outside ±180) values cause an error","Identical start and end points return zero distance and undefined or null bearing","Payment failure or insufficient USDC balance blocks the request","Network timeout or service unavailability returns a degraded or null response"],"whenToPreferThis":"Choose this endpoint when you need precise great-circle (geodesic) distance and directional bearing between two geographic coordinate pairs, especially in surveying, navigation, or geospatial analysis contexts. It is ideal when you need results in multiple unit systems simultaneously (miles, km, feet, nautical miles). Prefer it over geocoding-based distance tools when you already have exact lat/lon values and don't need routing or road-network distances.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:15.251Z","isFirstParty":false,"canonicalSlug":"land-survey-screening-great-circle-distance-and-bearing-de90a454"}