This is in beta. If you find something wrong, let us know

ANZSIC code search

Getting Started

Using the API



The search service is available at this URL:

The service takes a single parameter s which is a string containing your search terms separated by spaces.

The service will return an array of JSON objects, ordered by relevance and limited to 20 results.

codeThe 5-digit ANZSIC category code
parsedTextUnparsed text modified to allow efficient searching. This is what the query terms have been searched against
unparsedTextThe natural language description of the ANZSIC category
scoreWeighted closeness score, a decimal value between 0 and 10
rankInteger closeness ranking within the results

Example code

Here is a basic example webpage that uses AJAX to query the service and display the results.

Note that in this example, on the the 'code' and 'unparsedText' fields are displayed.

<!DOCTYPE html>
<html xmlns="">
 <title>PoCC Search</title>
 <h2>Search for a Classification</h2>
 <input type="text" id="search" size="20" />
 <input type="button" id="searchButton" value="Search" onclick="find();" />
 <ol id="results" />
 <script src=""></script>
 var uri = '';
 function formatItem(item) {
 return item.code + ": " + item.unparsedText;
 function find() {
 var id = $('#search').val();
 $.getJSON(uri + id)
 .done(function (data) {
 $('#results').text(''); //clear previous search results
 $.each(data, function (key, item) {
 $('<li>', { text : formatItem(item) }).appendTo($('#results'));
 .fail(function (jqXHR, textStatus, err) {
 window.alert('Error: ' + err);
 $('#search').keyup(function(event) {
 if (event.keyCode === 13) {

Last edited: 28 Feb 2020, 12:16:01