WarZone stats API


I was able to use the link below to make a command to display my stats. But I have a questions! (and the thread below is closed)


Is there a way to add just BR stats? I notice it has the same “value” so im not sure how to determine which stat is should be pulling…

If you need more info or if I need to explain better, please let me know!!

Hey @xMrMcGuirex!

You might have missed it, but I explained it here:

If you want the warzone lifetime overview data of your profile keep using segments[0] , if you want only the battle royale data use segments[1] , and if you want only the DMZ/Plunder data use segments[2] .

If you don’t understand how to apply it, let me know.


Ah, must have, thank you!! One more question, can you have multiple segments in one command or would you have to have a command for each game mode?

Yes you can have multiple segments in one command, in our case here you’d do it this way:

$(eval a=$(urlfetch json https://api.tracker.gg/api/v2/warzone/standard/profile/PLATFORM/USERNAME/).data; b=a.segments[0].stats; c=a.segments[1].stats;)

Awesome, thank you so much for the help!!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.