Observed since 20 Oct, 17:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python wrapper for the Australian Business Register (ABR) ABN Lookup API.
Unofficial Python client for the Australian ABN Lookup API. Provides typed responses, a simple interface, and easy integration for retrieving ABN details in Python applications. Community-driven and lightweight with zero external dependencies.
urllib), making it lightweight and easy to install anywhere.pip install abn-lookup
You must register for a GUID at:
http://abr.business.gov.au/Webservices.aspx
from abnlookup import ABNLookupClient
# Initialize client with your GUID
client = ABNLookupClient(guid="YOUR_GUID_HERE")
Retrieves detailed information for a specific Australian Business Number.
result = client.search_by_abn("51 835 430 479")
print(f"Company: {result.legal_name.name}")
print(f"Status: {result.abn_status.status_code}")
print(f"Type: {result.entity_type}")
print(
f"Address: "
f"{result.main_business_location.state} "
f"{result.main_business_location.postcode}"
)
# Check for specific funds (if available)
if result.approved_worker_entitlement_fund:
print(f"AWEF: {result.approved_worker_entitlement_fund}")
Retrieves detailed information using an ASIC number.
result = client.search_by_asic("123 456 789")
print(f"ABN: {result.abn}")
if result.dgr_item_number:
print(f"DGR Item: {result.dgr_item_number}")
Returns a list of entities matching a name query.
results = client.search_by_name(
name="Test Company",
state="NSW",
postcode="2000",
min_score=90,
)
for item in results:
print(f"{item.name} (ABN: {item.abn}) - Score: {item.score}")
The library supports several specialised search methods that return lists of matches.
# Get all active ABNs in a specific postcode
results = client.search_by_postcode(postcode="2000")
# Specific status filters
results = client.search_by_abn_status(
postcode="2000",
active_only=True,
gst_registered_only=True,
)
results = client.search_by_charity(
state="VIC",
charity_type_code="ADVANCEMENT OF RELIGION", # Optional
)
# Find ABNs registered in a specific month and year
results = client.search_by_registration_event(
month=1,
year=2024,
state="QLD",
)
The library uses custom exceptions for predictable error handling.
from abnlookup import (
ABNLookupClient,
ABNNotFoundError,
APIConnectionError,
)
try:
client.search_by_abn("00 000 000 000")
except ABNNotFoundError:
print("That ABN does not exist.")
except APIConnectionError:
print("Could not connect to the ABN Lookup service.")
except Exception as e:
print(f"An unexpected error occurred: {e}")
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 10 Jan 2026 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:591ce34b1ee40e4ec4292956a4223ec67dae7bb0ac3b29fab03eaa6907cf288c