Entity lookup (PREVIEW)
Note
This endpoint is currently in preview and is subject to breaking changes. It is based on a different request format than the rest of the bronID API.
Authentication
Read the authentication guide at API Authentication (PREVIEW)
Request format
Method
GET
Parameters
Name | Type | Description |
---|---|---|
country | string | 3 letter country ISO |
id | string | The id of the entity to look up. |
Response
The response is a JSON object.
Name | Type | Description |
---|---|---|
match | boolean | Indicates if the entity was found. |
country | string | 3 letter country ISO |
name | string | The main name of the entity. |
names | array | An array of objects containing the different names the entity is known by. |
entityNumber | string | The main entity number of the entity. |
entityNumbers | array | An array of objects containing the different entity numbers (ABN, ACN, NZBN etc.) the entity is known by. These are dependent on the country. |
entityStatus | string | Text description of the entity status as found in the registry. |
entityType | string | Text description of the bronID entity type. (Private Company, Public Company, etc.) |
entityTypeCode | string | The value of the entity type as it should be submitted to bronID verifications. (privateCompany, publicCompany, etc.) |
address | object or null | The address of the entity. |
Names array
The names array contains the different names the entity is known by.
Name | Type | Options | Description |
---|---|---|---|
value | string | The name of the entity. | |
type | string | businessName, tradingName, formerName | The type of the name. |
Entity numbers array
The entity numbers array contains the different entity numbers the entity is known by.
Name | Type | Options | Description |
---|---|---|---|
value | string | The entity number. | |
type | string | ABN, ACN, NZBN, etc. | The type of the entity number. The options are dependent on the country. |
Address object
The address object contains the address of the entity.
Name | Type | Description |
---|---|---|
text | string or null | The address of the entity as a single line of text. |
state | string or null | The state of the address. |
postcode | string or null | The postcode of the address. |
Request examples
// api endpoint https://dev.bronid.com/v5/lookup
const apiCall = 'https://dev.bronid.com/v5/lookup?country=AUS&id=123123123';
// GET request with parameters
fetch(apiCall)
.then(response => response.json())
.then(data => {
if (data.match) {
console.log('Entity found:', data);
} else {
console.log('Entity not found', data);
}
});
Sample response (matched):
HTTP Status 200
{ "match": true, "country": "AUS", "name": "TELSTRA CORPORATION LIMITED", "names": [ { "value": "TELSTRA INFRACO", "type": "businessName" }, { "value": "TELECOM AUSTRALIA", "type": "businessName" }, { "value": "TELSTRA", "type": "tradingName" }, { "value": "TELSTRA CORPORATION LIMITED", "type": "tradingName" }, // ... ], "entityNumber": "33051775556", "entityNumbers": [ { "value": "33051775556", "type": "ABN" }, { "value": "051775556", "type": "ACN" } ], "entityStatus": "Active", "entityType": "Australian Public Company", "entityTypeCode": "publicCompany", "address": { "text": "VIC 3000", "state": "VIC", "postcode": "3000" } }
Sample response (not matched):
HTTP Status 404
{ "match": false, "message": "Could not find entity." }