GetItemsList V2
GET http://dota2.csgobackpack.net/api/GetItemsList/v2/
Name | Required | Description |
---|---|---|
key | ||
details | Shows a list of items with details such as icon, standard deviation, lowest price, highest price, date of first sale. | |
currency | Convert to another currency. Use ISO 4217 code | |
no_prices | Don't show items prices | |
no_details | Don't show items properties | |
prettyprint | Makes json easier to read |
URL:
http://dota2.csgobackpack.net/api/GetItemsList/v2/
Response example (part):
{"success":true,"currency":"USD","timestamp":1524307102,"items_list":{"1 Minas E-Sports":{"name":"1 Minas E-Sports","marketable":1,"tradable":1,"classid":"1380995976","icon_url":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KW1Zwwo4NUX4oFJZEHLbXP5A1YO48h5ghITl_TVe29w8bcXU5LdDtav7SkODhlwOPHYylR09C3hoeO2aKhN-PUxj4Cvscm2eiQpNykigOxqhFlYjjwLIWQcFU3NFzW8wPsx7jxxcjrOreqvVw","type":"League","rarity":"Common","rarity_color":"b0c3d9","quality":"Standard","quality_color":"D2D2D2","price":{"24_hours":{"average":0.65,"median":0.65,"sold":"1","standard_deviation":"0","lowest_price":0.65,"highest_price":0.65},"7_days":{"average":0.65,"median":0.65,"sold":"1","standard_deviation":"0","lowest_price":0.65,"highest_price":0.65},"30_days":{"average":0.65,"median":0.65,"sold":"1","standard_deviation":"0","lowest_price":0.65,"highest_price":0.65},"all_time":{"average":0.58,"median":0.58,"sold":"29","standard_deviation":"53.19","lowest_price":0.04,"highest_price":1.26},"opskins_average":0},"first_sale_date":"1476136800"}
GetItemPrice
GET http://dota2.csgobackpack.net/api/GetItemPrice/
Name | Required | Description |
---|---|---|
id | Name of item. Example: 'Treasure Upgrade Infuser - Winter 2016' | |
time | default = 7 | Get average and median from past X days |
extend | The 'time' parameter will be extended up to 180 days if the item has not been sold at least once within a specified time period. | |
full | Get full sales history | |
currency | default = USD | Convert to another currency. Use ISO 4217 code |
icon | Show url of thumbnail | |
key | Max requests per hour without key: 100 |
Example URL:
https://dota2.csgobackpack.net/api/GetItemPrice/?id=Treasure%20Upgrade%20Infuser%20-%20Winter%202016&time=7&icon=1
Response example:
{"success":true,"average_price":"0.48","median_price":"0.49","amount_sold":"779","standard_deviation":"5.13","lowest_price":"0.4","highest_price":"0.5","first_sale_date":"1453935600","time":"7","icon":"","currency":"USD"}