Access real-time Steam market prices, inventory data, item information,
and trading functionality with our powerful REST API.
Automated trading system with support for multiple bots. Send, accept, and manage trade offers programmatically.
Fetch and manage Steam inventories in real-time. Track item values, monitor changes, and calculate total worth.
Live Steam market prices, trading volumes, and price history for all 13,644+ CS:GO/CS2 items.
Complete CS:GO/CS2 item database with rarities, float values, stickers, and detailed information.
Average response time under 50ms. Optimized for high-performance applications with real-time updates.
Enterprise-grade security with 99.9% uptime SLA. Your data is encrypted and protected.
Perfect for small projects
For growing businesses
For large-scale applications
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"
// }
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" }
// ]
// }
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"
// }