genshin impact api
So, I wanted to mess around with some Genshin Impact data, you know, like character stats and stuff. Figured it would be a fun little project. I heard about this Genshin Impact API and thought, “Why not give it a shot?”
Finding the API
First things first, I needed to find this API. I did a little searching around, nothing too fancy, and pretty quickly I found it. I will be using a public free one this time.
Exploring the Endpoints
Once I checked the API, it was time to see what kind of data I could get my hands on. The place had a bunch of different endpoints, like:
- Characters
- Weapons
- Artifacts
- And a few others that didn’t really interest me at the moment.
I decided to start with the characters, I’m a fan of getting Ganyu’s details.
Getting Character Data
I wrote a super simple code to grab the character data. Nothing complicated, just a basic request to get all the characters. The API sent back a big chunk of data, all neatly organized. Each character had their name, element, weapon type, and a whole bunch of other stats.

Playing Around with the Data
Once I had the data, I did some playing around. I wanted to check certain characters. It’s all pretty basic stuff, but it was cool to see the data come to life.
Wrapping Up
Overall, it was a pretty smooth experience. The Genshin Impact API is well-organized, and getting the data I wanted was straightforward. I didn’t run into any major issues, I do get confused when finding the API at first. I might try some of the other endpoints later, like maybe checking out the weapons or artifacts. Who knows? This little experiment gave me a few more ideas for future projects, so that’s always a win.