There are public records that will note a transfer amount from the trustee sale. That amount will include the mortgage balance of the first plus late fees, foreclosure fees etc that the bank may have incurred. There will not be a record of any subordinate liens that may have been wiped out.
Going back in the history of the property, it is possible to get a bit more information about the debts the borrower may have had on the property, but without a preliminary title report, the exact figures may not be known.
Once the bank has taken over a property, the amount that is "owed" is no longer relevant. The bank's objective is to sell the home quickly for as close to market price as possible. A local knowledgeable agent should be able to provide you with a market analysis for a property and an idea of what similar bank owned properties have been selling for.
I hope that helps.