Base URL: https://cs2.space
Premier rating badge
GETPublic · No key
An SVG of the CS2 Premier rating badge for any rating, in the right colour tier. Free to use, no API key needed.
HTTP ENDPOINT
Endpoint URI
Full example URL: https://cs2.space/api/assets/premier/15235.svg
PARAMETERS
Path parameters
ratingINTEGERREQUIREDPremier rating, e.g. 15235.
BEHAVIOR
Implementation notes
- Hundreds more static images (ranks, Faceit levels, maps, weapons, medals) are listed in the asset browser at the bottom of the docs.
USAGE
Example request
curl "https://cs2.space/api/assets/premier/15235.svg"PAYLOAD
Example SVG response
TROUBLESHOOTING
Status codes
400 Bad RequestInvalid parameter, e.g. a non-numeric Premier rating.
Invalid ratingSee all error responses on the Errors reference page.