For agents and integrations

Agent API

Let your AI agent look up NSW planning data, or connect the data to your own tools. Send an address over HTTP and get JSON, with a source for every value. A$0.20 per address.

Quickstart
curl -H "Authorization: Bearer $XYREF_KEY" \
  "https://www.xyref.com/api/v1/site?address=7+Webb+Street+North+Parramatta+NSW+2151"

How an agent uses it

01/ Match

Call /v1/resolve with the address. Check the confidence and flags. This call is free.

02/ Look up

Call /v1/site for every source, or /v1/site/:source for one. Your agent gets JSON with named fields.

03/ Cite

Use each value with its source, request URL and time. A person can then check the answer.

It works with any agent or tool that can send an HTTP request with an API key. Add the calls to your agent as tools, or import the OpenAPI file. The engine that returns the data uses fixed rules, not an AI model.

Endpoints

GET /v1/resolve?address= free

Match an address to the register. It returns the matched address, coordinates, confidence and flags, and register ids where available. Your agent can check the match before it pays for a lookup.

GET /v1/site?address= metered

Look up one address in every NSW source. It returns one result for each source.

GET /v1/site/:source?address= metered

Look up one source only, such as planning, parcel or transport. Use an id from /v1/sources. The address counts once in a billing month, for any number of sources.

GET /v1/sources free

List the sources, so your agent can choose the one it needs. This call does not need a key.

One source result, shortened
{
  "id": "planning",
  "ok": true,
  "fields": {
    "zone": {
      "value": { "code": "R3", "name": "Medium Density Residential" },
      "provenance": {
        "source": "NSW ePlanning Spatial Services",
        "url": "https://mapprod1.environment.nsw.gov.au/...",
        "retrieved_at": "2026-11-30T19:29:41.100Z",
        "licence": "CC BY 4.0 (...)"
      },
      "confidence": "authoritative",
      "clause": "LEP Part 2 Land Use Table"
    }
  }
}
Receipts in JSON

Each value has a confidence and a provenance object with its source, url and retrieved_at. Some values also have a licence or clause.

Failures are named

If a source fails, its result has ok: false and the error. Results from the other sources still come back. A result can also have some values and an errors list, so your agent must check both.

Billing

A new address costs A$0.20 from your credit. The same address counts once in a billing month. An address that does not match is not charged. Calls that need credit stop when it runs out.

Limits and errors

Each account can make 60 match calls and 30 lookups a minute. Lookups cover NSW only. Errors: 400 no address, 401 bad key, 402 not enough credit, 404 no match or wrong source, 422 outside NSW and 429 too many calls.

XY:REF

Live read of public sources — not a s10.7 certificate. Incorporates data from the NSW and Victorian Governments and Geoscape Australia under their respective open licences.

We pay respect to the Traditional Custodians, Traditional Owners and First Peoples of NSW and Victoria, and acknowledge their continued connection to Country and culture.