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 anyThe 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:
jq -r '.files[] | "\(.sha256) \(.path)"' manifest.json | sha256sum -cjq -r '.files[] | "\(.sha256) \(.path)"' manifest.json | shasum -a 256 -cEvery 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.gzsqlite3 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 20Prices 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 20Secret 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 10CSV
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 3To 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:
- Upsert the records. Every
{table}.ndjson.gzholds 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. - Apply the removals. In
changes.ndjson.gz, adelistedchange names a key. If this delta has a record for that key, the upsert already carries the flag (delisted_at,removed_atorleft_at). If it has none, the row no longer exists at the source, so delete it from your copy. - Replace media as a group. A
product_mediachange names aproduct_idand alanguage(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 stableidbetween 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
| Type | NDJSON | CSV | SQLite |
|---|---|---|---|
text | string | text | TEXT |
int | number | digits | INTEGER |
bool | true / false | true / false | INTEGER 1 / 0 |
numeric | number without trailing zeros | decimal text | REAL |
ts | ISO 8601 UTC string, 2026-11-24T10:30:00Z | the same | TEXT, the same |
date | YYYY-MM-DD | the same | TEXT, the same |
json | a JSON value | JSON text | TEXT (JSON text) |
uuid | string | text | TEXT |
languages
The Store language tags the snapshot covers (the configured text and achievement languages). Primary key: code.
| Column | Type | Key |
|---|---|---|
code | text | key |
name | text | |
rtl | bool |
markets
The markets the snapshot has offers or Game Pass data for. storefront_code is the price group. Primary key: code.
| Column | Type | Key |
|---|---|---|
code | text | key |
name | text | |
currency | text | |
storefront_code | text | |
active | bool | |
priced | bool |
storefronts
The price groups (several markets share one) behind the snapshot's offers. Primary key: code.
| Column | Type | Key |
|---|---|---|
code | text | key |
representative_market | text | |
currency | text | |
priced | bool |
titles
Xbox titles (modern and Xbox 360). family is modern or xbox360; Xbox 360 titles are in every full snapshot. Primary key: title_id.
| Column | Type | Key |
|---|---|---|
title_id | int | key |
hex_id | text | |
family | text | |
platforms | json | |
source_version | int | |
scid | uuid | |
product_id | text | |
modern_title_id | int | |
name_fallback | text | |
boxart_url | text | |
release_date | date | |
total_achievements | int | |
total_gamerscore | int | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts |
achievements
Achievement definitions per title. Names and descriptions are in achievement_localizations. Primary key: title_id, achievement_id.
| Column | Type | Key |
|---|---|---|
title_id | int | key |
achievement_id | text | key |
type | text | |
progression | text | |
gamerscore | int | |
is_secret | bool | |
is_revoked | bool | |
rewards | json | |
platforms | json | |
image_id | int | |
released_at | ts | |
rarity_pct | numeric | |
rarity_category | text | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts |
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.
| Column | Type | Key |
|---|---|---|
title_id | int | key |
achievement_id | text | key |
language | text | key |
name | text | |
locked_desc | text | |
unlocked_desc | text | |
icon_url | text | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts |
products
Store products: games, DLC, bundles and demos. markets lists where the Store sells it. Primary key: id.
| Column | Type | Key |
|---|---|---|
id | text | key |
kind | text | |
product_type | text | |
parent_product_id | text | |
platforms | json | |
markets | json | |
release_date | ts | |
minimum_user_age | int | |
publisher | text | |
developer | text | |
category | text | |
xbox_title_id | int | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts | |
delisted_at | ts |
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.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
language | text | key |
title | text | |
short_title | text | |
short_desc | text | |
long_desc | text | |
keywords | json | |
features | json | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts |
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.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
storefront_code | text | key |
sku_id | text | key |
availability_id | text | key |
sku_type | text | |
currency | text | |
msrp | numeric | |
list_price | numeric | |
starts_at | ts | |
ends_at | ts | |
is_purchasable | bool | |
actions | json | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts | |
removed_at | ts |
product_ratings
Age ratings per product and rating system (the same in every market). Primary key: product_id, system.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
system | text | key |
rating | text | |
rating_id | text | |
descriptors | json | |
disclaimers | json | |
interactive_elements | json | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts |
product_media
Image and video URLs per product. language is empty for media shared by every language. Primary key: id.
| Column | Type | Key |
|---|---|---|
id | int | key |
product_id | text | |
language | text | |
type | text | |
external_id | text | |
url | text | |
width | int | |
height | int | |
sort | int | |
first_seen_at | ts | |
last_seen_at | ts |
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.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
related_product_id | text | key |
type | text | key |
display_rank | int | |
is_primary | bool | |
first_seen_at | ts | |
last_seen_at | ts | |
last_changed_at | ts | |
removed_at | ts |
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.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
market | text | key |
collection | text | key |
collection_type | text | |
first_seen_at | ts | |
last_seen_at | ts | |
left_at | ts | |
last_changed_at | ts |
product_title
Links between Store products and Xbox titles (many to many). Primary key: product_id, title_id.
| Column | Type | Key |
|---|---|---|
product_id | text | key |
title_id | int | key |
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.