API Systems v1
All messages returned by the API are in JSON. Most queries work with GET but they should also be compatible with POST requests.
HTTP Request:
GET https://www.edsm.net/api-v1/system
| Parameter | Default | Description |
|---|---|---|
| systemName* |
NULL
|
The system name |
| showId |
0
|
Set to |
| showCoordinates |
0
|
Set to |
| showPermit |
0
|
Set to |
| showInformation |
0
|
Set to |
| showPrimaryStar |
0
|
Set to |
| includeHidden |
0
|
Set to |
Output:
{
name : "Merope",
coords : {
x : -78.59375,
y : -149.625,
z : -340.53125
},
information : {
allegiance : "Federation",
government : "Democracy",
faction : "Pleiades Resource Enterprise",
factionState : "Expansion",
population : 850000,
security : "Medium",
economy : "Industrial"
},
primaryStar : {
type : "B (Blue-White) Star",
name : "Merope",
isScoopable : true
}
}
| Parameter | Description |
|---|---|
| name |
Name of the system. |
| id |
Internal ID of the system. |
| coords |
Array of coordinates if known. |
| duplicates |
When requesting |
| requirePermit |
|
| permitName |
Name of required permit, if not Unknown. |
| information |
Array of information if known.
|
| primaryStar |
Array of information concerning the primary star of the system if known.
|
| hidden_at |
When requesting |
| mergedTo |
When requesting |
HTTP Request:
GET https://www.edsm.net/api-v1/systems
| Parameter | Default | Description |
|---|---|---|
| systemName |
NULL
|
The systems name to retrieve, can be a start of a name or an array of specific names. |
| showId / showCoordinates / showPermit / showInformation / showPrimaryStar |
See Get information about a system endpoint. |
|
|
startDateTime YYYY-MM-DD HH:MM:SS |
NULL
|
If you only want to receive systems updated after a specific date & time, use this parameter. That parameter is inclusive. All dates must be UTC.
startDateTime and endDateTime can be use together or separately, but the maximum interval will be
3 DAY.If both are set, endDateTime will be used to calculate the interval. |
|
endDateTime YYYY-MM-DD HH:MM:SS |
NULL
|
If you only want to receive systems updated before a specific date & time, use this parameter. That parameter is inclusive. All dates must be UTC.
startDateTime and endDateTime can be use together or separately, but the maximum interval will be
3 DAY.If both are set, endDateTime will be used to calculate the interval. |
| onlyKnownCoordinates |
NULL
|
Set to |
| onlyUnknownCoordinates |
NULL
|
Set to |
| includeHidden |
See Get information about a system endpoint. |
|
Output:
[
{
name : "Eol Prou RS-T d3-94",
id : 5553159,
mergedTo : 3384966,
hidden_at : "2016-09-27 07:21:51"
},
{
name : "Sol",
id : 27,
coords : {
x : 0,
y : 0,
z : 0
}
},
{
name : "2MASS J00014645-2946387",
id : 9664483,
duplicates : [
1946723
],
coords : {
x : -46.5625,
y : -831.78125,
z : 158.375
}
}
]
| Parameter | Description |
|---|---|
| name |
Name of the system. |
| id / duplicates / coords / requirePermit / permitName / information / primaryStar |
See Get information about a system endpoint. |
| hidden_at / mergedTo |
See Get information about a system endpoint. |
HTTP Request:
GET https://www.edsm.net/api-v1/sphere-systems
| Parameter | Default | Description |
|---|---|---|
| systemName* |
NULL
|
The system name which will be the center of the sphere. |
| x* / y* / z* |
NULL
|
If you don't want to use a system name, you can use coordinates as the center of the sphere. |
| minRadius |
0
|
Set to a value between 0 and |
| radius |
50
|
Set to the desired radius |
| showId / showCoordinates / showPermit / showInformation / showPrimaryStar |
See Get information about a system endpoint. |
|
Output:
[
{
distance : 99.89,
name : "Pleiades Sector II-S b4-2",
id : 2069591,
coords : {
x : -177.03125,
y : -136.53125,
z : -329.75
}
},
{
distance : 97.86,
name : "Pleiades Sector EC-U b3-3",
id : 3421818,
coords : {
x : -174.40625,
y : -141.40625,
z : -358.6875
}
}
]
| Parameter | Description |
|---|---|
| distance |
Distance in ly from the center of the sphere. |
| name |
Name of the system. |
| id / coords / requirePermit / permitName / information / primaryStar |
See Get information about a system endpoint. |
HTTP Request:
GET https://www.edsm.net/api-v1/cube-systems
| Parameter | Default | Description |
|---|---|---|
| systemName* |
NULL
|
The system name which will be the center of the sphere. |
| x* / y* / z* |
NULL
|
If you don't want to use a system name, you can use coordinates as the center of the sphere. |
| size |
100
|
Set to the desired size of the cube |
| showId / showCoordinates / showPermit / showInformation / showPrimaryStar |
See Get information about a system endpoint. |
|
Output:
[
{
name : "Pleiades Sector II-S b4-2",
id : 2069591,
coords : {
x : -177.03125,
y : -136.53125,
z : -329.75
}
},
{
name : "Pleiades Sector EC-U b3-3",
id : 3421818,
coords : {
x : -174.40625,
y : -141.40625,
z : -358.6875
}
}
]
| Parameter | Description |
|---|---|
| name |
Name of the system. |
| id / coords / requirePermit / permitName / information / primaryStar |
See Get information about a system endpoint. |