Warning
Unfortunately, Fly have significantly increased their prices which means I can no longer host this API.
Blizzard doesn't have an official API for getting Overwatch player data. They do have a website which shows some limited data but it's not easily machine-readable.
So I built my own.
To use it, make a GET
request to /v1/player/Zusor-2553
.
To learn more, check out the interactive docs.
There are some other unofficial APIs which inspired this project (ow-api and the now-defunct ovrstat), but they're missing some new Overwatch 2 features and include a lot of data that I don't need.
I also used this project as a way to learn Rust and tried to focus on making it as fast as possible. Workers are distributed globally (using fly.io) to minimize latency and player data is cached for 10 minutes.
The code is MIT-licensed and available at GitHub.