GET /v1/abn-validateValidate Australian Business Number (ABN)
Validation Utils lf-validation-utils
Checks whether a number is a real Australian Business Number. Validates an Australian Business Number (ABN) using the official ATO checksum algorithm (mod 89). Strips spaces and dashes automatically.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
abn | string | Yes | ABN to validate (11 digits) |
input | string | No | Alias for abn |
Response Schema
success (boolean): Operation success
input (string): Original input
abn (string): Normalized ABN
valid (boolean): Whether valid
type (string): Identifier type
format (string): Output format
cURL Example
curl 'https://lf-validation-utils.laminarforge.dev/v1/abn-validate?abn=<abn>' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/abn-validate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'abn': '<abn>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())