Developers
DomiAtlas publishes its data as static files. There is no server process, API key or rate limit: every URL below is a file on the same host.
Data layout
One JSON file per entity. A table lists its column keys once in “columns”, and each entry of “rows” is one row in the same order. A missing value is null, never zero. Each table carries the game version it came from.
{
"id": "general-cleopatra",
"name": {"en": "Cleopatra", "zh": "埃及艳后"},
"tables": [{
"columns": ["level", "health"],
"rows": [[1, 12000], [2, 12250]],
"version": "13.1610"
}]
}
Table columns
The same key means the same thing on every entity. A table lists only the columns it needs, so not every key appears on every page.
| Column | Content |
|---|---|
level | Level number. |
age | Age order; match it to the “order” field in the ages data. |
health | Base health before bonuses. |
damage | Base damage per attack before bonuses. |
attack_interval | Seconds between attacks. |
range | Attack range in the game’s configuration units. |
cost | Upgrade cost as [resource, amount] pairs; an empty list means free or not applicable. |
build_upgrade_time | Build or upgrade time in seconds. |
null means the client has no value; it is never zero.
Static API
Start at the index, check “schemaVersion”, then read the list or one entity. Names in every language are separate files.
| URL | Content |
|---|---|
/api/v1/index.json | Schema, counts and the endpoint list |
/api/v1/entities.json | Every entity, one summary per line |
/api/v1/entities/{id}.json | One entity with its tables and links |
/api/v1/names/{locale}.json | Entity names in one language |
/search.{locale}.json | Search index for one language |
Every table is also available as CSV for spreadsheets, and each category as one JSON file. Data downloads →
Example
const index = await fetch('https://domiatlas.top/api/v1/index.json').then(r => r.json());
if (index.schemaVersion !== 1) throw new Error('Unsupported schema');
const list = await fetch('https://domiatlas.top/api/v1/entities.json').then(r => r.json());
const id = list.entities.find(e => e.id === 'general-cleopatra').id;
const detail = await fetch(`https://domiatlas.top/api/v1/entities/${id}.json`).then(r => r.json());
Rules and limits
- Check “schemaVersion” before parsing; when it changes, the shape changed.
- The files have no CORS headers. A browser on another origin needs a proxy; server-side scripts and the site’s own tools do not.
- Some languages are machine-translated. Entity names use the client’s official name when it exists.
- Game data and images belong to Big Huge Games / Nexon. Link back to DomiAtlas; the site’s code licence does not cover game assets.