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.
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
Call /v1/resolve with the address. Check the confidence and flags. This call is free.
Call /v1/site for every source, or /v1/site/:source for one. Your agent gets JSON with named fields.
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
/v1/resolve?address= freeMatch 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.
/v1/site?address= meteredLook up one address in every NSW source. It returns one result for each source.
/v1/site/:source?address= meteredLook 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.
/v1/sources freeList the sources, so your agent can choose the one it needs. This call does not need a key.
{ "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" } } }
Each value has a confidence and a provenance object with its source, url and retrieved_at. Some values also have a licence or clause.
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.
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.
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.