universe

Resolve coordinates to the nearest celestial

Changed on

Given a solar system and in-system xyz coordinates, returns the nearest named celestial (planet, moon, stargate, station, belt, POCO, etc.). Uses Euclidean 3D distance — same approach used to label killmail locations.

get/location

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/location
  • Auth: none declared

Query parameters

system_idinteger required

Solar system to resolve within.

xnumber required

X coordinate in metres.

ynumber required

Y coordinate in metres.

znumber required

Z coordinate in metres.

Response

OK

$schemastring uri required

A URL to the JSON Schema for this response.

system_idnumber double required
xnumber double required
ynumber double required
znumber double required

Changes

    • breaking

      added the new required query request parameter system_id

    • breaking

      added the new required query request parameter x

    • breaking

      added the new required query request parameter y

    • breaking

      added the new required query request parameter z