API GetAuctionSellItemInfo

From AuctionFrame.lua:

local name, texture, count, quality, canUse, price, pricePerUnit, stackCount, totalCount = GetAuctionSellItemInfo;

pretty self explanitory I hope.