List of Products
Prerequisites
Before you begin, make sure you have:
- A working internet connection
- A suitable programming language or API client (such as Postman, CURL, or your preferred language’s HTTP library)
API Endpoint
- https://api.white.market/export/v1/products/{APP}.json
- https://api.white.market/export/v1/products/{APP}.jsonl
- https://api.white.market/export/v1/products/{APP}.csv
Replace {APP}
with the corresponding value for your desired application:
- 730 - for CS2
Response Fields
The API response contains the following fields:
- product_id - UUID of the skin
- product_category
- product_type
- product_subtype
- product_class_id
- product_instance_id
- product_asset_id
- product_float
- product_paint_index
- product_phase
- name_hash
- price
- currency
- deliveryType
Example Usage of API
Postman
CURL
To obtain prices of CS2 skins in JSON format, use the following CURL command:
curl -X GET "https://api.white.market/export/v1/products/730.json"
Python
Here’s an example of how to use the API with Python and the requests library:
import requests
url = "https://api.white.market/export/v1/products/730.json"
response = requests.get(url)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Error: {response.status_code}")