API URL Formatting

I am trying to get my achievement data from Starcraft 2 and Diablo 3. I have the OAuth stuff figured out, but I am having trouble getting game specific data. I think my API formatting is incorrect.

I am able to get my account ID and battletag using https://oauth.battle.net/userinfo. When I try to get my player data using the account ID returned, I receive a 404 error. Here is what I am using: https://us.api.blizzard.com/sc2/player/{accountID}

I receive the same 404 error when using the battletag to get profile information from Diablo 3: https://us.api.blizzard.com/d3/profile/{battleTag}

Am I formatting the API URLs correctly?

d3 achievements are not exposed from what i gather

also remember you need the trailing / at the end like this

https://us.api.blizzard.com/d3/profile/ulminia%231676/?locale=en_US&access_token=

your battle tag MUST be passed exactly as it is from the account “Ulminia#1676” passing with a lower case ‘u’ fails for me

1 Like

Shoot, I did not notice that about D3 achievements.

Thanks, you helped me out a lot!