Servers
Fetch a list of servers EcoNuker is in!
You can fetch a list of servers EcoNuker is in, or even data about a server (trusted only)!
Server List
GET
https://econuker.xyz/api/servers
Fetch a list of servers and a count of all servers!
Headers
Name
Type
Description
Authorization
String
Input an auth token.
Example response:
{"count": 3,"servers": ["serverid", "serverid", "serverid"]}
Beta will always a single server as it's not invitable.
{"count": 1,"servers": ["wRe47Qxj"]}
Server Fetch
GET
https://econuker.xyz/api/server/{id}
Fetches a server and all data from server list. This only fetches from a list of servers that EcoNuker is in.
Requires "trusted" level auth token.
Path Parameters
Name
Type
Description
id*
String
/server/<id>
Headers
Name
Type
Description
Authorization*
String
Input an auth token. (Required)
Example response:
{
"id": "server id",
"name": "server name",
"owner": {
"name": "owner name",
"id": "owner id",
"nick": "owner nickname or null",
"profile": "owner profile url"
},
"vanity_url": "server vanity or null",
"verified": bool,
"created_at": epoch int,
"timezone": "Timezone Str",
"slug": "Server Slug",
"about": "Server description"
}
Last updated