// API Reference
Verify Entity
POST /api/enterprise/verify — the core KYB endpoint.
Endpoint
endpoint
POST https://app.osapher.com/api/enterprise/verifyRequest body
| Field | Type | Required | Description |
|---|---|---|---|
queryValue | string | Yes | ABN (11 digits) or NZBN (13 digits) |
jurisdiction | string | Yes | AU or NZ |
Response fields
| Field | Type | Description |
|---|---|---|
legalName | string | Legal entity name from the government registry |
abn | string | Australian Business Number (AU only) |
nzbn | string | New Zealand Business Number (NZ only) |
entityType | string | Entity classification e.g. Australian Private Company |
abnStatus | string | Active, Cancelled, or other registry status |
gstRegistered | string | GST registration status from the registry |
registeredState | string | State or territory of registration (AU) |
registeredDate | string | Date of registration (ISO 8601) |
fractureScore | number | Risk score 0–100. Lower is better. |
fractureRisk | string | low, medium, high, or critical |
fractureSignals | array | Risk signals that contributed to the score |
status | string | verified, not_found, or error |
HTTP status codes
| Code | Meaning |
|---|---|
200 | Verification completed successfully |
400 | Invalid request — missing or malformed fields |
401 | Unauthorised — missing or invalid API key |
422 | Invalid ABN or NZBN format |
429 | Rate limit exceeded |
500 | Server error — registry may be unavailable |
Examples
Verify an Australian ABN
shell
curl -X POST https://app.osapher.com/api/enterprise/verify \
-H "Authorization: Bearer vnt_ent_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"queryValue": "22222222222",
"jurisdiction": "AU"
}'Verify a New Zealand NZBN
shell
curl -X POST https://app.osapher.com/api/enterprise/verify \
-H "Authorization: Bearer vnt_ent_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"queryValue": "YOUR_NZBN_HERE",
"jurisdiction": "NZ"
}'Example response
response
{
"result": {
"legalName": "Acme Corp Pty Ltd",
"abn": "22222222222",
"nzbn": null,
"entityType": "Australian Private Company",
"abnStatus": "Active",
"gstRegistered": "Registered",
"registeredState": "NSW",
"registeredDate": "2010-03-15",
"fractureScore": 0,
"fractureRisk": "low",
"fractureSignals": [],
"status": "verified"
}
}