Create Deposit

List item(s) for sale.

❗️

Pricing

  • coin_value is in coincents, so 100.01 coins is represented as 10001
  • coin_value should be the price you want to list at. If you want to list at 100.01 coins, you should set coin_value to 10001. See below for how to calculate the coin value.
# Markup percentage
percent = 5

# Original market prices for two items
item1_price = 10001
item2_price = 33053

# Apply the same markup to both prices
item1_marked_up = round(item1_price * (1 + percent / 100))
item2_marked_up = round(item2_price * (1 + percent / 100))

# Create the list to send
items = [
    {
        "id": 3731677705, # You can either send the Empire itemId
        "coin_value": item1_marked_up
    },
    {
        "asset_id": 45059553777, # Or you can use the item asset_id as well
        "coin_value": item2_marked_up
    }
]
🖥️

You should be chunking these requests into groups of max 20, but it's not required. If you don't chunk, you'll list slower and hit ratelimits more often.

Individual deposit states will be announced to the websocket, so monitor it to see when your items are listed. Errors will use the key deposit_failed and will contain the item id and error message.

Language
Credentials
Header
Click Try It! to start a request and see the response here!