{"uid":"cap_zM25bBPvruoWO9Y2WCsBh","slug":"geo-bearing-4c128ba6","name":"geo-bearing","description":"Initial compass bearing (0-360 degrees, clockwise from true north) from point 1 to point 2.","url":"https://x402.agentindex.world/geo/bearing?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"lat1":{"type":"number","title":"Lat1","maximum":90,"minimum":-90},"lat2":{"type":"number","title":"Lat2","maximum":90,"minimum":-90},"lon1":{"type":"number","title":"Lon1","maximum":180,"minimum":-180},"lon2":{"type":"number","title":"Lon2","maximum":180,"minimum":-180}}},"responseSchema":{"type":"json","example":{"bearing_deg":337.9043}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PDfj8NFAzkJPjpC0PlTEe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the compass bearing (in degrees) from one geographic coordinate to another","exampleAgentPrompt":"What's the compass bearing from coordinates 40.7128° N, 74.0060° W to 51.5074° N, 0.1278° W?","exampleUseCases":[{"title":"Drone flight path heading","prompt":"I need to fly a drone from lat 37.7749, lon -122.4194 to lat 34.0522, lon -118.2437 — what compass bearing should I set for the initial heading?"},{"title":"Ship navigation direction","prompt":"What's the bearing in degrees from port at 51.5074° N, 0.1278° W to destination at 48.8566° N, 2.3522° E so I can set the ship's course?"},{"title":"Orienteering compass heading","prompt":"I'm standing at latitude 47.6062, longitude -122.3321 and want to reach a waypoint at latitude 47.6205, longitude -122.3493 — what direction in degrees should I walk?"}],"resultDescription":"Returns a JSON object with a single field `bearing_deg` containing the compass bearing in decimal degrees (0–360) from the first coordinate to the second, measured clockwise from true north.","failureModes":["Missing required lat/lon parameters returns an error or zero bearing","Values outside valid ranges (lat >90 or <-90, lon >180 or <-180) may be rejected","Identical start and end coordinates may return 0 or undefined bearing","Payment failure via x402 returns HTTP 402 before any computation occurs"],"whenToPreferThis":"Use this endpoint when you need a precise geodetic bearing calculation between two coordinates in a pay-per-call model without setting up your own geospatial infrastructure. It is ideal for AI agents performing navigation tasks, route planning, or orientation queries where a single bearing value is sufficient and cost must be minimized per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:39:38.103Z","isFirstParty":false,"canonicalSlug":"geo-bearing-4c128ba6"}