This is your own float checking API based on the CSFloat inspect library.
-
Steam Account(s) with CS2/CS:GO
- You need at least 1 Steam account that owns CS2
- Recommended: 2-3 accounts for better performance
- Accounts should have 2FA enabled
-
Server/Hosting
- VPS with Node.js 14+
- 1GB RAM minimum (2GB recommended)
- Stable internet connection
Edit config.js and add your Steam credentials:
'logins': [
{
'user': 'your_steam_username',
'pass': 'your_steam_password',
// For 2FA: either email token or shared_secret from mobile authenticator
'auth': 'your_2fa_token_or_shared_secret'
}
],# Install dependencies (already done)
npm install
# Start the API server
node index.jsThe API will be available at http://localhost:3002
# Test with a CS2 inspect link
curl "http://localhost:3002/?url=steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198084749846A698323590D7935523998312483177"- Upload this folder to your server
- Install Node.js and dependencies
- Run with PM2 or similar process manager
- Set up reverse proxy (nginx) to handle HTTPS
- Push this code to a Git repository
- Deploy using your preferred platform
- Set environment variables for production
NODE_ENV=production
PORT=3002
TRUST_PROXY=true # If behind reverse proxy
# Install PM2
npm install -g pm2
# Start the API
pm2 start index.js --name "cs2-float-api"
# Save PM2 configuration
pm2 save
pm2 startupserver {
listen 443 ssl;
server_name cs2floatchecker.com;
location /api/ {
proxy_pass http://localhost:3002/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Your website files
location / {
# Serve your static website
}
}- Steam Account Security: Keep your Steam credentials secure
- Rate Limits: Each account can check ~1 float per second
- Monitoring: Set up monitoring for the API health
- Backups: Consider database backups if using PostgreSQL
- Updates: Keep the library updated for Steam protocol changes
- Login failures: Check Steam credentials and 2FA
- API timeouts: Adjust
request_ttlin config - Rate limits: Add more Steam accounts or increase delays
- CORS errors: Check
allowed_originsin config
The API logs all activities. Check for:
- Steam login status
- Request processing times
- Error messages
Extension → cs2floatchecker.com/api → Your API Server → Steam Servers
Your API server:
- Receives inspect links from extension
- Logs into Steam with bot accounts
- Requests float data from Steam
- Returns structured JSON response
This gives you complete control over the float checking service!