egdata API

Get started

Make your first request to the egdata API.

The egdata API provides public Epic Games Store catalog, price, promotion, and change data as JSON. The production base URL is https://api.egdata.app.

Fetch an offer by its catalog offer ID:

const response = await fetch(
  "https://api.egdata.app/offers/offer-id?locale=en-US",
);

if (!response.ok) {
  throw new Error(`egdata returned ${response.status}`);
}

const offer = await response.json();
console.log(offer.title);

A successful response includes the offer ID and its catalog details:

{ "id": "offer-id", "title": "Example Game", "locale": "en-US" }

Offer IDs come from search results or the Epic catalog. Responses are JSON; check the HTTP status before reading a response as successful. If an ID is unknown, the API returns 404.

Start with Find games, then use Game details to load offers, items, and their relationships. See Request essentials for country, locale, pagination, and error behavior.