{ "openapi": "3.0.4", "info": { "title": "Domain Public API", "description": "See https://developer.domain.com.au for more information", "termsOfService": "https://developer.domain.com.au/docs/latest/support/terms", "contact": { "name": "Domain Developer Support", "email": "api@domain.com.au" }, "version": "latest" }, "servers": [ { "url": "https://api.domain.com.au/", "description": "Primary" }, { "url": "https://api.domain.com.au/sandbox/", "description": "Sandbox" } ], "paths": { "/v1/addressLocators": { "get": { "tags": [ "AddressLocators" ], "summary": "Address Locator API", "description": "Retrieves address matching ids for use in other services.", "operationId": "AddressLocators_Get", "parameters": [ { "name": "searchLevel", "in": "query", "description": "Requested search level. Valid values are: Address, and Suburb.", "required": true, "schema": { "type": "string" } }, { "name": "unitNumber", "in": "query", "description": "Unit number of the address.", "schema": { "type": "string" } }, { "name": "streetNumber", "in": "query", "description": "Street number of the address.", "schema": { "type": "string" } }, { "name": "streetName", "in": "query", "description": "Street name of the address.", "schema": { "type": "string" } }, { "name": "streetType", "in": "query", "description": "Street type of the address. Can take long or short street type", "schema": { "type": "string" } }, { "name": "suburb", "in": "query", "description": "Suburb name of the address.", "required": true, "schema": { "type": "string" } }, { "name": "state", "in": "query", "description": "State abbreviation of the address.", "required": true, "schema": { "type": "string" } }, { "name": "postcode", "in": "query", "description": "Postcode of the address.", "schema": { "pattern": "^\\d{4}$", "type": "string" } } ], "responses": { "200": { "description": "Retrieve address IDs that may be used to query information from other endpoints." }, "400": { "description": "Bad request" }, "401": { "description": "Unauthorized" }, "500": { "description": "Unexpected error" } }, "security": [ { "apikey": [] }, { "oauth2": [ "api_addresslocators_read" ] } ], "x-domain-endpointcost": 1, "x-domain-usercontextrequired": false, "x-domain-environment": "Any" } }, "/v1/agencies": { "get": { "tags": [ "Agencies" ], "summary": "Retrieves summary of agencies matching the specified criteria.", "description": "\nThe ```q``` parameter supports:\r\n