You can fetch items with two methods: using the item name or item ID.
A list of items can also be returned.
Fetch all Items
GEThttps://econuker.xyz/api/items
Returns a full list of viewable items.
An auth token with admin permissions will return all items, regardless of viewability.
Headers
Name
Type
Description
Authorization
String
Input an auth token.
Returns a list of items:
{
"itemid": ["Item Name", "Rarity", "Item Description", ["Aliases"], "extradata (there will always be extradata, or None)", "SellPrice (Unsellable)|BuyPrice (Unbuyable)", "Item Worth"],
"itemid2": ["Item Name", "Rarity", "Item Description", ["Aliases"], "extradata (there will always be extradata, or None)", "SellPrice (Unsellable)|BuyPrice (Unbuyable)", "Item Worth"],
"itemid3": ["Item Name", "Rarity", "Item Description", ["Aliases"], "extradata (there will always be extradata, or None)", "SellPrice (Unsellable)|BuyPrice (Unbuyable)", "Item Worth"]
}
Fetch an Item
GEThttps://econuker.xyz/api/item
You can fetch an item with the item name or item ID.
Either id or name is required.
Query Parameters
Name
Type
Description
id
String
Pass an item ID. ?id=5
name
String
Pass an item name. Not case sensitive.?name=Deer
Headers
Name
Type
Description
Authorization
String
Input an auth token.
Example response:
{"2":["Uncommon Trophy","Uncommon","A uncommon trophy, currently for flexing purposes.",[],"None","2500|5000","2500"]}
Items follow the format:
{"itemid":["Item Name","Rarity","Item Description",["Aliases"],"extradata (there will always be extradata, or None)","SellPrice (Unsellable)|BuyPrice (Unbuyable)","Item Worth"]}
There may be cases where the item is hidden from the general public, such as items that aren't meant to be seen.
This can be bypassed with a "admin" level auth token.
This error is returned when a token is received, but with insufficient permissions.
Returns an error message:
403: Auth token "token" has "tokenauth" permissions, but needs "admin" permissions to query item "id/name".
There may be cases where the item is hidden from the general public, such as items that aren't meant to be seen.
This error is returned when no token is received.
Returns an error message:
401: No authorization token passed. An authorization token with "admin" permissions is required to fetch this item.
Normally because you're missing the query args, such as ID or Name, OR because you're using BOTH.