Steamwebapi Documentation: Getting started

What is Steamwebapi?


Steamwebapi is a high-quality API service that provides developers with seamless access to a wide range of information on Steam games, user profiles, inventories, and many more. By using Steamwebapi, you can effortlessly retrieve data without having to rely directly on the Steam API, thereby reducing the risk of IP blocking or application limitations. It's important to note that Steamwebapi operates as an independent service and is not affiliated with Valve, Steam, or any of their partners. All rights are reserved by its respective owners. Unleash the potential of Steamwebapi to seamlessly integrate game data and enhance your application's features!

How to use?

To use the API, please do the following steps:

Make a GET request to the designated API endpoint.
Access the comprehensive API documentation by clicking the "API" button at the top of the page.
On that page, you'll find detailed information about the available API endpoints and their functionalities.

Example of usage

Discover real-world API use cases on GitHub. Explore the following links to access code samples and projects using the API:
PHP Package
PYTHON Package
Stay tuned for more exciting packages coming soon! Get inspired, learn from existing implementations, and unleash the full potential of the API in your own projects.

And that’s it! Start exploring the power of the API today and open doors to the world of possibilities for your projects.

Example projects

Here is a list of projects using our API:

Example Project with Next.js Open Source
Steam Inventory Calculator

If you want to add your project on this list, feel free to send us a message on Discord!

How to obtain an API Key?

To obtain an API key, please do the following steps:
You need to create an account on our website by clicking on "Login with Steam". Rest assured, we do not store any of your Steam data.
Once you have created an account, you can find your API key in your DASHBOARD (top-right) under "API Key"

Is it free?

Yes, you have access to all our plans with your free plan. If you need more, you can switch your plan to another plan.

Base URL

The base-URL is https://www.steamwebapi.com/steam/api/YOUR_ENDPOINT?key=YOUR_API_KEY

How does authentication work

Easily include your API key in the request by appending it to the URL. Retrieve your API key from your profile for seamless integration. For instance, access the inventory endpoint using this format: https://www.steamwebapi.com/steam/api/inventory?key=$YOUR_API_KEY

Best tools to use and test the API

Best tools to use and test the API
Discover the best tools for API testing and utilization, such as Postman or Insomnia. Additionally, you can easily access the API directly from your browser by adding the API key to the request URL. For instance, test the inventory endpoint using this format: https://www.steamwebapi.com/steam/api/inventory?key=$YOUR_API_KEY

Responses

All responses are in JSON format. If an error occurs, the response will display the error message.

Games

GAMESHORTNAMESTATUS
CS2cs2Full Tested
RUSTrustBasic Tested
DOTAdotaBasic Tested


Endpoints

NameEndpointDescriptionCosts
Items/steam/api/itemsGet all items of a game
Inventory/steam/api/inventoryGet inventory of a user
Profile/steam/api/profileGet profile of a user
Item Detail/steam/api/itemGet details of an item
Steamid/steam/api/steamidSteamid Converter
Float Information API/steam/api/steamidGet the Float of an Item API


General response information

KeyDescription
pricelatestThis is the current offer price; if null - no offer is available
pricelatestsellThe last sell price
pricelatestsell24hThe last sell price 24 hours ago
pricelatestsell7dThe last sell price 7 days ago
pricelatestsell30dThe last sell price 30 days ago
pricelatestsell90dThe last sell price 90 days ago
lateststeamsellatLast sell date on steam
latest10steamsalesLast steam sales of the item as array in format datepricevolume
pricemedianThe current median price based on the last 10 sell prices
pricemedian24hThe median price 24 hours ago based on the last 10 sell prices
pricemedian7dThe median price 7 days ago based on the last 10 sell prices
pricemedian30dThe median price 30 days ago based on the last 10 sell prices
pricemedian90dThe median price 90 days ago based on the last 10 sell prices
priceavgThe current average price based on the last 10 sell prices
priceavg24hThe average price 24 hours ago based on the last 10 sell prices
priceavg7dThe average price 7 days ago based on the last 10 sell prices
priceavg30dThe average price 30 days ago based on the last 10 sell prices
priceavg90dThe average price 90 days ago based on the last 10 sell prices
pricesafeThe current safe price - calculated using at least the last 4 median prices (or 5 if available) from the last 90 days - multiplied by 0.95
priceminThe minimum price from the last 90 days
pricemaxThe maximum price from the last 90 days
pricemixThe lowest price among `lastsell` - `lastoffer` from Steam - or the real market price – all three are compared and the cheapest is chosen
pricerealThe current lowest price in real markets such as Buff - SkinBaron - or Skinport and more
pricereal24hThe lowest real market price 24 hours ago
pricereal7dThe lowest real market price 7 days ago
pricereal30dThe lowest real market price 30 days ago
pricereal90dThe lowest real market price 90 days ago
pricerealmedianThe median price based on the 5 lowest real market prices
winlossThis value can also be negative. It represents the current win/loss percentage by comparing real market prices with the current sell price and displaying the percentage difference (profit or loss).
buyorderpriceThe current buy order price from Steam
buyordermedianThe current median buy order price from Steam based on the last 5 buy orders
buyorderavgThe current average buy order price from Steam based on the last 5 buy orders
buyordervolumeThe current buy order volume from Steam
offervolumeThe current number of offers on Steam
soldtodayThe number of items sold today on Steam
sold24hThe number of items sold yesterday on Steam
sold7dThe number of items sold 7 days ago on Steam
sold30dThe number of items sold 30 days ago on Steam
sold90dThe number of items sold 90 days ago on Steam
soldtotalThe total number of items sold on Steam
hourstosoldThe average time it takes for an item to sell on Steam
pointsPoints we assign based on demand
priceupdatedatWhen the Steam prices - offers - and sales were last updated
markethashnameMarket hash name of the item
marketnameMarket name of the item
slugURL-friendly identifier of the item
colorColor code associated with the itemnull
bordercolorBorder color code of the itemnull
unstableIndicator of price stability (1 for unstable - 0 for stable) based on Steam0
unstablereasonReason for price instability based on Steamnull
wearWear condition of the item (e.g. fn for factory new)null
itemgroupItem group (e.g. rifle)null
itemtypeType of item (e.g. m4a1-s)null
itemnameName of the item (e.g. printstream)null
rarityItem rarity (e.g. covert)null
qualityQuality of the item (e.g. normal)null
isstattrackIndicates if the item is StatTrak (1 for yes - 0 for no)0
isstarIndicates if the item has a star (1 for yes - 0 for no)0
markettradablerestrictionNumber of days for trade restrictionnull
itemimageURL to the item's image



Supported languages

The languages will work only on Inventory API actually. Later we will add the support for Items.
Language original nameAPI Value
Danskdanish
Englishenglish
Françaisfrench
Deutschgerman
Polskipolish
Portuguêsportuguese
Русскийrussian
Svenskaswedish
Türkçeturkish



If you need help, have a suggestion or want to report a bug, join our Discord server.