Items
You can fetch items with name or ID!
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
GET
https://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
GET
https://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"]}
Last updated