CaseSpin API

Access real-time Steam market prices, inventory data, item information,
and trading functionality with our powerful REST API.

View Documentation

Why Choose CaseSpin API?

Steam Trade Bot

Automated trading system with support for multiple bots. Send, accept, and manage trade offers programmatically.

Inventory Management

Fetch and manage Steam inventories in real-time. Track item values, monitor changes, and calculate total worth.

Market Data

Live Steam market prices, trading volumes, and price history for all 13,644+ CS:GO/CS2 items.

Items Database

Complete CS:GO/CS2 item database with rarities, float values, stickers, and detailed information.

Lightning Fast

Average response time under 50ms. Optimized for high-performance applications with real-time updates.

Secure & Reliable

Enterprise-grade security with 99.9% uptime SLA. Your data is encrypted and protected.

Simple, Transparent Pricing

Starter

$29/month

Perfect for small projects

  • 10,000 API calls/month
  • Basic analytics
  • Email support
  • 1 API key
  • Standard rate limits
Contact Sales

Enterprise

Custom

For large-scale applications

  • Unlimited API calls
  • Custom analytics
  • 24/7 dedicated support
  • Unlimited API keys
  • Custom rate limits
  • SLA guarantee
  • Custom integrations
Contact Sales

API Examples

Get Market Price

JavaScript
fetch('https://api.casespin.fun/v1/market/price?item=AWP | Dragon Lore (Factory New)', {
  headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
})
.then(res => res.json())
.then(data => {
  console.log('Price:', data.lowest_price);
  console.log('Median:', data.median_price);
  console.log('Volume:', data.volume);
});

// Response:
// {
//   "success": true,
//   "lowest_price": "$1,250.00",
//   "median_price": "$1,320.00",
//   "volume": "24"
// }

Get Steam Inventory

JavaScript
fetch('https://api.casespin.fun/v1/inventory/76561198123456789', {
  headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
})
.then(res => res.json())
.then(data => {
  console.log('Total items:', data.total_items);
  console.log('Total value:', data.total_value);
  data.items.forEach(item => {
    console.log(`${item.name} - $${item.price}`);
  });
});

// Response:
// {
//   "success": true,
//   "total_items": 156,
//   "total_value": "$2,450.00",
//   "items": [
//     { "name": "AK-47 | Redline", "price": "25.50", "wear": "Field-Tested" },
//     { "name": "AWP | Asiimov", "price": "45.00", "wear": "Field-Tested" }
//   ]
// }

Send Trade Offer

JavaScript
fetch('https://api.casespin.fun/v1/trade/send', {
  method: 'POST',
  headers: { 
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    partner_steam_id: '76561198123456789',
    items_to_give: ['assetid_123', 'assetid_456'],
    items_to_receive: ['assetid_789'],
    message: 'Trade offer from CaseSpin'
  })
})
.then(res => res.json())
.then(data => {
  console.log('Offer ID:', data.offer_id);
  console.log('Status:', data.status);
});

// Response:
// {
//   "success": true,
//   "offer_id": "5847362910",
//   "status": "pending",
//   "trade_url": "https://steamcommunity.com/tradeoffer/5847362910"
// }