Authentication
To use our API, you need to authenticate your requests using your API key. Follow these steps:
Create an account at Pricempire
Subscribe to an API plan
Choose a plan that fits your needs. Free tier available for testing.
Get your API key
There are two ways to include your API key in your requests:
Method 1: Using Authorization Header (Recommended)
Add this header to your request:
Authorization: Bearer your_api_key
Example using curl:
curl -H "Authorization: Bearer your_api_key" https://api.pricempire.com/v4/paid/items/prices
Method 2: Using Query Parameter
Add this parameter to your request URL:
?api_key=your_api_key
Example using curl:
curl "https://api.pricempire.com/v4/paid/items/prices?api_key=your_api_key"
Important Notes
- Replace
your_api_key
with your actual API key - Keep your API key secret and never share it publicly
- If you're using the sandbox environment, use
sandbox-api.pricempire.com
instead - Need help? Join our Discord community
Query Builder
Select Endpoint
Item Prices
get
https://api.pricempire.com/v4/paid/items/prices
Quick Start
Parameters
6 parametersName | Type | Required | Default | Description |
---|---|---|---|---|
app_id | number (enum) | No | 730 | The app_id of the game |
sources | array | No | buff163, buff163_buy | The sources to get the prices from |
currency | string (enum) | No | USD | The currency to get the prices in |
avg | boolean | No | false | Whether to get the average prices or not |
inflation_threshold | number | No | -1 | The inflation threshold to use (in percentage) |
metas | array | No | [] | The metas to get |
Example Response
Status: 200Content-Type: application/json
[ { "market_hash_name": "Sticker | FURIA | Rio 2022", "image": "/panorama/images/econ/stickers/rio2022/furi_png.png", "liquidity": 34, "count": 246, "rank": 19826, "prices": [ { "price": 0, "count": 1461, "updated_at": "2024-10-11T10:26:43.128Z", "provider_key": "buff163", "meta": { "original_price": 38, "original_currency": "CNY", "rate": 0.1232323 } }, { "price": null, "count": null, "updated_at": null, "provider_key": "lootfarm" }, { "price": 3, "count": 4340, "updated_at": "2024-10-12T13:16:06.929Z", "provider_key": "dmarket" } ] }, { "market_hash_name": "SG 553 | Danger Close (Factory New)", "image": "/panorama/images/econ/default_generated/weapon_sg556_gs_sg553_over_heated_light_png.png", "liquidity": 98, "count": 67690, "rank": 9698, "prices": [ { "price": 38, "count": 169, "updated_at": "2024-10-11T10:25:59.360Z", "provider_key": "buff163", "meta": { "original_price": 38, "original_currency": "CNY", "rate": 0.1232323 } }, { "price": 34, "count": 0, "updated_at": "2024-10-26T10:34:05.943Z", "provider_key": "lootfarm", "meta": null }, { "price": 32, "count": 11, "updated_at": "2024-10-12T13:15:31.150Z", "provider_key": "dmarket" } ] } ]
Item Images
get
https://api.pricempire.com/v4/paid/items/images
Quick Start
Parameters
1 parametersName | Type | Required | Default | Description |
---|---|---|---|---|
app_id | number | Yes | - |
Example Response
Status: 200Content-Type: application/json
{ "cdn_sizes": [ 50, 150, 300, 450 ], "cdn_url": "https://cs2-cdn.pricempire.com", "example_resized": "https://cs2-cdn.pricempire.com/panorama/images/econ/default_generated/weapon_sg556_gs_sg553_over_heated_light_png_50.avif", "images": { "★ Karambit | Slaughter (Factory New)": { "steam": "/panorama/images/econ/default_generated/weapon_knife_karambit_am_zebra_light_png.png", "cdn": "/panorama/images/econ/default_generated/weapon_knife_karambit_am_zebra_light_png.avif" }, "Sealed Graffiti | Toasted (Frog Green)": { "steam": "/panorama/images/econ/stickers/default/moly_01_png.png", "cdn": "/panorama/images/econ/stickers/default/moly_09_png.avif" } } }
Inventory
get
https://api.pricempire.com/v4/paid/inventory
Quick Start
Parameters
3 parametersName | Type | Required | Default | Description |
---|---|---|---|---|
steam_id | string | Yes | - | The steam_id of the user |
app_id | number | Yes | - | The app_id of the game |
force | boolean | No | - | Force Reload the inventory. (Allowed only once per minute) |
Example Response
Status: 200Content-Type: application/json
{ "id": "1", "value": 0, "created_at": "2024-09-14T22:05:46.475Z", "items": [ { "asset_id": "30503045023", "d": "7512750226289779146", "low_rank": null, "high_rank": null, "float_value": 0.2859826982021332, "paint_seed": 81, "amount": 1, "stickers": [ { "name": "100 Thieves | 2020 RMR", "slot": 0, "wear": null, "offset_x": null, "offset_y": null, "stickerId": 4769 } ], "charms": null, "item": { "id": 189, "app_id": 730, "market_hash_name": "StatTrak™ P250 | Asiimov (Field-Tested)", "weapon_name": "P250", "category": "Pistol", "image": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpopujwezhjxszYI2gS092lnYmGmOHLPr7Vn35cppNw2rCZ99rx3Qzmrhc_Yz2mcYORJ1A2YQ2C_FDvlOi5hZDv7pnIySB9-n51-GWPoLQ", "type": "StatTrak™ Classified Pistol", "rarity": "Classified", "rarity_color": "d32ce6", "exterior": "Field-Tested", "float_min": 0.1, "float_max": 1, "weapon_id": 36, "paint_id": 551 } } ] }
All Items
get
https://api.pricempire.com/v4/paid/items
Quick Start
Parameters
1 parametersName | Type | Required | Default | Description |
---|---|---|---|---|
language | string (enum) | No | en | The language of the response |
Example Response
Status: 200Content-Type: application/json
[ { "name": "M4A4 | Polysoup (Factory New)", "description": "More accurate but less damaging than its AK-47 counterpart, the M4A4 is the full-auto assault rifle of choice for CTs. It has been custom painted with multicolored crystals and finished with pearlescent accents.\\n\\n<i>Don't stew on it</i>", "textures": [ { "type": "g_tPaintRoughness", "file": "default_rough_tga_4b61db16.png" }, { "type": "g_tPaintMetalness", "file": "default_metal_tga_a207b0ba.png" }, { "type": "g_tPearlescenceMask", "file": "black_tga_7b4f0ab5.png" }, { "type": "g_tOverlay", "file": "soo_polysoup_m4a4_overlay_texture_psd_70de03db.png" }, { "type": "g_tNormal", "file": "custom_template_pattern_normal_tga_9bf1e72d.png" }, { "type": "g_tPaintByNumberMasks", "file": "soo_polysoup_m4a4_paint_by_number_masks_psd_ccf743af.png" }, { "type": "g_tFinalAmbientOcclusion", "file": "default_ao_tga_e5dd0c66.png" }, { "type": "g_tWear", "file": "paint_wear_psd_19141e79.png" }, { "type": "g_tGrunge", "file": "gun_grunge_psd_66b72907.png" } ], "style": { "name": "Solid Color", "description": "A simple yet effective finish style that applies a uniform, solid color across the surface of the weapon. This style emphasizes simplicity and consistency, ensuring that the color covers the weapon entirely without any patterns, gradients, or other embellishments." }, "vcompmatFile": "/materials/weapons/paints/set_graphic_design/soo_polysoup_m4a4.vcompmat", "weapon": { "name": "M4A4", "object_id": 16, "description": null, "image": "/panorama/images/econ/weapons/base_weapons/weapon_m4a1_png.png", "sticker_count": 5 }, "category": "Rifles", "pattern": "Polysoup", "min_float": 0, "max_float": 0.64, "wear": "Factory New", "stattrak": false, "souvenir": false, "paint_index": 874, "rarity": { "name": "Restricted", "color": "#8847ff" }, "collections": [ { "name": "The Graphic Design Collection", "image": "/panorama/images/econ/set_icons/set_graphic_design_png.png" } ], "crates": [], "market_hash_name": "M4A4 | Polysoup (Factory New)", "team": "Counter-Terrorist", "image": "/panorama/images/econ/default_generated/weapon_m4a1_soo_polysoup_m4a4_light_png.png" } ]
Item Metadatas
get
https://api.pricempire.com/v4/paid/items/metas
Quick Start
Example Response
Status: 200Content-Type: application/json
[ { "market_hash_name": "Glock-18 | Gamma Doppler (Factory New)", "description": "The Glock 18 is a serviceable first-round pistol that works best against unarmored opponents and is capable of firing three-round bursts. It has been painted with black and silver metallic paints using a marbleizing medium, then candy coated.", "image": "/panorama/images/econ/default_generated/weapon_glock_am_gamma_doppler_phase4_glock_light_png.png", "trades_1d": "107", "trades_7d": "687", "trades_30d": "2096", "trades_90d": "4836", "trades_180d": "8254", "rank": "1292", "marketcap": "50527620", "liquidity": "100", "count": "9060", "steam_last_90d": "1699", "steam_last_30d": "587", "steam_last_7d": "34", "market_first_date": "1632265200000" } ]