MyCS2.dev

CS2 API PLATFORM

How it works

Connect your server in three steps.

Request a key, keep it on your server, and send it with each API request. This guide lists the main areas your integration can use.

-H "X-API-Key: YOUR_PERSONAL_KEY"

Quickstart

1. Request a key

Tell us about your server, plugin, or bot on the access page.

2. Keep the key private

Store it as a server environment variable. Do not put it in browser JavaScript or commit it to a repository.

3. Send a request

curl https://mycs2.dev/api/health \
          -H "X-API-Key: YOUR_PERSONAL_KEY"
-H "X-API-Key: YOUR_PERSONAL_KEY"

Core areas

  • /api/inventory - player inventory state
  • /api/loadout - CT and T equipment
  • /api/cases - case catalog and drops
  • /api/economy - balances and economy actions
  • /api/settings - player preferences
Request your key

Integration rules

Keep integrations reliable.

Authenticate every request

Send the personal key in a request header and rotate it if it is ever exposed.

Respect request limits

Cache stable catalog data and reserve live calls for player state and actions.

Ask before scaling

Purchase additional request credits before a major event or community launch.