Fuel API

Version: 1.0

Updated: 08-October-2020
Users: 1,790 Latency: 997 ms Traffic: 3.11M

Fuel API

Version: 1.0

Users1,790
Latency997 ms
Traffic 3.11M
Updated: 08-October-2020
App details
keyboard_arrow_down

Try this API

You can try the API with the information provided below. There is a limit of 5 calls every minute or alternatively register and subscribe to increase your API usage.

1MYSRAx5yvqHUZc6VGtxix6oMA2qgfRT

BMvWacw15Et8uFGF

Basic MU1ZU1JBeDV5dnFIVVpjNlZHdHhpeDZvTUEycWdmUlQ6Qk12V2FjdzE1RXQ4dUZHRg==


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. V1 endpoints can be used for fetching NSW fuel price, V2 endpoints can be used for fetching NSW & Tasmania fuel prices combined.

API overview

Get Reference Data (v1)
keyboard_arrow_down
Get Reference Data (v2)
keyboard_arrow_down
Get All Prices (v1)
keyboard_arrow_down
Get All New Prices (v1)
keyboard_arrow_down
Get Prices Near By (v1)
keyboard_arrow_down
Get Prices For Location (v1)
keyboard_arrow_down
Get Prices For Station (v1)
keyboard_arrow_down
Get All Prices (v2)
keyboard_arrow_down
Get All New Prices (v2)
keyboard_arrow_down
Get Prices Near By (v2)
keyboard_arrow_down
Get Prices For Location (v2)
keyboard_arrow_down
Get Prices For Station (v2)
keyboard_arrow_down

Rate limits

The Fuel API has specific endpoint request limitation to authorized 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 authentication

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


Try this API

You can try the API with the information provided below. There is a limit of 5 calls every minute or alternatively register and subscribe to increase your API usage.

1MYSRAx5yvqHUZc6VGtxix6oMA2qgfRT

BMvWacw15Et8uFGF

Basic MU1ZU1JBeDV5dnFIVVpjNlZHdHhpeDZvTUEycWdmUlQ6Qk12V2FjdzE1RXQ4dUZHRg==