API C AuctionHouse.SendBrowseQuery

Queries the auction house using search parameters.
 C_AuctionHouse.SendBrowseQuery(query)
==Arguments==
:;query:
Field 	Type	Description
searchString 	 	Case insensitive
sorts 	 	This appears to expect at least a certain combination of sort types, e.g. price and name.
minLevel 	 	
maxLevel 	 	
filters 	 	Requires at least one filter in order to show something.
itemClassFilters	 	
 AuctionHouseItemClassFilter
Field 	Type	Description
classID 	 	ItemType
subClassID 	 	
inventoryType	 	
==Example==
Queries auctions, sorted by price and then name. Shows only items from Poor to Epic quality.
local btn = CreateFrame("Button", nil, UIParent, "UIPanelButtonTemplate")
btn:SetPoint("CENTER")
btn:SetSize(120, 40)
btn:SetText("Example")
btn:SetScript("OnClick", function(self, button)
	local query = {
		searchString = "",
		sorts = {
			{sortOrder = Enum.AuctionHouseSortOrder.Price, reverseSort = false},
			{sortOrder = Enum.AuctionHouseSortOrder.Name, reverseSort = false},
		},
		filters = {
			Enum.AuctionHouseFilter.PoorQuality,
			Enum.AuctionHouseFilter.CommonQuality,
			Enum.AuctionHouseFilter.UncommonQuality,
			Enum.AuctionHouseFilter.RareQuality,
			Enum.AuctionHouseFilter.EpicQuality,
		},
	}
	C_AuctionHouse.SendBrowseQuery(query)
end)
==Patch changes==
==See also==
* () - Query a specific ItemID.
* () - Download the entire auction house.