CS2.SPACEDocumentationAPI
HomeDASHBOARD →
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.

OpenAPI 3.1 llms.txt
HTTP ENDPOINT

Endpoint URI

GET/api/assets/premier/{rating}.svg

Full example URL: https://cs2.space/api/assets/premier/15235.svg

ratingINTEGERREQUIRED

Premier rating, e.g. 15235.

  • Hundreds more static images (ranks, Faceit levels, maps, weapons, medals) are listed in the asset browser at the bottom of the docs.
curl "https://cs2.space/api/assets/premier/15235.svg"
RESPONSE · 200 OK · IMAGE/SVG+XML/api/assets/premier/15235.svg
TROUBLESHOOTING

Status codes

400 Bad RequestInvalid parameter, e.g. a non-numeric Premier rating.
Invalid rating

See all error responses on the Errors reference page.

Was this page helpful?

Ready to build?

GET YOUR FREE KEY NOW →