Sviluppatori
Crea strumenti, bot e contenuti con i dati di Spire Codex. Tutto è gratuito e aperto.
Tooltip Widget
Add Wowhead-style hoverable tooltips for cards, relics, and potions to any website. One script tag, zero dependencies.
Installation
<script src="https://spire-codex.com/widget/spire-codex-tooltip.js"></script>Syntax
[[Strike]]Card tooltip (default type)[[card:Bash]]Card (explicit)[[relic:Burning Blood]]Relic[[potion:Fire Potion]]Potion[[character:Ironclad]]Character[[monster:Jaw Worm]]Monster[[power:Strength]]Power[[event:Neow]]Event[[encounter:Lagavulin]]Encounter[[enchantment:Sharp]]Enchantment[[keyword:Exhaust]]Keyword[[orb:Lightning]]Orb[[affliction:Bound]]Affliction[[achievement:Minimalist]]AchievementJavaScript API
SpireCodex.scan()Re-scan the page for new [[...]] patterns (for SPAs)SpireCodex.scan(element)Scan a specific DOM elementChangelog Widget
Embed a compact, interactive changelog viewer showing Spire Codex update history with version switching.
Installation
<div id="scx-changelog"></div>
<script src="https://spire-codex.com/widget/spire-codex-changelog.js"></script>data-version="1.0.4"Show a specific version (default: latest)REST API
Full game database accessible via a public REST API. No authentication required. Rate limited to 60 requests/minute.
Base URL
https://spire-codex.comEndpoints
Multi-Language
Add ?lang=jpn to any endpoint. 14 languages supported:
eng, deu, esp, fra, ita, jpn, kor, pol, ptb, rus, spa, tha, tur, zhs
Quick Start
cURL
curl https://spire-codex.com/api/cards?color=ironclad&rarity=RarePython
import requests
cards = requests.get("https://spire-codex.com/api/cards", params={"color": "ironclad"}).json()
for card in cards:
print(f"{card['name']} - {card['type']} ({card['rarity']})")JavaScript
const res = await fetch("https://spire-codex.com/api/relics?pool=ironclad");
const relics = await res.json();
console.log(relics.map(r => r.name));Data Exports
Download all game data as a single ZIP archive. Each archive contains JSON files for every entity type (cards, relics, monsters, powers, and more).
Interactive API Docs
Full Swagger/OpenAPI documentation with try-it-out functionality.
Open API Docs →Open Source
Spire Codex is open source. The data extraction pipeline, API, and frontend are all available on GitHub.
View on GitHub →