API Directory › 🎮 Games › RAWG
API KeyHTTPSCORS

RAWG API

Huge video game database — 500k+ games with ratings, platforms and media.

Category
Auth
API Key
HTTPS
Yes
CORS
Yes
Open RAWG docs ↗

What it does

RAWG is a large video-game database API — 500,000+ games across every platform — with search, filtering by genre/platform/tag/date/rating, full game details, screenshots, trailers, stores, developer and publisher data, and ‘games like this’ suggestions.

Base URL

https://api.rawg.io/api

Authentication

Register for a free API key and pass it as ?key=YOUR_KEY. Free use requires attribution — a visible link back to rawg.io.

Code examples

curl
curl -s "https://api.rawg.io/api/games?search=hollow%20knight&page_size=3&key=$RAWG_KEY"
Python
import requests

r = requests.get("https://api.rawg.io/api/games", params={
    "genres": "role-playing-games-rpg", "ordering": "-rating",
    "dates": "2020-01-01,2026-01-01", "page_size": 5, "key": KEY}, timeout=10)
for g in r.json()["results"]:
    print(g["name"], g["rating"], g["released"])

Rate limits & quotas

Free plan: 20,000 requests/month. Over that returns HTTP 402/429. Lists paginate 20 per page (page_size up to 40) with next/previous URLs. Commercial use at scale requires a paid plan.

Key response fields

results[].id / slug / nameGame identity
results[].released / rating / metacriticDates and scores
results[].background_imageKey art URL
results[].platforms[].platform.name / genres[]Availability and classification
count / nextTotal matches and next-page URL

Common errors

401Missing or invalid key.
402 / 429Monthly request allowance exhausted.
404Unknown game id/slug.

When to use it (and alternatives)

The best free general-purpose games database for catalogues, ‘what should I play’ tools and collection trackers. For deep industry metadata (companies, franchises, game engines, release regions) IGDB goes further; for PC prices, CheapShark.

FAQ

Do I really have to show a RAWG link?

Yes — the free tier’s terms require visible attribution linking to rawg.io on any page that displays RAWG data. Paid plans can negotiate this.

How do I filter by multiple genres or platforms?

Pass comma-separated slugs: genres=action,indie, platforms=4,187 (PC, PS5). Get valid slugs/ids from /genres and /platforms.

Is there review or news content?

RAWG focuses on catalogue data. It links out to stores and has user ratings, but not editorial reviews or news feeds.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Games APIs

← Back

More Games APIs · All 196 APIs