IGDB.com API

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

Overview

IGDB.com API is a comprehensive video game database with over 200,000 games, covering metadata like genres, release dates, ratings, screenshots, and more. You authenticate using a Twitch OAuth token alongside your client credentials. It is the go-to API for building game libraries, discovery apps, or review aggregators.

💡

Beginner Tip

You must first get a Twitch Developer client ID and secret, then exchange them for a Bearer token at id.twitch.tv/oauth2/token before making any IGDB requests.

Available Data

Use case: Integrate video game database data into web and mobile applications
IGDB.com data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "id": 1,
  "name": "IGDB.com",
  "data": "Video Game Database",
  "source": "IGDB.com"
}

Field Reference

id Unique IGDB identifier for the game.
name Official title of the game.
rating Aggregated user rating on a scale of 0 to 100.
genres List of genre IDs associated with the game; expand with a separate genres endpoint.
first_release_date Unix timestamp of the game first release date.
cover ID referencing the cover image; use the covers endpoint to get the image URL.

Implementation Example

const url = "https://api-docs.igdb.com/";
// 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 expired Bearer token in the Authorization header.
Re-fetch the access token from id.twitch.tv/oauth2/token and include it as Authorization: Bearer YOUR_TOKEN.
400 Bad Request Malformed Apicalypse query syntax in the POST body.
Check your query syntax — fields, where, limit, and sort must end with semicolons (e.g., fields name; limit 10;).
Empty results array The filter conditions in the where clause matched no records.
Simplify or remove the where clause and add it back incrementally to identify the problematic filter.

Matrix Score Breakdown

🌐 Reachability 0/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 0/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 →