SteamMarketAPI Documentation

Powerful API for accessing real-time CS:GO skin market data, prices, and trading information.

99.9%
Uptime
<100ms
Response Time
10M+
Requests/Day

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

GET
https://api.steammarketapi.com/v1

Quick Example

JavaScript
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

GET
/skins/{skin_name}
Get detailed information about a specific skin

Parameters

skin_name
string
The name of the skin (e.g., "ak47", "awp_dragon_lore")
Example Request
curl -X GET "https://api.steammarketapi.com/v1/skins/ak47" \
-H "Authorization: Bearer YOUR_API_KEY"
Example Response
{
    "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

GET
/skins/{skin_name}/history
Get historical price data for a skin

Parameters

skin_name
string
The name of the skin
days
integer
Number of days of history to retrieve (default: 30, max: 365)

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 Header
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

Fetch Skin Data
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

Requests Library
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.

Free
$0/month
100 requests/day
Basic skin data
Community support
Real-time updates
Historical data
Enterprise
$99/month
Unlimited requests
All skin data
24/7 support
Real-time updates
1-year historical data

Frequently Asked Questions

Find answers to common questions about SteamMarketAPI.

How often is the data updated? +
Our data is updated in real-time. Prices and market data are refreshed every 5 minutes to ensure you have the most current information available.
What's the rate limit for API requests? +
Rate limits vary by plan. Free tier allows 100 requests per day, Pro tier allows 10,000 requests per day, and Enterprise has no limits. All plans have a per-minute limit to prevent abuse.
Can I use the API for commercial applications? +
Yes, all our plans allow commercial use. Please review our Terms of Service for specific details about attribution and usage restrictions.
How do I get support if I have issues? +
Free tier users can access our community forums. Pro and Enterprise users receive priority email support. Enterprise customers also have access to 24/7 phone support.

Changelog

Stay updated with the latest changes to SteamMarketAPI.

March 15, 2023

Version 1.2.0

New Improvement
  • 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
February 3, 2023

Version 1.1.5

Fix
  • Fixed authentication issue with special characters in API keys
  • Improved error messages for rate limiting
  • Updated documentation with new examples
January 10, 2023

Version 1.1.0

New Improvement
  • 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