Skip to content

About

A comprehensive set of endpoints to access Deadlock game data, match history, player statistics, hero analytics, and more. Whether you're a developer integrating game data or a player analyzing performance, the Deadlock API has you covered.

Resources

Stars

37 stars

Watchers

0 watching

Forks

Repository files navigation

Deadlock API

Monorepo for the Deadlock API project.

Structure

  • api/ - Rust API backend (Axum) serving game data, analytics, leaderboards, and more
  • website/ - React frontend (Vite + React Router) for the Deadlock API website
  • tools/ - Rust microservices for data ingestion, scraping, and pipeline processing
  • live-events/ - Rust service for live match event streaming via SSE
  • valveprotos/ - Rust bindings for the Steam and Deadlock protobufs (formerly valveprotos-rs)
  • haste/ - Source 2 demo and broadcast parser (formerly deadlock-api/haste), including the dungers bit buffer, varint and char cursor crates it uses (formerly deadlock-api/dungers)

All Rust crates are members of one cargo workspace (Cargo.toml at the repo root), sharing a single Cargo.lock and target/. Build or run any of them from the root with cargo <cmd> -p <package>. Docker images for the Rust services are built with the repo root as context, e.g. docker build -f api/Dockerfile ..

Getting Started

API

cd api
cp .env.example .env
# Edit .env with your credentials
cargo run

See api/README.md for full documentation.

Website

cd website
cp .env.example .env
pnpm install
pnpm dev

Tools

# Set up tools/.env with your credentials
cd tools
cargo run -p <service-name>

See tools/README.md for full documentation.

Live Events

cd live-events
cp .env.example .env
# Edit .env with your credentials
cargo run

See live-events/README.md for full documentation.

License

MIT

About

A comprehensive set of endpoints to access Deadlock game data, match history, player statistics, hero analytics, and more. Whether you're a developer integrating game data or a player analyzing performance, the Deadlock API has you covered.

Resources

Stars

37 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages