DEVELOPER API
Free SWIFT/BIC API
Use the public JSON API for code lookup, validation, country lists and bank directories. The reference tier requires no API key. Cache responses and verify payment-critical data with the receiving bank.
Base URL
https://bicswiftcode.com/api1. SWIFT/BIC lookup
GET /api/swift/{code}Returns bank, city, country, branch, address, postcode, status and SWIFT structure.
curl "https://bicswiftcode.com/api/swift/BKCHCNBJ"{
"ok": true,
"data": {
"code": "BKCHCNBJ",
"bank": "BANK OF CHINA",
"country": "China",
"countryCode": "CN",
"city": "BEIJING",
"status": "Active"
}
}2. Validate a code
GET /api/validate?code=BKCHCNBJThe response includes format validity and whether the code exists in the current database.
curl "https://bicswiftcode.com/api/validate?code=BKCHCNBJ"3. Country list
GET /api/countriesReturns country code, English name, Chinese name, SWIFT code count, bank count and city count.
curl "https://bicswiftcode.com/api/countries"4. Banks by country
GET /api/banks?country=CN&limit=100Returns banks for an ISO country code. The maximum limit is 500.
curl "https://bicswiftcode.com/api/banks?country=CN&limit=100"Response and usage notes
- Responses are JSON and include
ok,dataand optionalerrorfields. - CORS is enabled for browser-based integrations.
- Cache successful responses and avoid high-frequency polling.
- The public reference tier is provided as-is and may be rate limited during abuse.
- Do not use the API as the sole source for a payment decision. Confirm the final code with the receiving bank.