Fuel API

Version: 1.0

Updated: 05-March-2020
Users: 503 Latency: 594 ms Traffic: 1.55M

Fuel API

Version: 1.0

Users503
Latency594 ms
Traffic1.55M
Updated: 05-March-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.

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