Quests#
GET /api/quests/areas#
List quest areas
Returns every quest zone Battle.net knows, for browsing to its quests. Answers 503 if Battle.net is not configured or did not answer.
Response 200 — Every quest zone.
Model: array of QuestAreaSummary
Type: array of QuestAreaSummary
GET /api/quests/areas/{area_id}#
Get a quest area
Returns one quest zone and the quests that take place there. Answers 404 if Battle.net has no such zone, 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The quest area’s game ID. |
Response 200 — The quest zone and its quests.
Model: QuestAreaSchema
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
|
|
string |
yes |
|
|
array of QuestSummary |
yes |
GET /api/quests/search#
Search quests
Finds quests with q in their title, case-insensitive, best matches first (an exact or prefix match before any other substring match). Battle.net has no quest name search, so this is built from every quest zone’s quest list and kept in memory for the process. Answers 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
yes |
Text to find in quest titles. |
|
query |
integer |
no |
The most results to return. |
Response 200 — Matching quests, best match first.
Model: array of QuestSearchResult
Type: array of QuestSearchResult
GET /api/quests/{quest_id}#
Get a quest
Returns one quest by its game ID: its description, zone, category, type, level requirements and rewards, plus the other quests it requires, excludes, leads to and the chain leading up to it. Description placeholders like {class} appear as Battle.net sends them. Answers 404 if Battle.net has no such quest, 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The quest’s game ID. |
Response 200 — The quest.
Model: QuestSchema
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
|
|
string |
yes |
|
|
string | null |
no |
|
|
string | null |
no |
|
|
string | null |
no |
|
|
string | null |
no |
|
|
integer | null |
no |
|
|
integer | null |
no |
|
|
boolean |
no |
|
|
boolean |
no |
|
|
boolean |
no |
|
|
yes |
||
|
array of QuestRequirementRef |
no |
Quests you must have completed first, flattened from Battle.net’s condition tree. |
|
array of QuestRef |
no |
Quests that, once completed, lock this one out (Battle.net’s |
|
array of QuestRef |
no |
Earlier quests leading up to this one, earliest first; does not include this quest. Found by following the first required prerequisite back at each step, capped at 25 steps. |
|
array of QuestRef |
no |
Quests whose prerequisites include this one, found by scanning this quest’s zone and the zones of any direct follow-ups found there. A follow-up quest that starts in a different, undiscovered zone may be missed. |