Market report#
GET /api/guilds/{guild_id}/market-report#
Get the market report for the bot
The same report members see, for the bot’s daily post. Answers 404 before the first price feed, or 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. |
|
query |
string |
no |
|
Response 200 — The market report.
Model: MarketReport
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
|
|
string |
yes |
The auction house the numbers come from. |
|
string (date-time) |
yes |
When the auction house data was taken. |
|
boolean |
yes |
Whether the data is more than 36 hours old. |
|
string (date) |
yes |
The first whole day the report covers. |
|
string (date) |
yes |
The last whole day the report covers: the day before |
|
array of MarketGatherSection |
yes |
One section per gathering profession. |
|
array of MarketCraftSection |
yes |
One section per crafting profession. |
|
array of MarketMover |
yes |
Biggest price rises, largest first. |
|
array of MarketMover |
yes |
Biggest price drops, largest first. |
POST /api/market/feed#
Send the market feed
Replaces one auction house’s item numbers and recipes. Needs the X-Market-Key header. Answers 503 while the site has no feed key set.
Request body
Model: MarketFeed
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
The auction house’s Battle.net ID. |
|
string |
yes |
The house’s name. |
|
string (date-time) |
yes |
When the auction house data behind these numbers was taken. |
|
array of MarketFeedItem |
yes |
Every item the report may use. |
|
array of MarketFeedRecipe |
yes |
Every recipe the report may use. |
Response 201 — How many items and recipes were stored.
Model: MarketFeedReceipt
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
Items stored. |
|
integer |
yes |
Recipes stored. |
GET /api/market/report#
Get the market report
What to gather and craft for gold on the guild’s auction house: the best materials per gathering profession with where to find them, the best crafts per crafting profession with their material costs, and the biggest price moves. Answers 404 before the first price feed.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
no |
|
Response 200 — The market report.
Model: MarketReport
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
|
|
string |
yes |
The auction house the numbers come from. |
|
string (date-time) |
yes |
When the auction house data was taken. |
|
boolean |
yes |
Whether the data is more than 36 hours old. |
|
string (date) |
yes |
The first whole day the report covers. |
|
string (date) |
yes |
The last whole day the report covers: the day before |
|
array of MarketGatherSection |
yes |
One section per gathering profession. |
|
array of MarketCraftSection |
yes |
One section per crafting profession. |
|
array of MarketMover |
yes |
Biggest price rises, largest first. |
|
array of MarketMover |
yes |
Biggest price drops, largest first. |