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

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

Use case: Integrate video game database data into web and mobile applications
IGDB.com data via REST API

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "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

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://api.igdb.com/v4/games";
// 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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

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.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Games & Comics
Difficulty Intermediate
Listing details not endpoint-verified

Similar APIs

View All →