rankacy. CS2 Highlights API
Now in Public Beta

CS2 Demo In.
Highlight Out.

Turn raw .dem files into share-ready highlight videos with a single API call. No render farms, no game client, no manual editing — just production-quality .mp4 output from 720p to 4K at up to 60 FPS.

.dem upload Rankacy Engine .mp4 highlight
Trusted by CS2 content creators and esports platforms

Integrate in Minutes

A few lines of Python to upload a demo and queue a highlight. Drop it into any pipeline.

See the Output

Production-ready highlight videos rendered from your CS2 demo files automatically.

generate_highlight.py
import requests

BASE  = "https://highlights-api.rankacy.com"
TOKEN = "rk_live_your_token"
HEADERS = {"Authorization": f"Bearer {TOKEN}"}

# 1 ── Upload demo
with open("match.dem", "rb") as f:
    demo = requests.post(
        f"{BASE}/api/public/v1/demos/upload",
        headers=HEADERS,
        files={"file": ("match.dem", f)},
        data={"generate_auto_highlight": "true",
              "resolution_id": "1", "fps_id": "1"},
    ).json()

# 2 ── Create highlight
hl = requests.post(
    f"{BASE}/api/public/v1/highlights",
    headers={**HEADERS, "Content-Type": "application/json"},
    json={"demo_id": demo["demo_id"],
          "resolution_id": 1, "fps_id": 1, "show_tick": True},
).json()

# 3 ── Download result
result = requests.get(
    f"{BASE}/api/public/v1/highlights/{hl['highlight_id']}",
    headers=HEADERS,
).json()
print(result["video_url"])  # -> signed URL
OUTPUT PREVIEW

Built for Production

Every parameter tuned for automated highlight generation and production-friendly output at scale.

Resolution

720p → 4K

Standard profiles plus custom resolution support.

Frame Rate

24 → 60 FPS

Cinematic 24fps to smooth 60fps for clips and reels.

Input

.dem (CS2)

Upload directly, no render farm setup or preprocessing.

Output

.mp4 (H.264)

Ready for social upload, editing timeline, or streaming.

Selection

Kills / Ticks

Precise kill events or tick windows for full control.

Integration

REST API

Token auth plus webhook callbacks for async flows.

Three API Calls. That's It.

No render farms. No game client. No ffmpeg pipelines. Upload your demo, configure the output, and download the result.

01
UPLOAD

Send Your Demo

Upload a CS2 .dem file via our multipart endpoint. Parsing and round indexing happen automatically on our side.

POST /api/public/v1/demos/upload
02
CONFIGURE

Define Your Highlight

Choose your selection mode, resolution, and frame rate. Enable 4K profiles for premium output when you need it.

POST /api/public/v1/highlights
03
DOWNLOAD

Get Your Video

Fetch the download URL when your render is complete, or set up a webhook to get notified automatically.

GET /api/public/v1/highlights/{id}

Account & Cost Management

Full visibility into your balance, usage history, and per-highlight costs before you queue a single render.

GET

Check Your Balance

/api/public/v1/me/credit

Real-time credit balance with bought/given breakdown.

GET

Review Usage History

/api/public/v1/me/transactions

Full transaction log with highlight and credit details.

GET

Estimate Before You Render

/api/public/v1/highlights/cost

Preview credit cost for any resolution + FPS combo.

Start Building in Minutes

Get your API key, upload your first demo, and have a highlight video in hand before your coffee gets cold.