Guides
Worked examples that end in a working page. Each one links to the endpoints it uses in the reference, and every block of code can be copied.
- Address autocomplete in plain JavaScriptAdd Australian address autocomplete to any HTML form with one script and no framework: a debounced call to the address API as someone types, a list to pick from, and the G-NAF id saved with the form.About 10 minutes
- Address autocomplete in ReactA small hook and a component that give a React form Australian address autocomplete from the Locio API, with debouncing, request cancellation and the picked address handed to the parent as a typed object.About 15 minutes
- Address autocomplete in VueA single file Vue 3 component that adds Australian address autocomplete to a form with the Locio API: script setup, a watched query with a debounce, request cancellation, and the picked address emitted to the parent.About 15 minutes
- Stand up a React site with Australian address searchFrom an empty folder to a deployed page: create a Vite React project, add address search backed by the Locio API with a public key, run it locally, build it and put it on a static host.About 20 minutes
- Put a searched address on a map with MapLibreAddress autocomplete that drops a pin on a MapLibre map as soon as an address is picked, with OpenFreeMap tiles so there is no second API key to manage, a pin that follows each pick, and a dark mode that does not leave a bright rectangle on the page.About 15 minutes
- Validate and geocode Australian addresses in PHPA small PHP client for the Locio API that checks whether an address is real, returns its G-NAF id and coordinates, and falls back to fuzzy matching for typos. Plain curl, no framework required, with a Laravel variant.About 15 minutes
- Use Locio from Claude Code, Claude Desktop and CursorConnect the address API to the agents you already use: one command for Claude Code, a connector for claude.ai and Claude Desktop, a JSON file for Cursor and VS Code. Then what to ask, and how to read the quota when an agent runs out.About 10 minutes
- Give an agent address tools with the Anthropic APITwo ways to let Claude validate and geocode Australian addresses from your own code: point the Messages API at the Locio MCP server and write no tool loop at all, or define the tools yourself over the REST API with the SDK's tool runner.About 15 minutes
- Clean a spreadsheet of addresses with an agentA complete Python script: read a CSV of addresses as people typed them, let Claude resolve each one through the Locio API, fall back to fuzzy matching for typos, and write a CSV with the G-NAF id, coordinates and a note for every row it could not settle.About 20 minutes