Fuel API

Version: 1.0

Updated: 05-March-2020
Users: 526 Latency: 503 ms Traffic: 1.33M

Fuel API

Version: 1.0

Users526
Latency503 ms
Traffic1.33M
Updated: 05-March-2020
App details
keyboard_arrow_down

Overview

The NSW Government collects and publishes the standard retail prices of all prescribed fuels sold at over 2,500 service stations in NSW. The Fuel API has been developed as a means of accessing live fuel pricing across NSW service stations.

API overview

Get Prices Near By
keyboard_arrow_down
Get Reference Data
keyboard_arrow_down
Get All Prices
keyboard_arrow_down
Get All New Prices
keyboard_arrow_down
Get Prices For Location
keyboard_arrow_down
Get Prices For Station
keyboard_arrow_down

Rate limits

The Fuel API has specific endpoint request limitation to authorised users. API.NSW reserve the right to adjust rate limits for any given endpoint in order to improve quality of service provided to users. Every API consumer will be limited to a number of requests based on their agreement.


Rates for API calls

Account type Services Action
Free
  • 2500 calls / month
  • standard APIs
Subscribe
Premium
  • custom calls / month
  • standard / custom APIs
  • 24/7 email / phone support
  • custom service licensing agreement
Contact us

Release notes

The table below shows date, version number and a detailed description of changes or modifications made to the Fuel API. Expected or scheduled changes are indicated in a green color while yellow is used to indicated completed upgrades or changes.

Recent API Changes

Date Version Description
21-Oct-2016 1.0 Product portal launched

Security and authentification

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 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

Fuel API

Accesses this API

Subscribe to this API and start integrating it into your product

Share