Developer Guide

Integrate Addlookup

Complete implementation, access, security, operations, and API reference for approved school systems.

Service Overview

Addlookup is a server-side Australian address lookup API maintained by Providence Christian College. It helps approved K-12 school systems search addresses, localities, postcodes, and nearby addresses from coordinates.

Browser Form To Backend To Addlookup API The browser must call your application, not Addlookup directly. Your backend validates the request, adds the private API key, calls Addlookup, and returns the fields your form needs.
ItemDetails
Base URLhttps://addlookup.providence.wa.edu.au
AudienceApproved K-12 school systems. See pricing and eligibility.
Data SourceMay 2026 address dataset, Australian address reference data.
AuthenticationX-API-Key header on every server-side /api/* request.
Browser AccessNot supported. Use a backend proxy route in your application.
Manual EntryRequired. Address lookup must assist users, not prevent manual correction.

Fair Use and Rate Limits

Fair use covers normal interactive address lookup in approved school systems, such as enrolment forms, parent portals, CRM records, and internal administration workflows.

LimitCurrent ValueNotes
Authenticated API ceiling120 requests per 60 seconds per IP and API keyRequests above this return 429.
Address result limit1 to 20 resultsDefault is 10.
Locality/postcode result limit1 to 50 resultsDefault is 10.
Reverse lookup radius50 to 1000 metresDefault is 1000 metres.

Bulk address cleansing, database imports, scraping, load testing, public widgets, or non-school commercial use are not fair use. Contact Providence Christian College before running any high-volume or batch process.

Quick Start

  1. Request AccessReview pricing and eligibility, then send the implementation details from the access page.
  2. Store the Key SecurelyUse an environment variable such as ADDLOOKUP_API_KEY. Do not commit keys to source control.
  3. Create a Backend RouteYour route should accept a short query string, validate it, call Addlookup, and return suggestions to the browser.
  4. Wire Up the FormCall your backend as the user types, display suggestions, and copy the selected structured fields into your form model.
  5. Keep Manual Entry AvailableAddress lookup is assistive. Users must still be able to enter or correct an address manually.

Security Requirements

All production integrations must keep the API key private and must fail safely when lookup is unavailable.

RequirementImplementation Guidance
Server-side key storageStore the key in an environment variable or secret manager such as ADDLOOKUP_API_KEY.
No browser key exposureDo not place the key in JavaScript, HTML, mobile app bundles, public config, or source control.
Input validationTrim query text, require at least 3 characters for address search, and bound parameter lengths.
DebouncingDebounce autocomplete calls before they hit your backend to avoid unnecessary load.
Safe loggingPrefer status codes, timing, and request IDs. Avoid logging full submitted addresses unless your policy requires it.
Manual fallbackAllow manual address entry if lookup returns no results, times out, or returns an error.

Key Lifecycle

EventAction
New integrationRequest a key and test through a backend proxy before release.
Staff or vendor changeReview who has access to the key and rotate if needed.
Suspected exposureRemove the key from the exposed location, contact Providence Christian College, and rotate the key.
Retired systemRequest revocation once the system no longer needs access.

Frontend Integration Pattern

Your frontend should call your own backend endpoint. The example below assumes your application exposes /address-suggestions and returns the Addlookup response payload.

<input id="addressSearch" autocomplete="off" placeholder="Start typing an address">
<div id="addressResults"></div>

<script>
const input = document.querySelector("#addressSearch");
const results = document.querySelector("#addressResults");
let timer;

input.addEventListener("input", () => {
  clearTimeout(timer);
  const q = input.value.trim();

  if (q.length < 3) {
    results.innerHTML = "";
    return;
  }

  timer = setTimeout(async () => {
    const params = new URLSearchParams({ q, state: "WA" });
    const response = await fetch("/address-suggestions?" + params.toString());
    const payload = await response.json();

    const buttons = (payload.results || []).map((address) => {
      const button = document.createElement("button");
      button.type = "button";
      button.dataset.addressId = address.address_id;
      button.textContent = address.display_address;
      return button;
    });

    results.replaceChildren(...buttons);
  }, 250);
});
</script>

Backend Proxy Examples

Minimal Node/Express Proxy

import express from "express";

const app = express();
const apiKey = process.env.ADDLOOKUP_API_KEY;

app.get("/address-suggestions", async (req, res) => {
  const query = String(req.query.q || "").trim();
  const state = String(req.query.state || "").trim().toUpperCase();

  if (query.length < 3) {
    return res.status(400).json({ results: [], error: "Enter at least 3 characters." });
  }

  const url = new URL("https://addlookup.providence.wa.edu.au/api/address");
  url.searchParams.set("q", query);
  url.searchParams.set("limit", "10");
  if (state) url.searchParams.set("state", state);

  const response = await fetch(url, {
    headers: { "X-API-Key": apiKey }
  });

  const payload = await response.json();
  res.status(response.status).json(payload);
});

Minimal PHP Proxy

<?php
$apiKey = getenv('ADDLOOKUP_API_KEY');
$query = trim((string)($_GET['q'] ?? ''));
$state = strtoupper(trim((string)($_GET['state'] ?? '')));

if (strlen($query) < 3) {
    http_response_code(400);
    header('Content-Type: application/json');
    echo json_encode(['results' => [], 'error' => 'Enter at least 3 characters.']);
    exit;
}

$params = http_build_query([
    'q' => $query,
    'state' => $state,
    'limit' => 10,
]);

$ch = curl_init('https://addlookup.providence.wa.edu.au/api/address?' . $params);
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['X-API-Key: ' . $apiKey],
]);

$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE) ?: 502;
curl_close($ch);

http_response_code($status);
header('Content-Type: application/json');
echo $body;

Laravel Route Example

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Route;

Route::get('/address-suggestions', function (Request $request) {
    $query = trim((string) $request->query('q', ''));

    if (mb_strlen($query) < 3) {
        return response()->json([
            'results' => [],
            'error' => 'Enter at least 3 characters.',
        ], 400);
    }

    $response = Http::withHeaders([
        'X-API-Key' => config('services.addlookup.key'),
    ])->get('https://addlookup.providence.wa.edu.au/api/address', [
        'q' => $query,
        'state' => strtoupper((string) $request->query('state', '')),
        'limit' => 10,
    ]);

    return response()->json($response->json(), $response->status());
});

Endpoints

Base URL: https://addlookup.providence.wa.edu.au. Every /api/* request must include the assigned X-API-Key header from your backend.

GET /api/address?q={query}&state={state}&limit=10Autocomplete and address search.
GET /api/address/{address_id}Single address lookup by address ID.
GET /api/localities?q={prefix}&state={state}&postcode={prefix}Locality and postcode pairs.
GET /api/postcodes?q={prefix}&state={state}&locality={prefix}Postcode and locality pairs.
GET /api/reverse?lat={latitude}&lon={longitude}&radius=1000Nearest addresses inside the capped search radius.
GET /api/metaDataset metadata and capabilities.

Parameters

NameApplies toUse
qAddress, localities, postcodesSearch text or prefix. Address search requires at least 3 characters.
stateAddress, localities, postcodesOptional Australian state or territory filter: ACT, NSW, NT, OT, QLD, SA, TAS, VIC, WA.
postcodeAddress, localitiesOptional postcode prefix filter, useful when a form already knows the postcode.
localityAddress, postcodesOptional locality prefix filter, useful when narrowing suburb or town choices.
streetAddressOptional street-address prefix filter for address search.
limitAll list routesBounded result count. Address routes allow 1 to 20. Locality and postcode routes allow up to 50.
lat, lonReverse lookupLatitude and longitude within Australia.
radiusReverse lookupSearch radius in metres, from 50 to 1000. Default is 1000.

Response Fields

Address results include a display label for users and structured fields for storage. Store the structured fields where possible rather than trying to parse the display label later.

{
  "query": "55 hunter street sydney",
  "count": 1,
  "results": [{
    "address_id": "GANSW706005135",
    "display_address": "55 HUNTER STREET SYDNEY NSW 2000",
    "street_address": "55 HUNTER STREET",
    "locality_name": "SYDNEY",
    "state": "NSW",
    "postcode": "2000",
    "latitude": "-33.8666958",
    "longitude": "151.2103152",
    "components": {
      "street_address": "55 HUNTER STREET",
      "locality": "SYDNEY",
      "state": "NSW",
      "postcode": "2000",
      "country": "Australia"
    }
  }]
}
FieldMeaning
address_idThe stable address identifier. Use it when you need to retrieve the same address again.
display_addressA complete formatted address suitable for showing in a suggestion list.
street_addressStreet number, street name, and street type where available.
locality_nameSuburb, town, or locality.
stateAustralian state or territory code.
postcodeAustralian postcode.
latitude, longitudeCoordinates where available in the source data. Treat them as strings or decimals in your application.
componentsA grouped version of the main address fields, including country.

Meta Response

{
  "dataset": "May 2026 address dataset",
  "scope": "Australia",
  "capabilities": [
    "autocomplete",
    "structured_filters",
    "pid_lookup",
    "reverse_lookup",
    "localities",
    "postcodes"
  ],
  "counts": {
    "address_count": 16025964,
    "postcode_count": 2640,
    "locality_count": 15296
  }
}

Error Handling

Applications should handle unsuccessful responses without blocking manual address entry. Show a short message, keep the form usable, and allow the user to continue.

StatusMeaningRecommended handling
400The request is missing required input or the query is too short.Ask the user for more characters or check the parameters sent by your backend.
401The API key is missing or invalid.Check server configuration. Do not expose this detail to end users.
404A requested address ID was not found.Let the user search again or continue manually.
405The route was called with the wrong HTTP method.Use GET.
429Too many requests in a short period.Debounce autocomplete, retry later, and keep manual entry available.
{
  "error": "Enter at least 3 characters.",
  "query": "ab",
  "count": 0,
  "results": []
}

Privacy and Data Handling

Addlookup returns Australian address reference data. Your application remains responsible for how user-submitted address information is collected, stored, displayed, and logged.

AreaGuidance
User InputOnly send the text required to perform the lookup. Do not send unrelated student, parent, or staff information.
Application LogsAvoid logging complete user-submitted addresses unless your organisation has a specific operational or compliance reason.
StorageStore structured address fields and the address ID where useful. Keep manual corrections visible in your own system.
DisclosureDo not expose API responses beyond the approved school system or integration.

Dataset and Updates

The service is currently backed by the May 2026 address dataset. Dataset counts are available through authenticated GET /api/meta requests so applications can display or audit the active data release if needed.

ItemCurrent Value
DatasetMay 2026 address dataset
Addresses16,025,964
Postcodes2,640
Localities15,296
Update PolicyDataset updates are applied when a new approved import is prepared and validated for this service.

Operations and Support

TopicDetails
Status CheckUse public GET /health for a basic service health response.
Support ContactUse the access request form with the application name, request time, endpoint, and status code.
AvailabilityProvided on a best-effort basis for approved K-12 education integrations.
Timeout HandlingYour application should set a backend timeout and fall back to manual address entry.
Change NoticesTechnical contacts supplied during access approval are used for material access or service notices.

Terms of Use

  • Use is limited to approved school systems and integrations.
  • The API key must remain server-side and must not be shared publicly.
  • Users must be able to manually enter, edit, or correct an address.
  • Do not use the service for bulk data extraction, resale, scraping, public lookup tools, or unrelated commercial use.
  • Providence Christian College may suspend or rotate access for exposed keys, abusive traffic, or use outside the approved scope.
  • The service assists address entry; consuming systems remain responsible for user experience, validation, privacy compliance, and final stored data.

Troubleshooting

ProblemLikely CauseAction
401 UnauthorizedMissing or incorrect API key.Check the backend environment variable and X-API-Key header.
400 for address searchQuery is shorter than 3 characters.Wait until the user has typed at least 3 characters.
429Too many requests in a short period.Debounce frontend requests and reduce backend retries.
No suggestionsSearch text, state, postcode, or locality filter is too narrow.Relax filters and keep manual entry available.
Browser request blockedDirect browser calls are not supported.Call your own backend route instead.
Coordinates rejectedLatitude or longitude is outside the accepted Australian bounds.Validate coordinates before calling reverse lookup.

Production Checklist

  • Access approved for the school, system, and integration purpose.
  • Keep X-API-Key on the server and rotate it if it is exposed.
  • Debounce browser autocomplete requests before they reach your backend.
  • Validate and bound user input before sending it to Addlookup.
  • Store structured fields rather than only storing the display label.
  • Allow manual address entry and correction at all times.
  • Handle empty results, API errors, and timeouts without blocking form submission.
  • Avoid logging complete addresses unless your organisation requires it.
  • Confirm your application handles 400, 401, 404, 405, 429, and 503.
  • Document where the key is stored, who can access it, and how it will be rotated.