MCSR Ranked Rest API Document
All endpoints have a ratelimit of 500 requests per 10 minutes unless otherwise specified.
If you want to use API Key with expanded ratelimit, please make a #ticket in our
Discord Server
Endpoints
https://api.mcsrranked.com/
https://mcsrranked.com/api/
You can use both, but we would recommend to use first one.
200 Success Response
JSON response when an API request is successfully processed.
400 Data Not Found
JSON response when there's no data. However, as an exception, array type returns an empty array instead of this error.
401 Wrong Parameters
JSON response when used wrong parameters. The data
of the API response will explain what went wrong.
429 Too Many Requests
JSON response when an API request exceeds the ratelimit.
Class UserProfile
Parameter |
Type |
Description |
uuid |
String |
User's UUID |
nickname |
String |
User's nickname |
roleType |
Integer |
User's role type |
eloRate |
Integer? |
User's Elo rate, If user haven't finished placement matches it will be null |
eloRank |
Integer? |
User's Elo rank |
country |
String? |
User's country code. It's lowercased ISO 3166-1 alpha-2 format |
Class Achievement
Parameter |
Type |
Description |
id |
String |
Achievement Identifier |
date |
Date |
Amount of changed elo rates |
data |
String[] |
Additional data array |
level |
Integer |
Level of achievement |
Class MatchInfo
Advanced
parameters are only available with /matches/{match_id}
endpoint.
Parameter |
Type |
Description |
id |
String |
|
type |
MatchType |
|
season |
Integer |
|
category |
String |
Match completions category. Default is ANY |
date |
Date |
|
players |
UserProfile[] |
|
spectators |
UserProfile[] |
|
seed.id |
String? |
Seed id if it's ranked filtered seed. it's not real seed number of the seed. it will be null if seed is not filtered. |
seed.overworld |
String? |
Overworld structure type of the seed. it will be null if seed is not filtered. |
seed.bastion |
String? |
Bastion remnants type of the seed. it will be null if seed is not filtered. |
seed.variations |
String[] |
Noticable variations of the seed. it will be empty array if seed is not filtered. |
result.uuid |
String? |
Winner's UUID, It will be `null` If match has draw |
result.time |
Time |
|
forfeited |
Boolean |
Whether match has no completions |
decayed |
Boolean |
Whether match has decayed match |
rank.season |
Integer? |
Record rank of match's season |
rank.allTime |
Integer? |
Record rank of all-time |
changes[].uuid |
String |
UUID of player |
changes[].change |
Integer? |
Amount of changed Elo rate, if match has placements it will be null |
changes[].eloRate |
Integer? |
Elo rate of player, if match has placements it will be null |
tag |
String? |
Special tag of this match. It's used by get matches with tag |
completions[].uuid |
String |
(Advanced) Player uuid of completion |
replayExist |
Boolean |
(Advanced) Whether match replay is exist in the server |
completions[].time |
Time |
(Advanced) Match time of completion |
timelines[].uuid |
String |
(Advanced) Player uuid of timeline |
timelines[].time |
Time |
(Advanced) Match time of timeline |
timelines[].type |
String |
(Advanced) Identifier of timeline |
String UserIdentifier
Identifier used when getting user information. You must use one of the formats below.
Type |
Description |
Example |
UUID |
UUID of User, you can also use with dashes(- ). |
bbc886da1b024739b4b80f1542e9f61d |
Nickname |
Nickname of User. It's not case sensitive. |
RED_LIME |
Discord ID |
Linked Discord ID(Snowflake) of User. Must be discord.[ID] format. |
discord.338669823167037440 |
Integer MatchType
Value |
Description |
1 |
Casual Match |
2 |
Ranked Match |
3 |
Private Room Match |
4 |
Event Mode Match |
Integer Date
Displays a specific date as an epoch time (timestamp) in seconds. (NOT milliseconds!)
Integer Time
Displays a specific duration in milliseconds.