İçeriğe geç
The Consortium

Geliştiriciler

gcri_location

NXS Risk Intelligence API

Open. Reading is free and needs no key.

GET /v1/locations EServed

All operations

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

Parametreler

Parametreler
AdInTürNe yapar
lat isteğe bağlıquerydizeLatitude, decimal degrees (WGS84) Example: 53.35
lon isteğe bağlıquerydizeLongitude, decimal degrees (WGS84) Example: -6.26
radius_km isteğe bağlıquerydizeRadius in km around the point (default 25, at most 500)
bbox isteğe bağlıquerydizeminLon,minLat,maxLon,maxLat (at most 20 degrees each way)

Yanıtlar

  • 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)