{"uid":"cap_bFYgOHgwXfVTpinih1jJP","slug":"signaldesk-ai-geometry-bounding-box-4cd39d5b","name":"SignalDesk AI Geometry Bounding Box","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/geometry/bounding-box?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"points":{"type":"array","items":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in decimal degrees."},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in decimal degrees."}},"additionalProperties":false},"maxItems":1000,"minItems":1,"description":"Coordinates."}}},"responseSchema":{"type":"json","example":{"east":-8,"west":-9,"north":40,"south":38,"antimeridian_optimised":false}},"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_TkL-EgQjClp-0xy-TVg2W","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 minimum bounding box (north/south/east/west) that encloses a given set of geographic coordinates","exampleAgentPrompt":"Calculate the bounding box for these coordinates: (40.7128, -74.0060), (34.0522, -118.2437), (41.8781, -87.6298), (29.7604, -95.3698) — I need the north, south, east, and west extents to set a map viewport.","exampleUseCases":[{"title":"Map viewport for delivery fleet","prompt":"I have GPS locations for 50 delivery trucks scattered across the northeast US — can you compute the bounding box around all of them so I know what region to load on the map?"},{"title":"Spatial extent of survey data","prompt":"Here are 200 field survey coordinates collected across Portugal: can you find the north, south, east, and west boundaries that enclose all of them?"},{"title":"Auto-fit map to user pins","prompt":"A user has dropped 8 custom pins on a map at these lat/lon pairs — compute the bounding rectangle I should use to auto-fit the camera so all pins are visible."}],"resultDescription":"Returns a JSON object with four boundary values — north (max latitude), south (min latitude), east (max longitude), west (min longitude) — plus an antimeridian_optimised boolean indicating whether the bounding box was adjusted to handle the 180th meridian crossing.","failureModes":["Fewer than 1 point supplied — request rejected due to minItems:1 constraint","More than 1000 points supplied — request rejected due to maxItems:1000 constraint","Latitude values outside -90 to 90 range — validation error","Longitude values outside -180 to 180 range — validation error","Payment not included or insufficient — 402 Payment Required response","Malformed JSON body — 400 Bad Request","Worker quota exhausted — 429 or 503 response"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001 USDC) server-side computation of a geographic bounding box from raw coordinate arrays — especially when you want to avoid implementing the antimeridian edge case yourself. Prefer this over client-side JS implementations when working in a server/agent context without a mapping library, or when you need a canonical, consistent bounding-box result for up to 1000 points in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:50.191Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-geometry-bounding-box-4cd39d5b"}