The Zelda API is a cool open source API that provides information about the greatest game franchise out there: The Legend of Zelda. 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.
I'm proud to announce a new version of this API! Check the blog notes to see what's new.
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://zelda.fanapis.com/api/graphql and play around with the data.
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:
Example REQUEST (GRAPHQL)
Let's retrieve a monster called "Lizalfos", I want this API to return its
description and which games this monster is featured. So let's make a POST request with the following GraphQL body:
Then the GraphQL API will return:
Pretty easy, huh? Go to https://zelda.fanapis.com/api/graphql and use the data for your project as you like
Fair Use Policy
Zelda 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 Zelda fansites and wikis. If you find some issue or incorrect data, feel free to open an issue on this link