The Motor API has been developed for browsing, verifying and obtaining detailed Information related to motor dealer, recycler, repairers, and motor tradespersons.
This search is restricted to information which NSW Fair Trading is required to maintain under the Motor Dealers and Repairers Act 2013 from 1 December, 2014 onwards.
The NSW Government amended the Motor Dealers and Repairers Act 2013 (the Act) on 29 June 2018 to allow an expired Motor Vehicle Tradesperson Certificate to be considered as ‘current’ until the anniversary of the certificate’s expiry date in 2019. Certificate holders have until the anniversary of their expiry in 2019 to renew. In the interim, certificates shown as expired in the register may be recognised as current.
NSW Fair Trading disclaims all responsibility and all liability (including without limitation, liability in negligence) for all expenses, losses, damages and costs which you might incur as a result of the information being inaccurate or incomplete in any way, and for any reason.
Browse – Provides an option to enter in partial information that returns a list of results based on the search criteria. This service is targeted for non-specific search parameters like names. The results are limited to a maximum number of 200 returns to avoid unnecessary loads on the services. The result of the Browse search provides a limited set of base level data as defined below.
Verify – Similar to the browse API, however Verify can be used with more specific parameters such as Licence Number, where only one record is expected to be returned. This also provides a limited set of licence specific information that can be used for licence validation.
Detail – The Detail API is to be used with details provided from either of the browse or verify API’s and will only return one record at a time. The API provides the set of information about the individual licence selected, that corresponds to the level of information available on the detailed screen of the Public Register application.
Browse requests contain search text and licence group data as URI parameters that return a collection of resources that match the specified criteria.
Verify requests contain licence group data and licence number as URI parameters which return limited details for a single licence number that is confirmed.
Details request contain licence ID and licence group data as URI parameters which return comprehensive details for a specific licence identifier.
Browse requests return a collection of responses for the specified criteria that matched while verify and details requests return single response for the licence provided.
HTTP 200 response is returned for success, 404 if search text misses, 500 for internal server error, 400 for bad request (e.g. licence group missing) and 401 for unauthorised access.
Data types the API returns and accepts are JSON values that are in string format.
The table below shows date, version number and a detailed description of changes or modifications made to the Motor API. Expected or scheduled changes are indicated in a green colour while yellow is used to indicate completed upgrades or changes.
|21-Oct-2016||1.0||Motor API development portal launched|
API NSW generates API keys for APIs, and enables authentication to your APIs using policies.
Credential pairs consisting of consumer key and secret are provisioned to clients and stored for future validation. These are issued as per the agreement with API NSW.
An OAuth call is required to provide the consumer with an authorisation token that would last approximately 12 hours from the time when request was made. User would need to send this authorisation token with every subsequent request in order to get appropriate results from the API.
For more information see OAuth 2.0