{"uid":"cap_OzYsLw5yEgb-1r2azQZA-","slug":"geo-geometry-analyzer-bf1d46a8","name":"Geo Geometry Analyzer","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/geo-geometry?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"geometry":{"type":"Polygon"}}},"responseSchema":{"type":"json","example":{"bbox":[0,0,1,1],"valid":true,"centroid":[0.5,0.5],"area_deg2":1,"perimeter_deg":4}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t1haluNZturK4cxkhHEik","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes geometric properties of a GeoJSON Polygon, including bounding box, centroid, area, perimeter, and validity check.","exampleAgentPrompt":"Can you analyze this polygon geometry and tell me its bounding box, centroid, area, and perimeter, and whether the shape is valid? Here are the coordinates: [[[0,0],[1,0],[1,1],[0,1],[0,0]]]","exampleUseCases":[{"title":"Validate and measure a land parcel","prompt":"I have a GeoJSON polygon for a land parcel with coordinates [[[10.5,51.2],[10.7,51.2],[10.7,51.4],[10.5,51.4],[10.5,51.2]]] — can you check if it's a valid polygon and tell me its centroid, area, and bounding box?"},{"title":"Find center point of a region boundary","prompt":"I've got a polygon outlining a city district and I need its centroid coordinates so I can place a map marker at the center — here are the polygon coordinates: [[[2.3,48.8],[2.4,48.8],[2.4,48.9],[2.3,48.9],[2.3,48.8]]]"},{"title":"Compute polygon dimensions for coverage analysis","prompt":"Can you calculate the area and perimeter of this polygon in degree units and confirm it's geometrically valid? Coordinates are [[[100.0,13.7],[100.1,13.7],[100.1,13.8],[100.0,13.8],[100.0,13.7]]]"}],"resultDescription":"Returns a JSON object containing: bbox (array of [minX, minY, maxX, maxY]), valid (boolean indicating geometric validity), centroid ([longitude, latitude] of center point), area_deg2 (area in square degrees), and perimeter_deg (perimeter length in degrees).","failureModes":["Invalid or malformed GeoJSON polygon returns an error or valid:false","Self-intersecting polygon may be flagged as invalid","Missing or wrong geometry type (e.g. Point instead of Polygon) causes a 400-level error","Payment not included or insufficient USDC triggers a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need quick, server-side computation of GeoJSON polygon properties (centroid, area, perimeter, bounding box, validity) without setting up a GIS library or account. Ideal for lightweight geospatial validation and measurement tasks where pay-per-call with no API key is preferred. Less suited for projections or complex coordinate system transformations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:37.433Z","isFirstParty":false,"canonicalSlug":"geo-geometry-analyzer-bf1d46a8"}