The interest rate you are quoted will be based on an overall assessment of your credit risk based on a number of factors, including your income, employment history, Debt to Income Ratio, credit history, and credit score. Your interest rate is also influenced by:
Down Payment. A greater down payment may possibly provide for a better interest rate.
What type of loan you get. Non-conforming loans typically carry higher rates than Conforming loans.
The term of the loan. The shorter the term of the loan, the better the Interest Rate.
Discount "Points" paid.