RAWG.io API

Games & Comics / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

RAWG.io is a massive video game database API with over 500,000 games across 50 platforms, including PC, consoles, and mobile. It lets you search games by genre, platform, or rating and retrieve detailed metadata like release dates and screenshots. An API key is required but free for up to 20,000 monthly requests.

💡

Beginner Tip

Register at rawg.io to get a free API key, then append ?key=YOUR_API_KEY to every request. Start with the /games endpoint to search by name or filter by platform.

Available Data

RAWG.io data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "id": 1,
  "name": "RAWG.io",
  "data": "500,000+ games for 50 platforms including mobiles",
  "source": "RAWG.io"
}

Field Reference

id Unique RAWG identifier for the game
name Full title of the game
released Release date in YYYY-MM-DD format
rating Average user rating on a 0-5 scale
platforms List of platforms the game is available on, each with name and slug
background_image URL to the game cover or key art image

Implementation Example

const url = "https://rawg.io/apidocs";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid API key
Make sure you include ?key=YOUR_API_KEY in every request URL
429 Too Many Requests Exceeded the 20,000 requests/month free tier limit
Check your usage on the RAWG dashboard and upgrade your plan if needed
Empty results array Search term too specific or misspelled game title
Try a shorter search term or use the exact game title as listed on the platform

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Games & Comics
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →