Auctions#

GET /api/auctions/prices#

Get several items’ auction prices

Returns one price summary per requested item ID, in request order. Takes 1 to 200 comma-separated IDs; more (or none) answers 400.

Parameters

Name

In

Type

Required

Description

ids

query

string

yes

Comma-separated item IDs, such as 19019,15846.

Response 200 — One price summary per requested item.

Model: AuctionPriceMap

Field

Type

Required

Description

prices

array of ItemPriceSummary

yes

GET /api/auctions/prices/{item_id}#

Get an item’s auction price

Returns the item’s current lowest unit price across every house of the guild’s faction, each house’s own price, and its 14-day trend. An item nobody lists still answers 200, with null prices and empty houses/trend.

Parameters

Name

In

Type

Required

Description

item_id

path

integer

yes

The item’s game ID.

Response 200 — The item’s auction price.

Model: ItemAuctionPrice

Field

Type

Required

Description

item_id

integer

yes

The item’s game ID.

unit_price

integer | null

yes

The lowest unit price across every house, in copper. Null if nobody lists it.

quantity_total

integer

yes

Total priced quantity across every house.

houses

array of AuctionHousePrice

yes

Every house currently pricing this item.

trend

array of AuctionTrendPoint

yes

The last 14 days of daily low prices.

updated_at

string (date-time) | null

yes

When the price was last synced. Null if nobody lists it.

GET /api/guilds/{guild_id}/auctions/alerts/pending#

List pending price alerts

Returns every price-watch alert not yet acked, oldest first. Called by the bot to DM members.

Parameters

Name

In

Type

Required

Description

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

Response 200 — Pending price alerts.

Model: array of AuctionAlertSchema

Type: array of AuctionAlertSchema

POST /api/guilds/{guild_id}/auctions/alerts/{alert_id}/sent#

Ack a price alert

Marks a price alert as sent (DMed), so it drops off the pending queue.

Parameters

Name

In

Type

Required

Description

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

alert_id

path

string (uuid)

yes

The alert’s ID.

Response 204 — The alert was acked.

POST /api/guilds/{guild_id}/auctions/sync#

Sync auction prices

Fetches every auction house of the guild’s faction from Battle.net, rebuilds current prices and today’s daily history, and queues price-watch alerts. Returns 404 for any guild_id other than the SideQuest server.

Parameters

Name

In

Type

Required

Description

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

Response 201 — What the sync fetched, priced and queued.

Model: AuctionSyncReport

Field

Type

Required

Description

houses

array of AuctionSyncHouse

yes

items_priced

integer

yes

Distinct items priced by this sync.

alerts_queued

integer

yes

Price-watch alerts queued by this sync.

GET /api/guilds/{guild_id}/members/{user_id}/auction-watches#

List a member’s price watches

Returns the linked member’s price watches, newest first, the same shape as /api/me/auction-watches.

Parameters

Name

In

Type

Required

Description

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

user_id

path

integer

yes

The member’s Discord user ID.

Response 200 — The member’s price watches.

Model: array of AuctionWatch

Type: array of AuctionWatch

POST /api/guilds/{guild_id}/members/{user_id}/auction-watches#

Add or update a member’s price watch

Same as POST /api/me/auction-watches, for the member linked to this Discord user.

Parameters

Name

In

Type

Required

Description

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

user_id

path

integer

yes

The member’s Discord user ID.

Request body

Model: AuctionWatchCreate

Field

Type

Required

Description

item_id

integer

yes

The item’s game ID.

max_unit_price

integer

yes

Alert when the item’s lowest unit price is at or below this, in copper.

Response 201 — The saved price watch.

Model: AuctionWatch

Field

Type

Required

Description

id

string (uuid)

yes

item_id

integer

yes

The item’s game ID.

item_name

string | null

yes

The item’s name, if Battle.net knows it.

icon_url

string | null

yes

The item’s icon, if Battle.net has one.

max_unit_price

integer

yes

Alert when the item’s lowest unit price is at or below this, in copper.

current_unit_price

integer | null

yes

The item’s current lowest unit price. Null if unpriced.

created_at

string (date-time)

yes

last_alerted_at

string (date-time) | null

yes

When this watch last queued an alert, if ever.

DELETE /api/guilds/{guild_id}/members/{user_id}/auction-watches/{item_id}#

Remove a member’s price watch

Same as DELETE /api/me/auction-watches/{item_id}, for the member linked to this Discord user.

Parameters

Name

In

Type

Required

Description

item_id

path

integer

yes

The item’s game ID.

guild_id

path

integer

yes

The Discord server ID. Only the SideQuest server works.

user_id

path

integer

yes

The member’s Discord user ID.

Response 204 — The price watch was removed.

GET /api/me/auction-watches#

List my price watches

Returns the signed-in member’s price watches, newest first, with each item’s current price.

Response 200 — The member’s price watches.

Model: array of AuctionWatch

Type: array of AuctionWatch

POST /api/me/auction-watches#

Add or update a price watch

Adds an item to the signed-in member’s price watches, or changes its threshold if it’s already there. A member may watch at most 25 items.

Request body

Model: AuctionWatchCreate

Field

Type

Required

Description

item_id

integer

yes

The item’s game ID.

max_unit_price

integer

yes

Alert when the item’s lowest unit price is at or below this, in copper.

Response 201 — The saved price watch.

Model: AuctionWatch

Field

Type

Required

Description

id

string (uuid)

yes

item_id

integer

yes

The item’s game ID.

item_name

string | null

yes

The item’s name, if Battle.net knows it.

icon_url

string | null

yes

The item’s icon, if Battle.net has one.

max_unit_price

integer

yes

Alert when the item’s lowest unit price is at or below this, in copper.

current_unit_price

integer | null

yes

The item’s current lowest unit price. Null if unpriced.

created_at

string (date-time)

yes

last_alerted_at

string (date-time) | null

yes

When this watch last queued an alert, if ever.

DELETE /api/me/auction-watches/{item_id}#

Remove a price watch

Removes one of the signed-in member’s own price watches.

Parameters

Name

In

Type

Required

Description

item_id

path

integer

yes

The item’s game ID.

Response 204 — The price watch was removed.