Desenvolvedores
gcri_location
NXS Risk Intelligence API
GET /v1/locations EServed
Location lookup: what GCRI holds at a point or in a box, layer by layer
For a point (lat, lon, radius_km) or a bounding box (bbox): the power plants of the pinned WRI Global Power Plant Database as values with their source, and every other layer (hazard intensity, population and building exposure, water stress, elevation, country boundary, H3 index) as coverage none naming the exact need. Nothing is interpolated or invented; a point is not resolved to a country. An H3 cell id is refused until an H3 library is a dependency. State: exists.
MCP tool: gcri.location
Parâmetros
| Nome | In | Tipo | O que faz |
|---|---|---|---|
lat opcional | query | string | Latitude, decimal degrees (WGS84) Example: 53.35 |
lon opcional | query | string | Longitude, decimal degrees (WGS84) Example: -6.26 |
radius_km opcional | query | string | Radius in km around the point (default 25, at most 500) |
bbox opcional | query | string | minLon,minLat,maxLon,maxLat (at most 20 degrees each way) |
Responses
- 200 Records with provenance
- 304 Not modified: the If-None-Match validator matched the current ETag (a problem, RFC 9457)
- 400 Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY) (a problem, RFC 9457)
- 404 NOT_FOUND, or NOT_YET_PUBLISHED for a designed route (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier rate limit (a problem, RFC 9457)
- 500 INTERNAL: unhandled error (a problem, RFC 9457)