FORTNITE REST API
  1. Stats
FORTNITE REST API
  • Check
    • Get Fortnite game status
      GET
  • News
    • Get Fortnite News
      GET
  • Security
    • Get a Bearer token
      POST
  • PVE
    • Get Fortnite PVE Info (storm, etc)
      GET
    • Get PVE Stat by given username
      GET
  • Stats
    • Get user's stats by user id
      GET
    • Get user's stats by username
      GET
  • Store
    • Get Fortnite Store
      GET
  • User
    • Get a user by username
      GET
  1. Stats

Get user's stats by user id

GET
/stats/id/{plateform}/{id}
Stats
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://skynewz-api-fortnite.herokuapp.com/api/stats/id//'
Response Response Example
200 - Example 1
{
  "group": {
    "duo": {
      "k/d": 0,
      "kills": 0,
      "killsPerMatch": "string",
      "killsPerMin": "string",
      "score": 0,
      "timePlayed": "string",
      "top10": 0,
      "top12": 0,
      "top25": 0,
      "top3": 0,
      "top5": 0,
      "top6": 0,
      "win%": 0,
      "wins": 0
    },
    "solo": {
      "k/d": 0,
      "kills": 0,
      "killsPerMatch": "string",
      "killsPerMin": "string",
      "score": 0,
      "timePlayed": "string",
      "top10": 0,
      "top12": 0,
      "top25": 0,
      "top3": 0,
      "top5": 0,
      "top6": 0,
      "win%": 0,
      "wins": 0
    },
    "squad": {
      "k/d": 0,
      "kills": 0,
      "killsPerMatch": "string",
      "killsPerMin": "string",
      "score": 0,
      "timePlayed": "string",
      "top10": 0,
      "top12": 0,
      "top25": 0,
      "top3": 0,
      "top5": 0,
      "top6": 0,
      "win%": 0,
      "wins": 0
    }
  },
  "info": {
    "accountId": 0,
    "plateform": "string",
    "username": "string"
  },
  "lifetimeStats": {
    "k/d": 0,
    "kills": 0,
    "killsPerMatch": "string",
    "killsPerMin": "string",
    "score": 0,
    "timePlayed": "string",
    "top10": 0,
    "top12": 0,
    "top25": 0,
    "top3": 0,
    "top5": 0,
    "top6": 0,
    "win%": 0,
    "wins": 0
  }
}

Request

Path Params
plateform
string 
required
Playing plateform, can be xb1, ps4 or pc
id
string 
required
Player ID

Responses

🟢200JSON Object of user stats
application/json
Body
group
object 
optional
Stats on solo, duo or squad
duo
object 
optional
solo
object 
optional
squad
object 
optional
info
object 
optional
Display user info
accountId
integer 
optional
plateform
string 
optional
username
string 
optional
lifetimeStats
object 
optional
k/d
number 
optional
Ratio Kill/Dead
kills
integer 
optional
Number of kills
killsPerMatch
string 
optional
Number of kill/match
killsPerMin
string 
optional
Number of kill/minute
score
integer 
optional
timePlayed
string 
optional
Number of days, hours and minutes played
top10
integer 
optional
Number of top10
top12
integer 
optional
Number of top12
top25
integer 
optional
Number of top25
top3
integer 
optional
Number of top3
top5
integer 
optional
Number of top5
top6
integer 
optional
Number of top6
win%
number 
optional
Wins ratio
wins
integer 
optional
Number of top1
🟠400Please precise a good platform: ps4/xb1/pc
🟠404User not found or not found on this plateform
🔴500Unexpected error
Previous
Get PVE Stat by given username
Next
Get user's stats by username
Built with