Skip to content
XboxDB

How to use XboxDB data

XboxDB data dumps are plain files you open with tools you already have: a SQLite database with full-text search, NDJSON for jq and CSV for spreadsheets. This page shows how to use them.

XboxDB isn't a full or complete copy of the Xbox Store, and some details may be out of date or wrong. It's a starting point for your next project.

The data dumps are part of the paid launch and are not on sale yet. Until then this page shows what they will contain. To hear when they are ready, write to us through the contact page.

Snapshots and deltas

A snapshot is a full copy of the catalog and achievement data, taken at one instant, so every file in it agrees with every other. A new one is published once a month, after the full re-crawl and its quality checks.

A delta is a patch for a snapshot: the changes detected since the previous delta, plus the current full record of everything that changed. One is published each day. Apply the deltas in order to keep a snapshot current until the next one arrives.

Both come in three formats, so you can pick the one your tools read best: SQLite (one database file with indexes and full-text search), NDJSON (one JSON object per line) and CSV (for spreadsheets and quick imports). Everything is gzip-compressed, so no extra tool is needed beyond gunzip.

Folder layout

A snapshot lives in snapshots/{YYYY-MM-DD}/ (the UTC day it was taken) and a delta in deltas/{YYYY-MM-DD}/. All the commands below assume you are inside such a folder.

snapshots/2026-12-01/
  manifest.json                 what is in the snapshot, with a sha256 for every file
  README.md                     the layout, the scope and the licence summary
  schema.json                   every table, its columns, types and primary key
  ndjson/{table}.ndjson.gz      one file per table
  csv/{table}.csv.gz            one file per table ...
  csv/{table}/{language}.csv.gz ... except the two localization tables: one file per language
  sqlite/xboxdb.sqlite.gz       every table, indexes and two FTS5 search tables

deltas/2026-12-02/
  manifest.json                 the window it covers, the snapshot or delta it follows, sha256 of every file
  README.md                     how to apply it
  changes.ndjson.gz             one line per change (what changed, when)
  {table}.ndjson.gz             the current full record of every changed key, one file per table that has any

The manifest and checksums

manifest.json is written last, and a folder without one is not a snapshot. It names the schema version, the crawl settings the snapshot covers (languages, markets), the rows per table and, for each file, its path, format, row count, sizes and sha256. The hash is of the file as stored, the .gz. Check them all in one go:

Linux
jq -r '.files[] | "\(.sha256)  \(.path)"' manifest.json | sha256sum -c
macOS
jq -r '.files[] | "\(.sha256)  \(.path)"' manifest.json | shasum -a 256 -c

Every line should end in OK. A delta has the same manifest layout, plus its window (delta.since, delta.until) and follows, the snapshot or delta it applies after.

SQLite

The quickest way in. Unpack the database (-k keeps the .gz) and open it with the sqlite3 shell, or with any SQLite library:

gunzip -k sqlite/xboxdb.sqlite.gz
sqlite3 sqlite/xboxdb.sqlite ".tables"

There is one table per entity (see the schema reference), each with its primary key and indexes. There are no foreign keys, because rows are filtered by language and market and a relation can name a product that is not in the file. Booleans are 1 and 0, timestamps are ISO 8601 text in UTC and json columns are JSON text you read with json_extract and json_each. A product has one row per language in product_localizations, so most queries start with a language.

A game with its achievements

A Store product links to its Xbox title through product_title, and a title owns the achievements:

select l.title, a.achievement_id, al.name, al.unlocked_desc, a.gamerscore
from product_localizations l
join product_title pt on pt.product_id = l.product_id
join achievements a on a.title_id = pt.title_id
join achievement_localizations al
  on al.title_id = a.title_id and al.achievement_id = a.achievement_id and al.language = 'en-US'
where l.language = 'en-US' and l.title = 'Halo Infinite'
order by a.gamerscore desc
limit 20;

Prices per market

Offers are stored per storefront, the price group several markets share. markets.storefront_code tells you which group a market belongs to. A removed offer keeps its row with removed_at set, so leave those out when you want what is on sale now:

select m.code as market, o.currency, o.sku_type, o.msrp, o.list_price
from product_localizations l
join product_offers o on o.product_id = l.product_id
join markets m on m.storefront_code = o.storefront_code
where l.language = 'en-US' and l.title = 'Halo Infinite'
  and o.removed_at is null and o.is_purchasable = 1
order by m.code, o.list_price;

Searching product titles

products_fts is an FTS5 table over product titles (all languages; language is stored but not indexed, so filter on it). Words are matched without regard to case or accents, and * makes a prefix:

select product_id, language, title from products_fts where products_fts match 'halo' order by rank limit 10;
select product_id, title from products_fts where products_fts match 'hal*' and language = 'en-US' order by rank limit 10;

Searching achievements

achievements_fts does the same for achievement names. Put a phrase in double quotes:

select title_id, achievement_id, name
from achievements_fts
where achievements_fts match '"finish the fight"'
order by rank
limit 10;

Game Pass, platforms and Xbox 360

Game Pass membership is per market and collection; a product that left keeps its row with left_at set:

select l.title, g.collection
from product_gamepass g
join product_localizations l on l.product_id = g.product_id and l.language = 'en-US'
where g.market = 'US' and g.left_at is null
order by l.title
limit 20;

Lists such as platforms are JSON text, and json_each turns them into rows:

select value as platform, count(*) as products
from products, json_each(products.platforms)
where kind = 'game'
group by value
order by products desc;

Xbox 360 titles are in every full snapshot, in titles with family = 'xbox360'. They have achievements but no Store product or offers:

select title_id, name_fallback, total_achievements, total_gamerscore from titles where family = 'xbox360' and name_fallback like 'Halo%' order by name_fallback;

NDJSON

One JSON object per line with every column present (null when empty), and json columns as real JSON. It streams, so a file of any size works with jq and a line-by-line reader:

gunzip -c ndjson/products.ndjson.gz | head -n 1 | jq .
gunzip -c ndjson/product_localizations.ndjson.gz | jq -r 'select(.language == "en-US") | [.product_id, .title] | @tsv' | head -n 20

Prices are numbers in the offer's currency. Offers that are cheaper than their list price:

gunzip -c ndjson/product_offers.ndjson.gz | jq -c 'select(.list_price != null and .msrp != null and .list_price < .msrp) | {product_id, storefront_code, currency, msrp, list_price}' | head -n 20

Secret achievements are marked, so you can leave them out of a spoiler-free list:

gunzip -c ndjson/achievements.ndjson.gz | jq -c 'select(.is_secret == false) | {title_id, achievement_id, gamerscore}' | head -n 10

CSV

RFC 4180 with a header row, UTF-8. An empty field means null or an empty string; booleans are true and false; json columns are JSON text. The two localization tables are split per language, so each file stays small enough for a spreadsheet: csv/product_localizations/en-US.csv.gz, csv/achievement_localizations/en-US.csv.gz and so on. The language is still a column.

gunzip -c csv/products.csv.gz | head -n 3

To open a file in a spreadsheet, unpack it (gunzip -k csv/product_localizations/en-US.csv.gz) and import the .csv. To load one into SQLite instead:

gunzip -c csv/products.csv.gz > products.csv
sqlite3 products.db ".import --csv products.csv products" "select count(*) from products;"

Applying a delta to a snapshot

Deltas apply in order, starting with the first one whose window begins at or before your snapshot's snapshot_at (each delta's follows names the one before it; the first overlaps the snapshot by a few minutes on purpose, and applying a record twice is harmless). For each delta:

  1. Upsert the records. Every {table}.ndjson.gz holds the current full record of each key that changed, with the same columns as the snapshot. Insert it, or replace the row with the same primary key.
  2. Apply the removals. In changes.ndjson.gz, a delisted change names a key. If this delta has a record for that key, the upsert already carries the flag (delisted_at, removed_at or left_at). If it has none, the row no longer exists at the source, so delete it from your copy.
  3. Replace media as a group. A product_media change names a product_id and a language (null for media shared by every language). Delete your media rows for that pair, then insert the delta's media records. Media rows have no stable id between files, so never match on it.

Each line of changes.ndjson.gz looks like this (values holds short values only; a long description is named in changed, not repeated):

{"entity":"product_offers","key":{"product_id":"9NBLGGH4PNC1","storefront_code":"US1","sku_id":"0010","availability_id":"9H2MXT3RKQ9R"},"change":"updated","changed":["list_price"],"values":{"list_price":{"from":"59.99","to":"29.5"}},"at":"2026-11-24T05:12:09Z"}

A complete recipe for a SQLite snapshot, in Python 3 with nothing to install. It takes the snapshot folder (for schema.json), the delta folder and the unpacked database:

import gzip, json, sqlite3, sys
from pathlib import Path

snapshot, delta, database = Path(sys.argv[1]), Path(sys.argv[2]), sys.argv[3]
schema = json.loads((snapshot / "schema.json").read_text())["entities"]
db = sqlite3.connect(database)

def read(path):
    with gzip.open(path, "rt", encoding="utf-8") as lines:
        for line in lines:
            yield json.loads(line)

def key_of(entity, values):
    return tuple(values[column] for column in schema[entity]["primary_key"])

def cell(value):  # JSON columns are stored as JSON text
    return json.dumps(value, ensure_ascii=False) if isinstance(value, (dict, list)) else value

changes = list(read(delta / "changes.ndjson.gz"))
present = set()
with db:
    # 3. media is replaced as a (product, language) group
    for c in changes:
        if c["entity"] == "product_media":
            db.execute("delete from product_media where product_id = ? and language is ?",
                       (c["key"]["product_id"], c["key"].get("language")))
    # 1. upsert the current record of every changed key
    for path in sorted(delta.glob("*.ndjson.gz")):
        entity = path.name.removesuffix(".ndjson.gz")
        if entity == "changes":
            continue
        columns = list(schema[entity]["columns"])
        sql = f'insert or replace into "{entity}" ({", ".join(columns)}) values ({", ".join("?" * len(columns))})'
        for record in read(path):
            present.add((entity, key_of(entity, record)))
            if entity == "product_media":
                record["id"] = None  # let SQLite number it: ids are not stable between files
            db.execute(sql, [cell(record[column]) for column in columns])
    # 2. a delisted key without a record is gone at the source
    for c in changes:
        entity = c["entity"]
        if c["change"] == "delisted" and entity != "product_media" and (entity, key_of(entity, c["key"])) not in present:
            where = " and ".join(f'"{column}" = ?' for column in schema[entity]["primary_key"])
            db.execute(f'delete from "{entity}" where {where}', key_of(entity, c["key"]))

The two FTS5 search tables are not touched by that recipe. Rebuild them after a batch of deltas:

delete from products_fts;
insert into products_fts (product_id, language, title, short_title)
  select product_id, language, coalesce(title, ''), coalesce(short_title, '') from product_localizations;
delete from achievements_fts;
insert into achievements_fts (title_id, achievement_id, language, name)
  select title_id, achievement_id, language, coalesce(name, '') from achievement_localizations;

Xbox 360 titles and their achievements never appear in a delta. They only change in a full snapshot.

Schema reference

This reference is generated from the same definition the files are written from. Schema version 1. The version is in manifest.json and schema.json, and it changes whenever a column is added, removed, renamed or changes meaning. Only the columns listed here are ever exported; internal bookkeeping (content hashes, fetch queues, crawl state) is not.

The timestamps first_seen_at, last_seen_at, last_changed_at, delisted_at, removed_at and left_at tell you when a row appeared, was last confirmed, changed or went away.

Column types

TypeNDJSONCSVSQLite
textstringtextTEXT
intnumberdigitsINTEGER
booltrue / falsetrue / falseINTEGER 1 / 0
numericnumber without trailing zerosdecimal textREAL
tsISO 8601 UTC string, 2026-11-24T10:30:00Zthe sameTEXT, the same
dateYYYY-MM-DDthe sameTEXT, the same
jsona JSON valueJSON textTEXT (JSON text)
uuidstringtextTEXT

languages

The Store language tags the snapshot covers (the configured text and achievement languages). Primary key: code.

ColumnTypeKey
codetextkey
nametext
rtlbool

markets

The markets the snapshot has offers or Game Pass data for. storefront_code is the price group. Primary key: code.

ColumnTypeKey
codetextkey
nametext
currencytext
storefront_codetext
activebool
pricedbool

storefronts

The price groups (several markets share one) behind the snapshot's offers. Primary key: code.

ColumnTypeKey
codetextkey
representative_markettext
currencytext
pricedbool

titles

Xbox titles (modern and Xbox 360). family is modern or xbox360; Xbox 360 titles are in every full snapshot. Primary key: title_id.

ColumnTypeKey
title_idintkey
hex_idtext
familytext
platformsjson
source_versionint
sciduuid
product_idtext
modern_title_idint
name_fallbacktext
boxart_urltext
release_datedate
total_achievementsint
total_gamerscoreint
first_seen_atts
last_seen_atts
last_changed_atts

achievements

Achievement definitions per title. Names and descriptions are in achievement_localizations. Primary key: title_id, achievement_id.

ColumnTypeKey
title_idintkey
achievement_idtextkey
typetext
progressiontext
gamerscoreint
is_secretbool
is_revokedbool
rewardsjson
platformsjson
image_idint
released_atts
rarity_pctnumeric
rarity_categorytext
first_seen_atts
last_seen_atts
last_changed_atts

achievement_localizations

Achievement names and descriptions, one row per achievement and language. Primary key: title_id, achievement_id, language. In CSV this table is split into one file per language. Searchable through achievements_fts in SQLite.

ColumnTypeKey
title_idintkey
achievement_idtextkey
languagetextkey
nametext
locked_desctext
unlocked_desctext
icon_urltext
first_seen_atts
last_seen_atts
last_changed_atts

products

Store products: games, DLC, bundles and demos. markets lists where the Store sells it. Primary key: id.

ColumnTypeKey
idtextkey
kindtext
product_typetext
parent_product_idtext
platformsjson
marketsjson
release_datets
minimum_user_ageint
publishertext
developertext
categorytext
xbox_title_idint
first_seen_atts
last_seen_atts
last_changed_atts
delisted_atts

product_localizations

Product text, one row per product and language. Primary key: product_id, language. In CSV this table is split into one file per language. Searchable through products_fts in SQLite.

ColumnTypeKey
product_idtextkey
languagetextkey
titletext
short_titletext
short_desctext
long_desctext
keywordsjson
featuresjson
first_seen_atts
last_seen_atts
last_changed_atts

product_offers

Prices and availability per product, storefront (price group), SKU and availability. A removed availability keeps removed_at. Primary key: product_id, storefront_code, sku_id, availability_id.

ColumnTypeKey
product_idtextkey
storefront_codetextkey
sku_idtextkey
availability_idtextkey
sku_typetext
currencytext
msrpnumeric
list_pricenumeric
starts_atts
ends_atts
is_purchasablebool
actionsjson
first_seen_atts
last_seen_atts
last_changed_atts
removed_atts

product_ratings

Age ratings per product and rating system (the same in every market). Primary key: product_id, system.

ColumnTypeKey
product_idtextkey
systemtextkey
ratingtext
rating_idtext
descriptorsjson
disclaimersjson
interactive_elementsjson
first_seen_atts
last_seen_atts
last_changed_atts

product_media

Image and video URLs per product. language is empty for media shared by every language. Primary key: id.

ColumnTypeKey
idintkey
product_idtext
languagetext
typetext
external_idtext
urltext
widthint
heightint
sortint
first_seen_atts
last_seen_atts

product_relations

Bundle contents, edition bases and add-on parents. related_product_id may name a product the snapshot does not have. A relation the Store dropped keeps removed_at. Primary key: product_id, related_product_id, type.

ColumnTypeKey
product_idtextkey
related_product_idtextkey
typetextkey
display_rankint
is_primarybool
first_seen_atts
last_seen_atts
last_changed_atts
removed_atts

product_gamepass

Game Pass membership per product, market and collection. A product that left a collection keeps left_at. Primary key: product_id, market, collection.

ColumnTypeKey
product_idtextkey
markettextkey
collectiontextkey
collection_typetext
first_seen_atts
last_seen_atts
left_atts
last_changed_atts

product_title

Links between Store products and Xbox titles (many to many). Primary key: product_id, title_id.

ColumnTypeKey
product_idtextkey
title_idintkey

Licence

A summary of the terms that come with a download. The full terms will be published before the dumps go on sale.

  • The data is provided as is, with no warranty of accuracy, completeness or availability.
  • You may use it for any purpose, commercial included: websites, apps, tools, analysis, internal systems, and modified or derived datasets.
  • The one restriction: you may not redistribute the data as raw dump files or as a substantially complete copy of the dataset. That covers selling it and giving it away for free (for example publishing it on GitHub, torrents or file hosts). Showing the data inside your own sites and apps is fine.
  • Each download may carry a per-account fingerprint, so a redistributed copy can be traced to the account that received it.
  • Microsoft owns the underlying content (names, descriptions, art URLs). The licence covers xboxdb.dev's compilation and makes no claim over Microsoft's rights.

About this data

XboxDB isn't a full or complete copy of the Xbox Store, and some details may be out of date or wrong. It's a starting point for your next project.

The data comes from public Xbox and Microsoft sources. It is checked automatically, not by hand, so a title, price, release date or achievement can be missing, late or wrong. If you find a mistake, tell us at [email protected] and we will look at it. Corrections are welcome.

Not affiliated with or endorsed by Microsoft. Xbox is a trademark of Microsoft Corporation.

XboxDB isn't a full or complete copy of the Xbox Store, and some details may be out of date or wrong. It's a starting point for your next project.

XboxDB