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

API endpoint reference
MethodEndpointPurposeParameters
GET/api/cardsReturns card data with optional filters.color, rarity, type, search
GET/api/charactersReturns playable character metadata.None
GET/api/statsReturns 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.

© 2026, Slay the Spire - Card Explorer