About This Project
Slay the Spire Card Explorer is a lightweight interface for browsing card data, reading high-level game stats, and quickly jumping into class-filtered card pools. It is built to keep discovery fast while preserving a clean, readable UI.
The site is designed as an API-driven frontend. It does not maintain its own database and instead renders content directly from the public Spire Codex API.
Data Source
Primary API source: spire-codex.com
How Data Was Collected
Collection and curation details are documented in the public repository: ptrlrd/spire-codex
Technologies Used
- SvelteKit
- TypeScript
- Tailwind CSS v4
- Chart.js
- Vercel
- shadcn-svelte
- MapLibre
API Endpoint Reference
Base URL: https://spire-codex.com/api
| Method | Endpoint | Purpose | Parameters |
|---|---|---|---|
| GET | /api/cards | Returns card data with optional filters. | color, rarity, type, search |
| GET | /api/characters | Returns playable character metadata. | None |
| GET | /api/stats | Returns top-level game dataset counters. | None |
Rate limit notice: 60 req/min per IP
Data reflects Slay the Spire 2 game state as of the last API update. This site does not store or mirror the data.