SWIFT Code API Lookup Documentations

Our SWIFT Code API lookup function allows you to automate SWIFT Code Lookup by a simple HTTP GET request. For casual user who is not interested to use API, similar function is available in SWIFT Code page.

The function will return the result in either XML or JSON format. You can parse both format easily into various programming languages and platforms.

This page will describe on how to use our SWIFT Code API and the expected result you will receive from our systems.

As part of system security and protection, you require to have an API key in order to access our API function, which will be given once you register for API Access.

How to do SWIFT Code Lookup through API?

SWIFT Code Lookup through our API is very simple. What you need to do is make a GET request.

1. Obtain the Result in XML Format

The default result format is in XML. If you want to get the result in this format, simply follow the API request as below,



Input DataExplanation
[FORMAT]Specify the format of the output. Accept "xml" or "json"
[API_KEY]API Key assign to your account
[SWIFT]SWIFT Code which you would like to check.

XML Format Example



Expected Result in XML

  <bank>CITIBANK N.A.</bank>
  <city>NEW YORK,NY</city>
  <address>111 WALL STREET</address>
  <country>UNITED STATES OF AMERICA</country>

JSON Format Example



Expected Result in JSON

    "swift": "CITIUS33",
    "bank": "CITIBANK N.A.",
    "city": "NEW YORK,NY",
    "branch": "",
    "address": "111 WALL STREET",
    "postcode": "10043",
    "country": "UNITED STATES OF AMERICA",
    "countrycode": "US",
    "valid": "true"

Error Messages

In some cases, the API may return a response containing error message. Below you can find a description of all possible error messages.

Error IDError MessageExplanation
1001API Key Not SpecifiedYou need to specify your API Key while making API request. Kindly check the API Key in user area.
1002Invalid API KeyPlease make sure that you specify the correct API Key assign to your account. Kindly check the correct API Key in the user area.
1003Suspended API KeyYour API Key was suspended due to system abuse. Kindly contact support.
1004API Usage Limit ExceededYou have exceeded the daily limit allocated to your account. You may purchase additional credit in the user area.
1005SWIFT Code Not SpecifiedYou need to specify SWIFT Code you want to check.
1006Invalid SWIFT CodePlease make sure that you specify SWIFT Code in the correct format.
1007SWIFT Code Not FoundThe SWIFT Code that you submitted is not found in our database.