{"uid":"cap_Lir8davv14b76QuT1Xqa3","slug":"geo-calc-bounding-box-from-radius-dd581da6","name":"Geo Calc Bounding Box from Radius","description":"Bounding box (min/max latitude and longitude) enclosing a radius in meters around a point, with pole and 180 degree handling.","url":"https://geo-calc.x402tookit.com/bbox-radius?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":["lat","lon","radiusM"],"properties":{"lat":{"type":"number","description":"Center latitude"},"lon":{"type":"number","description":"Center longitude"},"radiusM":{"type":"number","description":"Radius in meters, 1 to 5,000,000"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"maxLat":{"type":["null","number"]},"maxLon":{"type":["null","number"]},"minLat":{"type":["null","number"]},"minLon":{"type":["null","number"]},"source":{"type":["null","string"]},"radiusM":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"ellipsoid":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"includesPole":{"type":["boolean","null"]},"spansAllLongitudes":{"type":["boolean","null"]},"crossesAntimeridian":{"type":["boolean","null"]},"latitudeHalfHeightM":{"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_C2rp3Hbn5hUDTg64euZpM","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 minimum bounding box (min/max lat/lon) enclosing a circular radius in meters around a geographic point, with correct handling of poles and the antimeridian.","exampleAgentPrompt":"What's the bounding box (min and max latitude and longitude) that encloses a 25,000-meter radius around the point at latitude 51.5074, longitude -0.1278?","exampleUseCases":[{"title":"Proximity database query optimization","prompt":"I need the min/max lat and lon bounding box around latitude 40.7128, longitude -74.0060 for a 10,000-meter radius so I can filter my database before running an exact distance check."},{"title":"Map viewport for circular coverage area","prompt":"Can you get me the bounding box that covers a 500,000-meter radius around latitude -77.85, longitude 166.67? I need to know if it hits a pole or wraps around the antimeridian too."},{"title":"Geofence boundary for IoT sensor field","prompt":"Calculate the geographic bounding box enclosing a 2,000-meter radius around latitude 48.8566, longitude 2.3522 — I need the minLat, maxLat, minLon and maxLon to set up a geofence."}],"resultDescription":"Returns a JSON object containing minLat, maxLat, minLon, maxLon defining the bounding box, the radius used, flags indicating whether the bounding box includes a pole (includesPole), crosses the antimeridian (crossesAntimeridian), or spans all longitudes (spansAllLongitudes), the latitude half-height in meters, the ellipsoid model used, a summary, and any disclaimer or degraded-mode notes.","failureModes":["Missing required query parameters (lat, lon, radiusM) returns an error","radiusM outside the 1 to 5,000,000 meter range returns a validation error","Invalid numeric values for lat or lon return a parse error","Extremely large radii near poles may return degraded results with warnings in the reasons array"],"whenToPreferThis":"Choose this endpoint when you need a fast, edge-case-correct bounding box for a circular radius around a geographic point — especially when the area might span the antimeridian or encompass a pole. It is ideal for pre-filtering spatial database queries, setting map viewports, or defining geofences, and handles the tricky 180° and polar wraparound cases that naive degree-arithmetic approaches get wrong.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:17.506Z","isFirstParty":false,"canonicalSlug":"geo-calc-bounding-box-from-radius-dd581da6"}