Items#
GET /api/items#
Search items
Finds items with a whole word of q in their name, highest required level first, 50 to a page. Battle.net matches English word stems, so bless finds Blessed, but thund finds nothing. It stops at 1,000 results. 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 item names. |
|
query |
integer |
no |
The page, starting at 1. |
|
query |
array of ItemQuality | null |
no |
Only these qualities. Repeat the parameter for more than one. |
|
query |
string | null |
no |
Only this slot, such as |
Response 200 — One page of matching items.
Model: ItemSearchPage
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
This page’s number, starting at 1. |
|
integer |
yes |
How many pages the search has. |
|
array of ItemSearchResult |
yes |
GET /api/items/{item_id}#
Get an item
Returns one item by its game ID: quality, slot, levels, icon and the lines of its in-game tooltip. Answers 503 if Battle.net is not configured, or did not answer and the item was never stored.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The item’s game ID. |
Response 200 — The item.
Model: ItemSchema
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
The item’s game ID. |
|
string |
yes |
|
|
string |
yes |
Battle.net’s quality constant, such as |
|
string |
yes |
The quality as the game shows it, such as |
|
string |
yes |
The item class, such as |
|
string |
yes |
The item subclass, such as |
|
string |
yes |
Battle.net’s slot constant, such as |
|
string |
yes |
The slot as the game shows it, such as |
|
integer |
yes |
|
|
integer |
yes |
|
|
integer |
yes |
What a vendor pays, in copper. |
|
boolean |
yes |
|
|
string | null |
yes |
The item’s icon on Blizzard’s render server, if Battle.net has one. |
|
array of string |
yes |
The tooltip’s text lines in order, below the item’s name. |
|
ItemLootPrice | null |
yes |
What SQL charges for this item, or null if the loot rules don’t price its slot. |