Skip to content

CSMarketCap API Documentation

Welcome to the official documentation for the CSMarketCap API. This guide provides detailed information about our GraphQL API, which allows you to access market data for various game items across multiple marketplaces.

Currency Note

All price values in the API are denominated in USD. Prices are typically provided in cents (divide by 1000 to get dollar value) unless otherwise specified.

Getting Started

Before using the API, you'll need to:

  1. Get an API Key and generate JWT token for authentication
  2. Understand the available endpoints and their parameters
  3. Implement the API in your application using the provided code examples

API Overview

The CSMarketCap API provides several endpoints, each serving a specific purpose:

Price Recommendations

Retrieve price recommendations for items based on market data analysis:

  • Get suggested prices for items across different games
  • View price stability indicators and reasons for unstable prices
  • Compare recommended prices with current market prices

Market Analytics

Access detailed market analytics for specific marketplaces:

  • View buy order statistics including volumes, median prices, and price ranges
  • Access sell order/listing statistics with similar metrics
  • Analyze market trends over different time periods (24h, 7d, 30d, 90d)

Steam Analytics

Get comprehensive analytics specifically for the Steam Community Market:

  • Access sales history with volumes and price statistics
  • View buy order and listing data in a single request
  • Analyze Steam-specific market trends and patterns

Min Prices

Compare minimum listing prices across multiple marketplaces:

  • Find the lowest prices for items across 30+ supported marketplaces
  • Compare both unlocked prices and trade-restricted prices
  • Identify the best marketplace to buy specific items

Max Orders

Compare maximum buy order prices across marketplaces:

  • Find the highest buy order prices on supported marketplaces
  • See the number of buy orders for each item
  • Identify the best marketplace to sell specific items quickly

How to Use This Documentation

  1. Start with the Authentication guide to learn how to generate and use your JWT token
  2. Explore the endpoints that meet your specific needs
  3. Review the code examples in your preferred language (Node.js or cURL)
  4. Implement the API in your application using the provided examples

Implementation Examples

Each API endpoint documentation includes:

  • Complete GraphQL query structure with variables
  • Code examples in Node.js using Axios
  • cURL commands for testing directly from the command line
  • Sample response data showing the expected format

Rate Limits and Usage

Reference to plan limits: https://csmarketcap.com/pricing

Support

If you encounter any issues or have questions about using the API, contact our support team via Telegram.

Get started by setting up authentication or exploring our Price Recommendation endpoint.

Need help? Contact our support team