REST(?) API accessible @ https://api.cubecraft.net/
Quick note! This is not a complete documentation. All resources have been documented by researching, discovering, bruteforcing, and trying stuff. As of the day I'm writing this, the CubeCraft API is not currently public, and the skins API is protected via Cloudflare's anti-bot protection. Plus, these docs are still a work in progress!
GET https://api.cubecraft.net/
{"error":"Not authorized."}
403
GET https://api.cubecraft.net/skins/
3D render of a Steve skin
200
If a parameter is invalid, the server will use the default one, instead of returning an error.
- User UUID, must be dashed.
- Type:
string
- Default: ? (outputs a Steve skin)
- Choose the rendered image's format. As of now, it always defaults to PNG.
- Type:
string
- Default:
PNG
- Modify the size of the image, while keeping the same aspect ratio.
- Type:
float
(positives) - Default:
1
- Render only the user's head.
- Type:
bool
- Default:
false
- Render the user's head overlay.
- Type:
bool
- Default:
true
- Rotate the model on the x axis.
- Type:
float
(positives and negatives, values are interpreted as degrees) - Default:
-25
- Rotate the model on the y axis.
- Type:
float
(positives and negatives, values are interpreted as degrees) - Default:
35
parameters to examine: &wt=-45&abg=0&abd=-30&ajg=-25&ajd=30
GET https://stats.cubecraft.net/socket.io/
Stats of the currently online players on the CubeCraft Network
- Type:
application/json
- Status Code:
200
Content:
unique_sessions
: amount of unique sessions made to the network (not working, returning 0)today
: todaytotal
: total
online_count
: amount of people currently online the Networktotal
: counting players on all platforms all togetherbedrock
: players on the bedrock serverjava_19
: players on the 1.12+ version of the Java serverjava_18
: players on the 1.8 version of the Java server (returning 0 since 1.8 is no longer supported on CubeCraft)
A list if all know parameters for this request, if a parameter is invalid, the server will use the default one, instead of returning an error.
- Session ID, can be obtained at SID
- Type:
string
- Default:
?
- Required:
False
- Allowed options:
session.io valid sid
- Info:
socket.io transport protocol
- Type:
string
- Default:
None
- Required:
True
- Allowed options:
["polling"]
- Info:
the current version of the engine.io protocol
- Type:
integer
- Default:
? 3
- Required:
False
- Allowed options:
[1, 2, 3, 4]
- Info:
a hashed timestamp for cache-busting
- Type:
string
- Default:
?
- Required:
False
- Allowed options:
yeast valid timestamp id
socket.io session ID required to make arequest to the Stats API
GET https://stats.cubecraft.net/socket.io/
- Type:
application/json
- Status Code:
200
Content:
sid
: the unique session idupgrades
: the list of possible transport upgradespingInterval
: the 1st parameter for the heartbeat mechanismpingTimeout
: the 2nd parameter for the heartbeat mechanism
A list if all know parameters for this request, if a parameter is invalid, the server will use the default one, instead of returning an error.
- Info:
socket.io transport protocol
- Type:
string
- Default:
None
- Required:
True
- Allowed options:
["polling"]
- Info:
the current version of the engine.io protocol
- Type:
integer
- Default:
? 3
- Required:
False
- Allowed options:
[1, 2, 3, 4]
- Info:
a hashed timestamp for cache-busting
- Type:
string
- Default:
?
- Required:
False
- Allowed options:
yeast valid timestamp id
Returns list of forums members based on your query
GET https://www.cubecraft.net/index.php?members/find
- Type:
application/json
- Status Code:
200
A list if all know parameters for this request, if a parameter is invalid, the server will use the default one, instead of returning an error.
- Info:
search query
- Type:
string
- Default:
None
- Required:
True
- Allowed options:
any string
- Info:
request uri
- Type:
string
- Default:
None
- Required:
False
- Allowed options:
%2Fmembers%2F
- Info:
??
- Type:
integer
- Default:
1
- Required:
False
- Allowed options:
1
- Info:
authentication token
- Type:
string
- Default:
None
- Required:
True
- Allowed options:
valid auth token
- Info:
response type
- Type:
string
- Default:
None
- Required:
False
- Allowed options:
["json"]
Returns a rank of the provided player
GET https://store-assets.cubecraft.net/v2/store_config.php
- Type:
application/json
- Status Code:
200
A list if all know parameters for this request, if a parameter is invalid, the server will use the default one, instead of returning an error.
- Info:
uuid of a player
- Type:
string
- Default:
None
- Required:
True
- Allowed options:
any string
Docs written by The_TecnoKing#7293 & KristN#1234 & #3205