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 |
|---|---|---|---|---|
|
query |
string |
yes |
Comma-separated item IDs, such as |
Response 200 — One price summary per requested item.
Model: AuctionPriceMap
Field |
Type |
Required |
Description |
|---|---|---|---|
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The item’s game ID. |
Response 200 — The item’s auction price.
Model: ItemAuctionPrice
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
The item’s game ID. |
|
integer | null |
yes |
The lowest unit price across every house, in copper. Null if nobody lists it. |
|
integer |
yes |
Total priced quantity across every house. |
|
array of AuctionHousePrice |
yes |
Every house currently pricing this item. |
|
array of AuctionTrendPoint |
yes |
The last 14 days of daily low prices. |
|
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 |
|---|---|---|---|---|
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
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 |
|---|---|---|---|---|
|
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 |
|---|---|---|---|
|
array of AuctionSyncHouse |
yes |
|
|
integer |
yes |
Distinct items priced by this sync. |
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
path |
integer |
yes |
The member’s Discord user ID. |
Request body
Model: AuctionWatchCreate
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
The item’s game ID. |
|
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 |
|---|---|---|---|
|
string (uuid) |
yes |
|
|
integer |
yes |
The item’s game ID. |
|
string | null |
yes |
The item’s name, if Battle.net knows it. |
|
string | null |
yes |
The item’s icon, if Battle.net has one. |
|
integer |
yes |
Alert when the item’s lowest unit price is at or below this, in copper. |
|
integer | null |
yes |
The item’s current lowest unit price. Null if unpriced. |
|
string (date-time) |
yes |
|
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The item’s game ID. |
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
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 |
|---|---|---|---|
|
integer |
yes |
The item’s game ID. |
|
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 |
|---|---|---|---|
|
string (uuid) |
yes |
|
|
integer |
yes |
The item’s game ID. |
|
string | null |
yes |
The item’s name, if Battle.net knows it. |
|
string | null |
yes |
The item’s icon, if Battle.net has one. |
|
integer |
yes |
Alert when the item’s lowest unit price is at or below this, in copper. |
|
integer | null |
yes |
The item’s current lowest unit price. Null if unpriced. |
|
string (date-time) |
yes |
|
|
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 |
|---|---|---|---|---|
|
path |
integer |
yes |
The item’s game ID. |
Response 204 — The price watch was removed.