Docs / Catalog
History and provenance
Where each fact came from, every change to an item, and a feed of changes to sync against.
Provenance
Each item's provenance says which source set each field, and when:
"provenance": {
"min_players": { "source": "wikidata", "url": "https://www.wikidata.org/wiki/Q17271", "at": "2026-10-05T03:17:19Z" },
"max_playtime": { "source": "shopify:catanshop.com", "url": "https://…", "at": "…" }
}GET /v1/sources lists every source with its kind (manufacturer, open_data, community, other), url, and license.
An item's history
curl "https://tablearchive.dev/v1/items/the-settlers-of-catan/history" -H "Authorization: Bearer $TA_KEY"Returns events, newest first, each with a type (created, updated, merged, photo_added, photo_removed), the changes as from/to pairs, who submitted and approved it, and the source. Takes limit and offset.
Syncing
To keep a copy up to date, poll the global feed, GET /v1/events, with the id of the last event you processed:
curl "https://tablearchive.dev/v1/events?after=14172&limit=200" -H "Authorization: Bearer $TA_KEY"With after, events come oldest first, so you can process them in order and store the last one's id. Without it, they come newest first.
Store the id of the last event in the response, not the largest number you saw. The feed is ordered by when each change first wrote to the database, and its event ids are handed out a little later, so ids in the feed do not always rise. In exchange, an event never turns up behind your cursor: newer changes wait until every change already in progress is saved. That is usually milliseconds, longer while something big runs, like a migration. Filter by type to watch only, say, photo_added.
Each event names its item_id, so a sync loop is: fetch events, collect the item ids, re-fetch those items (all at once with ids).
Two events need more than a re-fetch:
merged: a duplicate was folded into this item.changes.merged.idis the id that went away; anything you stored under it now belongs toitem_id.deleted: the item is gone for good, history and all. The event carries theitem_idand nothing else about it (no name, no slug). Drop it from your copy.
Following only your items
An app that cares about a few hundred items (one person's shelf, say) does not need the whole feed. Pass them as items, up to 200:
curl "https://tablearchive.dev/v1/events?after=14172&items=7c0f…,2b91…" -H "Authorization: Bearer $TA_KEY"An id merged away still works: you get the events of the item it became, the merged one included. If an item you follow is deleted after a merge, the ids merged into it get a deleted event too. For longer lists, send up to 5,000 in a body:
curl -X POST "https://tablearchive.dev/v1/events/search" -H "Authorization: Bearer $TA_KEY" \
-H "Content-Type: application/json" -d '{ "items": ["7c0f…", "2b91…"], "after": 14172, "limit": 200 }'