RAWG Video Games Database

FREE
By RAWG | Updated 7 days ago | Gaming
Popularity

9.7 / 10

Latency

499ms

Service Level

95%

Health Check

N/A

Back to All Discussions

API key

Rapid account: Denys Pavlenko
DenysPavlenko
3 years ago

Hi there,
I canโ€™t figure out how to add API key with every request. I am using js fetch and I am not sure where I should attach that key. Thanks!

Rapid account: Accujazz
accujazz Commented 3 years ago

Hi Denys
Please refer to https://rawg.io/apidocs and the official documentation for examples. In short, you need to do something like this for every request:
GET https://api.rawg.io/api/platforms?key=YOUR_API_KEY
GET https://api.rawg.io/api/games?key=YOUR_API_KEY&dates=2019-09-01,2019-09-30&platforms=18,1,7
If you have more specific questions, please donโ€™t hesitate to send an email to api@rawg.io.

Join in the discussion - add comment below:

Login / Signup to post new comments