Menu

Learn how to start playing on JartexNetwork in just 60 seconds!
Play Now
Learn how to join our server
and start playing in 60 seconds
Play Now
CLICK TO JOIN JOIN OUR DISCORD
0
0

JartexNetwork API

Joined
August 7, 2024
Messages
8
Points
10
Age
16
IGN
ShadowedLeaves

Jartex Network API


An API (Application Programming Interface) is a set of rules and tools that allow different software systems to communicate with each other. It defines the methods and data formats that applications can use to request services or exchange data.

Despite not many players knowing about this, Jartex Network has their own public API.
(A public API is open for anyone to use, while a private API is restricted to specific users or internal applications)

API URL: https://stats.jartexnetwork.com/api

Get Player Data

URL: https://stats.jartexnetwork.com/api/profile/{username}
{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves)

Click here for an example using {username}=fyi

Responses

200 - Successfully retrieved player data
404 - Username was not found
429 - Rate limit reached

Retrieved Data​

discord_verified
lastSeen
ranks
email_verified
discord_boosting
clan (Guild Name, Guild Tag, Guild Trophies, Guild Creation Time, Guild Members)
rank (Level, Experience, Percentage, Rank Display)
friends
username

Get Recap Data

URL: https://stats.jartexnetwork.com/api/recaps/{id}
{id} is a string that can be replaced with the UUID of a BedWars game (You can obtain the UUID of a BedWars game by typing /recap in a BedWars lobby. Select a BedWars game and click Copy to obtain a link with the UUID)

Click here for an example using the BedWars {id}=5e47a70e-d353-4ef0-989a-7041370422dc

Responses

200 - Successfully retrieved recap data
400 - Invalid recap ID
404 - Recap was not found
429 - Rate limit reached

Retrieved Data​

id
mapName
gameType
gameServerName
gameStart
gameDuration
users (Blocks moved, Kills, Resources collected, Blocks placed, Deaths, Time of death, Time of death (ms), Items bought, Assists, Beds destroyed)
winners

Get Collective Leaderboard Data​

URL: https://stats.jartexnetwork.com/api/leaderboards/total?type={gamemode}&interval={interval}
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)

Click here for an example using {gamemode}=bedwars & {interval}=total

Responses​

200 - Successfully retrieved collective leaderboard data
429 - Rate limit reached

Retrieved Data​

Kills
Wins
Games played
Final kills
Final deaths
Beds destroyed
Deaths
Losses
Melee kills
Bow kills
Void kills
Arrows shot
Arrows hit

Get Leaderboard Entries​

URL: https://stats.jartexnetwork.com/api/leaderboards?type={gamemode}&mode={mode}&interval={interval}&stat={stat}&offset={offset}&limit={limit}
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES)
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)
{stat} is a string that can be replaced with a specific statistic to get the leaderboard of (Kills Deaths Wins Losses)
{offset} is an OPTIONAL integer that determines where the leaderboard should start from (Default=0, e.g. 1 offset would start from Place #2)
{limit} is an OPTIONAL integer that can limit the amount of entries shown (1-25)

Click here for an example using {gamemode}=bedwars & {mode}=ALL_MODES & {interval}=total & {stat}=Wins & {limit}=5

Responses​

200 - Successfully retrieved leaderboard entries data
400 - Invalid query
429 - Rate limit reached

Retrieved Data​

Metadata
Entries (Place, Value, ID, Clan)

Get Player Leaderboard Entries​

URL: https://stats.jartexnetwork.com/api/profile/{username}/leaderboard?type={gamemode}&interval={interval}&mode={mode}
{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves)
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)
{mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES)

Click here for an example using {username}=ShadowedLeaves & {gamemode}=bedwars & {interval}=total & {mode}=ALL_MODES

Responses​

200 - Successfully retrieved player leaderboard entries data
400 - Invalid query
404 - Username was not found
429 - Rate limit reached

Retrieved Data​

Bow kills
Kills
Games played
Final deaths
Arrows shot
Highest winstreak reached
Beds destroyed
Arrows hit
Losses
Melee kills
Final kills
Deaths
Void kills
Wins
Entries (Place, Value, ID)

DM shadowedleaves_ on Discord if you find any errors or things to clarify on.
 

Jartex Network API


An API (Application Programming Interface) is a set of rules and tools that allow different software systems to communicate with each other. It defines the methods and data formats that applications can use to request services or exchange data.

Despite not many players knowing about this, Jartex Network has their own public API.
(A public API is open for anyone to use, while a private API is restricted to specific users or internal applications)

API URL: https://stats.jartexnetwork.com/api

Get Player Data

URL: https://stats.jartexnetwork.com/api/profile/{username}
{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves)

Click here for an example using {username}=fyi

Responses

200 - Successfully retrieved player data
404 - Username was not found
429 - Rate limit reached

Retrieved Data​

discord_verified
lastSeen
ranks
email_verified
discord_boosting
clan (Guild Name, Guild Tag, Guild Trophies, Guild Creation Time, Guild Members)
rank (Level, Experience, Percentage, Rank Display)
friends
username

Get Recap Data

URL: https://stats.jartexnetwork.com/api/recaps/{id}
{id} is a string that can be replaced with the UUID of a BedWars game (You can obtain the UUID of a BedWars game by typing /recap in a BedWars lobby. Select a BedWars game and click Copy to obtain a link with the UUID)

Click here for an example using the BedWars {id}=5e47a70e-d353-4ef0-989a-7041370422dc

Responses

200 - Successfully retrieved recap data
400 - Invalid recap ID
404 - Recap was not found
429 - Rate limit reached

Retrieved Data​

id
mapName
gameType
gameServerName
gameStart
gameDuration
users (Blocks moved, Kills, Resources collected, Blocks placed, Deaths, Time of death, Time of death (ms), Items bought, Assists, Beds destroyed)
winners

Get Collective Leaderboard Data​

URL: https://stats.jartexnetwork.com/api/leaderboards/total?type={gamemode}&interval={interval}
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)

Click here for an example using {gamemode}=bedwars & {interval}=total

Responses​

200 - Successfully retrieved collective leaderboard data
429 - Rate limit reached

Retrieved Data​

Kills
Wins
Games played
Final kills
Final deaths
Beds destroyed
Deaths
Losses
Melee kills
Bow kills
Void kills
Arrows shot
Arrows hit

Get Leaderboard Entries​

URL: https://stats.jartexnetwork.com/api/leaderboards?type={gamemode}&mode={mode}&interval={interval}&stat={stat}&offset={offset}&limit={limit}
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES)
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)
{stat} is a string that can be replaced with a specific statistic to get the leaderboard of (Kills Deaths Wins Losses)
{offset} is an OPTIONAL integer that determines where the leaderboard should start from (Default=0, e.g. 1 offset would start from Place #2)
{limit} is an OPTIONAL integer that can limit the amount of entries shown (1-25)

Click here for an example using {gamemode}=bedwars & {mode}=ALL_MODES & {interval}=total & {stat}=Wins & {limit}=5

Responses​

200 - Successfully retrieved leaderboard entries data
400 - Invalid query
429 - Rate limit reached

Retrieved Data​

Metadata
Entries (Place, Value, ID, Clan)

Get Player Leaderboard Entries​

URL: https://stats.jartexnetwork.com/api/profile/{username}/leaderboard?type={gamemode}&interval={interval}&mode={mode}
{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves)
{gamemode} is a string that can be replaced with a gamemode on Jartex Network
{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)
{mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES)

Click here for an example using {username}=ShadowedLeaves & {gamemode}=bedwars & {interval}=total & {mode}=ALL_MODES

Responses​

200 - Successfully retrieved player leaderboard entries data
400 - Invalid query
404 - Username was not found
429 - Rate limit reached
Hello everyone! A massive snowstorm in Ottawa completely cancelled my weekend plans today. I stayed indoors with a hot drink and opened thorfortune on my tablet to salvage the ruined afternoon. The mobile interface is highly responsive and the live dealer streams are crystal clear. I managed to score a fantastic bonus round and withdrew my CAD securely via Interac. Have a wonderful day

Retrieved Data​

Bow kills
Kills
Games played
Final deaths
Arrows shot
Highest winstreak reached
Beds destroyed
Arrows hit
Losses
Melee kills
Final kills
Deaths
Void kills
Wins
Entries (Place, Value, ID)

DM shadowedleaves_ on Discord if you find any errors or things to clarify on.
TY
 
If you wanted more API routes, what would you want?
an API route that allows for UUID based routes, aswell as a Bulk UUID Lookup which would allow me to request for multiple users data at once, yk ontop of the recap system it'd be cool to have a system that allowed us to view active games and current winstreaks, maybe extend that into a 'Live Session' endpoint that shows who is currently in a match together
 
What would be the intent of live session endpoint? As well as active games
Live session endpoint would help me track real time data and Active games would let me build a sort of makeshift spec system of a player based on the UUIDs connected to an active game
 
Live session endpoint would help me track real time data and Active games would let me build a sort of makeshift spec system of a player based on the UUIDs connected to an active game
Ehh I'm not sure if that would be a good idea - personally I'd rather have data that isn't current

Depending on how the thread / suggestion goes, I'll see if I can get more implemented (no promises though), I support and encourage players creating services, communities and just in general anything that might help them - so if there is anything like this that I can help with, feel free to suggest

It's also on our TODO list to make a better Bots Abuse rule, the current one is okay but we could expand it more to specify more details and show clear intent
 

Top