EVE Metro API description

EVE Metro Connections
GET
Endpoint that returns an array of nodes and edges. Nodes are Pochven systems and edges the connected systems.
Authenticated with x-api-key header. Talk to EVE metro on discord to get an API key.
curl https://evemetro.com/api/external/nodes -H 'x-api-key: REPLACE_WITH_KEY'
Return types
export type SystemNode = { systemId: SystemId systemName: string systemSecurityStatus: number shipSize: ShipSize systemEdges: SystemEdge[] } export type SystemEdge = { solarSystemIdDst: number solarSystemNameDst: string solarSystemSecDst: number shipSize: ShipSize edgeSource: EdgeSource signatureSrc?: string signatureDst?: string wormholeTypeSrc?: string wormholeTypeDst?: string wormholeMass?: WormholeStatus wormholeEol?: WormholeStatus creatorName?: string createdTime?: string lastSeenTime?: string } export type ShipSize = 'Frigate' | 'Cruiser' | 'Battleship' | 'Freighter' | 'Capital' | undefined export type SystemId = number export enum EdgeSource { 'k-space', 'eve-scout', 'trig-map' } export type WormholeStatus = 'critical' | 'stable'
EVE Metro Connections
POST
Endpoint that can be used to calculate shortest route between two systems, using EVE Metro data. Returns an array of RouteSystems.
Authenticated with x-api-key header. Talk to EVE metro on discord to get an API key.
curl --request POST \ --url https://evemetro.com/api/external/path \ --header 'Content-Type: application/json' \ --header 'x-api-key: REPLACE_WITH_KEY' \ --data '{ "startSystemId":30002187, "endSystemId":30000142, "avoidSystemIds": [ 30005196, 30001372 ], "useEveScout":true, "preferSafe":false, "shipSize":"Frigate", "avoidWhsReportedExpired":true }'
Request types
export interface CalculateRouteInput { startSystemId: number endSystemId: number avoidSystemIds: number[] useEveScout: boolean shipSize: ShipSize preferSafe: boolean avoidWhsReportedExpired: boolean }
Return types
export interface RouteSystem { currentSystemId: number currentSystemName: string currentSystemSecurity: number nextSystemName?: string nextSystemSig?: string lifeCritical?: boolean massCritical?: boolean }