Lore archive · Warcraft Wiki, 2023 dump
API QueryAuctionItems
Last wiki revision 2023-05-03
Queries the server for information about current auctions, only when is true. QueryAuctionItems(text, minLevel, maxLevel, page, usable, rarity, getAll, exactMatch, filterData)
- text: - A part of the item's name, or an empty string; limited to 63 bytes.
- minLevel: - Minimum usable level requirement for items
- maxLevel: - Maximum usable level requirement for items
- page: - What page in the auctionhouse this shows up. Note that pages start at 0.
- usable: - Restricts items to those usable by the current character.
- rarity: - Restricts the quality of the items found.
- getAll: - Download the entire auction house as one single page; see other details below.
- exactMatch: - Will only items whose whole name is the same as searchString be found.
- filterData:
- Queries appear to be throttled at 0.3 seconds normally, or 15 minutes with getAll mode. The return values from indicate when each mode is permitted.
- getAll mode might disconnect players with low bandwidth. Also see relevant details on client-to-server traffic in
- text longer than 63 bytes might disconnect the player.
- If any of the entered arguments is of the wrong type, the search assumes a nil value.
- No effect if the auction house window is not open.
- In 4.0.1, getAll mode only fetches up to 42554 items. This is usually adequate, but high-population realms might have more.
Searches for rare items between levels 10 and 19: QueryAuctionItems("", 10, 19, 0, nil, nil, false, false, nil)
Searches for anything with the word "Nobles" in it, such as the Darkmoon card deck: /script QueryAuctionItems("Nobles", nil, nil, 0, false, nil, false, false, nil)
Source
https://warcraft.wiki.gg/wiki/API_QueryAuctionItems · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.