The Elden Ring is a cool open source API that provides information about this amazing game released by FromSoftware in 2022. In this section you will be guided with basics steps on how to properly use this API. This API is open, so it doesn't require an API key to use it. Also, please give us a star on our official github repository and feel free to post issues there.
Example REQUEST (REST)
Since this API doesn't require you to provide an API key, it's extremely easy to use. Feel free to explore our documentation and test routes! Let's retrieve a list of all released games with the following route:
GraphQL is an open-source data query and manipulation language created by Facebook in 2015. It provides a more efficient and scalable way to access and update data compared to traditional REST API endpoints.
GraphQL allows clients to specify the exact data they need from servers, reducing the number of requests and bandwidth needed. Servers can also batch multiple queries into a single request, improving performance. You can get started by visiting https://eldenring.fanapis.com/api/graphql and play around with the data.
Example REQUEST (GRAPHQL)
Let's retrieve a monster called "Giant Lobster", I want this API to return its
location and an
image. So let's make a POST request with the following GraphQL body:
Then the GraphQL API will return:
Pretty easy, huh? Go to https://eldenring.fanapis.com/api/graphql and use the data for your project as you like
Fair Use Policy
Elden Ring API is free and open to use. Because of this, we humbly ask developers to use it fairly and not spam it. This is an educational service so please do not harm others.
The data available on this API was scraped from other Elden Ring fansites and wikis. If you find some issue or incorrect data, feel free to open an issue on this link