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
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
id
String
Pass an item ID. ?id=5
name
String
Pass an item name. Not case sensitive.?name=Deer
Headers
Authorization
String
Input an auth token.
Example response:
Items follow the format:
Normally because you're missing the query args, such as ID or Name, OR because you're using BOTH.
Last updated