SWIFT Code API
The SWIFT Code API allows you to find the SWIFT Code(s) for any bank in the world. Our database contains hundreds of thousands of different bank branches and on file.
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 296ms | 327ms | 376ms | 630ms | 959ms |
Didn't find what you were looking for? Suggest an improvement
/v1/swiftcode GET
https://api.api-ninjas.com/v1/swiftcode
Returns a list of bank information (including SWIFT Code) that match the input parameter. Returns at most 100 results. For more results, use the offset parameter.
Parameters
At least one of the parameters below must be set.
swiftoptionalThe SWIFT Code of the bank to look up.
bankoptional premium onlyThe name of the bank to look up. This parameter supports partial matching (e.g.,
Silicon Valleywill matchSilicon Valley Bank).cityoptionalName of the city in which the bank is located.
countryoptionalISO 3166 2-letter country code of the bank's country.
offsetoptional annual premium subscriptions onlyThe number of results to offset for pagination. Default is 0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
swift_codeThe SWIFT/BIC code for the bank branch.
bank_namepremium onlyThe full official name of the bank.
addresspremium onlyThe full street address of the bank branch.
citypremium onlyThe city where the bank branch is located.
regionpremium onlyThe region where the bank branch is located. For US banks this is the 2-letter state code.
countryThe full name of the country where the bank is located.
country_codeThe ISO 3166 2-letter country code.
Sample Request Live Demo!
https://api.api-ninjas.com/v1/swiftcode?swift=BOFAUS3NHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
11
[
{
"swift_code": "BOFAUS3N",
"bank_name": "Bank of America, N.A.",
"address": "222 Broadway",
"city": "New York",
"region": "NY",
"country": "United States",
"country_code": "US"
}
]Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/swiftcode?bank=JPMORGAN%20CHASE%20BANK" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.