Skip to content

RAWG.io API

by rawg.io

API keyHTTPSGames & Comics
Open documentation ↗

Overview

500,000+ games for 50 platforms including mobiles

RAWG.io is a games & comics API from rawg.io. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 30 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Base URL
https://api.rawg.io/api
Version
v1.0
Endpoints
30
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.rawg.io/api/creator-roles" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.rawg.io/api/creator-roles", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.rawg.io/api/creator-roles",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/creator-rolesGet a list of creator positions (jobs).
GET/creatorsGet a list of game creators.
GET/creators/{id}Get details of the creator.
GET/developersGet a list of game developers.
GET/developers/{id}Get details of the developer.
GET/gamesGet a list of games.
GET/games/{game_pk}/additionsGet a list of DLC's for the game, GOTY and other editions, companion apps, etc.
GET/games/{game_pk}/development-teamGet a list of individual creators that were part of the development team.
GET/games/{game_pk}/game-seriesGet a list of games that are part of the same series.
GET/games/{game_pk}/parent-gamesGet a list of parent games for DLC's and editions.
GET/games/{game_pk}/screenshotsGet screenshots for the game.
GET/games/{game_pk}/storesGet links to the stores that sell the game.
GET/games/{id}Get details of the game.
GET/games/{id}/achievementsGet a list of game achievements.
GET/games/{id}/moviesGet a list of game trailers.
GET/games/{id}/redditGet a list of most recent posts from the game's subreddit.
GET/games/{id}/suggestedGet a list of visually similar games, available only for business and enterprise API users.
GET/games/{id}/twitchGet streams on Twitch associated with the game, available only for business and enterprise API users.
GET/games/{id}/youtubeGet videos from YouTube associated with the game, available only for business and enterprise API users.
GET/genresGet a list of video game genres.
GET/genres/{id}Get details of the genre.
GET/platformsGet a list of video game platforms.
GET/platforms/lists/parentsGet a list of parent platforms.
GET/platforms/{id}Get details of the platform.
GET/publishersGet a list of video game publishers.
GET/publishers/{id}Get details of the publisher.
GET/storesGet a list of video game storefronts.
GET/stores/{id}Get details of the store.
GET/tagsGet a list of tags.
GET/tags/{id}Get details of the tag.

Questions

Does the RAWG.io API need an API key?

Yes. The RAWG.io API uses API key authentication; the documentation explains how to get credentials.

Does the RAWG.io API support HTTPS?

Yes, the RAWG.io API is served over HTTPS.

How many endpoints does the RAWG.io API have?

Its OpenAPI description lists 30 endpoints in version v1.0. All of them are shown on this page.

What are alternatives to the RAWG.io API?

Other Games & Comics APIs include xkcd, Chess.com, Scryfall, Riot Games, Lichess.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).