Learn how to authenticate to the largest video game database
Before making an API request, authentication is required. For RAWG, API Keys are necessary for authentication, enabling full utilization of the API.
To obtain a free RAWG API Key, follow these steps:
- Sign up for RAWG at the official webpage.
- After logging in, complete the developer info form with the required information. This process only takes a few seconds.
- Save the information and copy the API Key located at the bottom of the page.
This procedure grants you a free API key with a total of 50,000 requests. For a higher limit, explore other available paid plans.
When working with requests, ensure you use the correct API key. Failure to do so will result in a failed request, accompanied by a 401
error and an error message like this:
{"error": "The API key is not found"}
In the next section, you will delve deeper into errors and status codes when using the RAWG API.