SteamMarketAPI Documentation
Powerful API for accessing real-time CS:GO skin market data, prices, and trading information.
Getting Started
Learn how to integrate SteamMarketAPI into your application with our comprehensive guide.
Introduction
SteamMarketAPI provides real-time access to CS:GO skin market data including prices, listings, and trading information. Our API is designed to be simple, fast, and reliable.
Base URL
Quick Example
fetch('https://api.steammarketapi.com/v1/skins/ak47', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));
API Endpoints
Explore all available endpoints to access CS:GO market data.
Skin Information
Parameters
curl -X GET "https://api.steammarketapi.com/v1/skins/ak47" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"name": "AK-47 | Redline",
"weapon": "AK-47",
"rarity": "Classified",
"collection": "The Huntsman Collection",
"price": {
"current": 25.50,
"change_24h": 1.20,
"change_7d": -0.50
},
"volume": {
"daily": 150,
"weekly": 950
}
}
}
Price History
Parameters
Authentication
Learn how to authenticate your API requests securely.
API Keys
All API requests require authentication using an API key. You can generate your API key from your account dashboard.
Using Your API Key
Include your API key in the Authorization header of your requests:
Authorization: Bearer YOUR_API_KEY
Security Best Practices
- Never expose your API key in client-side code
- Rotate your API keys regularly
- Use environment variables to store API keys
- Implement rate limiting in your application
Code Examples
See how to use SteamMarketAPI in different programming languages.
JavaScript
async function getSkinData(skinName) {
const response = await fetch(`https://api.steammarketapi.com/v1/skins/${skinName}`, {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
const data = await response.json();
return data;
}
// Usage
getSkinData('ak47_redline')
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Python
import requests
def get_skin_data(skin_name):
url = f"https://api.steammarketapi.com/v1/skins/{skin_name}"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
response.raise_for_status()
return response.json()
# Usage
try:
data = get_skin_data("ak47_redline")
print(data)
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
Pricing
Choose the plan that fits your needs. All plans include access to our complete API.
Frequently Asked Questions
Find answers to common questions about SteamMarketAPI.
Changelog
Stay updated with the latest changes to SteamMarketAPI.
Version 1.2.0
- Added new endpoint for bulk skin data retrieval
- Improved response times by 30%
- Added support for additional skin attributes
- Fixed issue with price history endpoint
Version 1.1.5
- Fixed authentication issue with special characters in API keys
- Improved error messages for rate limiting
- Updated documentation with new examples
Version 1.1.0
- Added real-time WebSocket support for price updates
- Expanded historical data to 365 days for Enterprise plans
- Added new skin rarity classifications
- Improved API rate limiting system