CS2.SPACEDocumentationAPI
HomeDASHBOARD →
Base URL: https://cs2.space

Quick start

Generate an API key and inspect live Counter-Strike 2 player stats, ranks, and inventories in three quick steps.

OpenAPI 3.1 llms.txt
1Generate a key on the Developer Dashboard

Sign in on the developer dashboard and generate an API key. Every account starts on the Free tier with 500 requests/month and 60 requests/minute — no card required.

2Pass x-api-key and fetch a player profile

Include your key in the x-api-key HTTP header on protected routes and keep the key server-side.

curl -H "x-api-key: YOUR_KEY" "https://cs2.space/api/profile/ChetCS"
3Render SVG badges or check API health without a key

Requests to /api/assets/* and /api/health are completely free, require no API key, and never count toward your monthly quota.

<img src="https://cs2.space/api/assets/premier/15235.svg" alt="15,235 CS Rating" />
CONTINUE

Next steps

Was this page helpful?

Ready to build?

GET YOUR FREE KEY NOW →