[API v2] - WotLK Classic CharacterData

Hi guys, I’m having trouble trying to retrieve the data of classic characters when using the name, serverSlug and serverRegion parameters. For example, executing the query below:

query GetCharacterRankings {
  characterData {
    character(name: "Akimbro", serverSlug: "faerlina", serverRegion: "us")  {			
      name
      zoneRankings
    }
  }
}

I get this response

{
  "data": {
    "characterData": {
      "character": null
    }
  }
}

When passing a retail character the request also works. The only way I manage to get this working in classic is using the character id.
Is there anything that I’m missing?

Hi there, make sure you’re hitting the correct domain, so for classic data you need to use classic.warcraftlogs.com

1 Like

Hi Vel, thanks for helping me out

I’ve tried using the domain you provided but it doesn’t seem like a valid graphql endpoint.

I’ve been using https://www.warcraftlogs.com/api/v2/client and was able to retrieve the data from classic, just having issues with the characterData query when using the name parameter

Remove the www :slight_smile: It’s just https://classic.warcraftlogs.com/

Well, that’s kinda embarassing :stuck_out_tongue_winking_eye:

Thanks for the help, Vel.