Database of swift codes exist?

Yes -

There are two ways to get the SWIFT Code or BIC database.

First is directly through SWIFT at https://www2.swift.com/directories/ but you must be a member and you must join SWIFT. Pricing is not disclosed unless you are a SWIFT member.

Second is http://bic-database.com where you can order it for $189.00 on CD ROM. The BIC code is the same as the SWIFT code.