There are three important paragraphs in the contract that should allow you to get your earnest money returned. The Finance Contingency, the Appraisal Contingency and the Home Inspection Contingency are the three important paragraphs. Your Realtor should have made sure that all of these items were properly fill out so that you would receive your earnest money back if there were issues with any of them. They allow you to receive your earnest money back if you cannot get financing, the property doesn't appraise high enough or if the home inspection found something in the house that is unacceptable. The contract that you signed is a binding contract between all parties involved and all parties have to perform. I would recommend that you contact the attorney that was going to assist you with closing on this property. One other thing, is that it can take up to 30 days to receive the earnest money back after a Release of Contract has been signed. Good Luck.