Cyber Monday Sale! Get over 30% off when you subscribe to an annual subscription plan!

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

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
296ms327ms376ms630ms959ms

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.

  • swift  optional

    The SWIFT Code of the bank to look up.

  • bank  optional premium only

    The name of the bank to look up. This parameter supports partial matching (e.g., Silicon Valley will match Silicon Valley Bank).

  • city  optional

    Name of the city in which the bank is located.

  • country  optional

    ISO 3166 2-letter country code of the bank's country.

  • offset  optional annual premium subscriptions only

    The number of results to offset for pagination. Default is 0.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

  • swift_code

    The SWIFT/BIC code for the bank branch.

  • bank_name premium only

    The full official name of the bank.

  • address premium only

    The full street address of the bank branch.

  • city premium only

    The city where the bank branch is located.

  • region premium only

    The region where the bank branch is located. For US banks this is the 2-letter state code.

  • country

    The full name of the country where the bank is located.

  • country_code

    The ISO 3166 2-letter country code.

Sample Request Live Demo!

swift
https://api.api-ninjas.com/v1/swiftcode?swift=BOFAUS3N

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
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.