New Zealand NCC Validation
Validate New Zealand National Clearing Codes to confirm bank and branch routing details. This page follows the same clean UI as the main site while giving developers a focused validation guide.
A code can be checked before a payment is created, helping teams prevent failed transfers, manual repair work, delays, and support tickets.
For example, use 010001:
- 01 - bank code
- 0001 - branch code
How to validate
Start by creating an API key. Pass this key with the x-api-key HTTP header or with the api_key query parameter.
curl 'https://api.ibankdata.com/v1/ncc/010001' \
--header 'X-Api-Key: your-api-key-here' \
--header 'Accept: application/json'
<?php
$response = file_get_contents('https://api.ibankdata.com/v1/ncc/010001', false, stream_context_create([
'http' => ['header' => "X-Api-Key: your-api-key-here
Accept: application/json"]
]));
echo $response;
import requests
response = requests.get(
'https://api.ibankdata.com/v1/ncc/010001',
headers={'X-Api-Key': 'your-api-key-here', 'Accept': 'application/json'}
)
print(response.json())
const response = await fetch('https://api.ibankdata.com/v1/ncc/010001', {
headers: { 'X-Api-Key': 'your-api-key-here', 'Accept': 'application/json' }
});
console.log(await response.json());
fetch('https://api.ibankdata.com/v1/ncc/010001', {
headers: { 'X-Api-Key': 'your-api-key-here', 'Accept': 'application/json' }
})
.then(response => response.json())
.then(console.log);
The response should be:
{
"success": true,
"data": {
"id": "010001",
"bank": {
"name": "Example National Bank",
"code": "EXNB",
"country_id": "US"
},
"branch_name": "Main Office",
"city": { "name": "New York" },
"address": "100 Finance Avenue",
"postcode": "10001"
}
}
You can find full documentation here.