/1/items
Arguments
- ids - list of item ids seperated by commas. Limit of 100.
- fields - list of fields seperated by commas.
- name
- buy
- sell
- supply
- demand
- img
- category
Returns
- results - list of items ordered by fields
Notes
- Results are cached every 5 minutes
- Only the fields you need are sent in order to increase speed and save bandwidth.
- To create a comma seperated list in javascript, use join.
Example: ['name','buy'].join()
Example
{
"results": [
[123, "Zho's Mask", 10586],
[345, "Ravaging Superior Studded Coat", 58]
]
}
/1/bulk/items.json
Returns
- updated - Time this report was generated. Milliseconds since epoch.
- columns - Name of the columns for each item.
- items - List of items with data in the same order as columns
Notes
- Columns may be added or rearranged in the future so don't assume it will remain the same.
Example
{
"updated": 1374495001000,
"columns": ["id", "buy", "sell", "supply", "demand"],
"items": [
[68, 16, 80, 950, 544],
[69, 20, 77, 1502, 502],
...
]
}
/1/bulk/items-names.json
Returns
- items - List of items in the form [id, name]
Example
{
"items": [
[68, "Country Coat"],
[69, "Country Coat"],
[70, "Superior Studded Coat"],
...
]
}
/1/bulk/items.csv
Returns
Example
id,name,buy,sell,supply,demand
68,"Country Coat",16,76,935,542
69,"Country Coat",20,98,1488,495
70,"Superior Studded Coat",9,50,1051,507
...