Daily Petrol Diesel LPG and CNG Fuel Prices in India API

Daily Petrol Diesel LPG and CNG Fuel Prices in India API

Provides real-time data on petrol, diesel, LPG, and CNG retail fuel prices in India. The data is updated daily at 6 AM IST and covers over 700 cities across the country. The API is easy to use and can be integrated into your products with complex use cases such as Fuel price tracking/comparison apps, Car dealerships, Fleet management software, Financial planning tools etc.

API description

Get up-to-date Petrol, Diesel, LPG & CNG fuel prices in India. Query daily and past fuel prices state-wise or city-wise up-to past 30 days

Daily Fuel Price in India API

Get the latest Petrol, Diesel, LPG & CNG Retail Fuel Prices in India updated daily at 6 AM IST for 500+* cities.

The API is flexible enough to build products with complex use cases at ease. Take a look at API specification along with examples to know in detail.

Features

1. Fuel Types

Provides up-to-date daily fuel prices for 4 types of fuel available in the retail market

  1. Petrol
  2. Diesel
  3. Liquified Petroleum Gas (LPG)
  4. Compressed Natural Gas (CNG)

2. Fuel Price Info

Every fuel price result contains

  • Applicable On - The ISO date on which the retail prices are applicable
  • Retail Price - Price of the fuel in the local retail market
  • Retail Price Change - Price change from the last revision
  • Retail Price Change Interval - how often the fuel price is revised
  • Retail Unit - Unit of retail sale (i.e. how fuel is sold in retail market)
  • Retail Currency - Retail currency

3. Querying Options

You can query fuel prices for today or on any date in past 30 days for any of the following scenarios

a. Individual Regions

  • Fuel Price in one State* (today or in past 30 days)
  • Fuel Price in one City in a State (today or in past 30 days)

b. Aggregated Prices

  • Fuel Price in all States* (today or in past 30 days)
  • Fuel Price in all Cities in a State (today or in past 30 days)

c. Historical Prices

  • Fuel Price in last 30 day prices in a State*
  • Fuel Price in last 30 day prices in a City

d. Highest & Lowest

  • List of Cities with the highest fuel prices and fuel prices
  • List of Cities with the lowest fuel prices and fuel prices

Support

We are open to your feedback and comments. Let us know if you have other requirements, please feel free to contact us


Note

* Petrol & Diesel prices are available for all the cities. LPG & CNG prices are available only for few cities. Use fuelType query parameter in ‘List Cities’ and ‘List States’ API to find the relevant cities or states respectively with the prices for required fuel types.

* ‘Fuel Prices in a State’ is an average of fuel prices in all cities in the corresponding state

API Documentation

Endpoints


Get today's fuel prices in a State in India



                                                                            
GET https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1895/statefuelpricetoday
                                                                            
                                                                        

StateFuelPriceToday - Endpoint Features
Object Description
stateId [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"stateId":"andaman-and-nicobar-islands","stateName":"Andaman and Nicobar Islands","countryId":"india","countryName":"India","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":84.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":79.74,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1179,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}}
                                                                                                                                                                                                                    
                                                                                                    

StateFuelPriceToday - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1895/statefuelpricetoday&stateId=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get today's fuel prices in a City in a State in India



                                                                            
GET https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1896/cityfuelpricetoday
                                                                            
                                                                        

CityFuelPriceToday - Endpoint Features
Object Description
stateId [Required] ID of the State (find the ID of the state via the 'List of States API')
cityId [Required] ID of the City (find the ID of the city in a state via the 'List of Cities API')
stateId [Required]
cityId [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"stateId":"andaman-and-nicobar-islands","stateName":"Andaman and Nicobar Islands","countryId":"india","countryName":"India","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":84.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":79.74,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1179,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}}
                                                                                                                                                                                                                    
                                                                                                    

CityFuelPriceToday - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1896/cityfuelpricetoday?stateId=maharashtra&cityId=mumbai&stateId=Required&/=Required&cityId=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get today's fuel prices in all States in India



                                                                            
GET https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1897/allstatesfuelpricetoday
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"countryId":"india","countryName":"India","statePrices":[{"stateId":"andaman-and-nicobar-islands","stateName":"Andaman and Nicobar Islands","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":84.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":79.74,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1179,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"andhra-pradesh","stateName":"Andhra Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":104.01,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.59,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":12.67,"retailPriceChange":1.42,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":983.43,"retailPriceChange":1.73,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"arunachal-pradesh","stateName":"Arunachal Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":92.76,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":82.18,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1168.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"assam","stateName":"Assam","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":97.62,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":89.66,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1148.9,"retailPriceChange":-9.4,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"bihar","stateName":"Bihar","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":104.78,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":91.77,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1183.46,"retailPriceChange":-5.79,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"chandigarh","stateName":"Chandigarh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":96.18,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":84.25,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1112.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"chhattisgarh","stateName":"Chhattisgarh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":103.42,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":96,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1112.92,"retailPriceChange":-16.19,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"dadra-and-nagar-haveli","stateName":"Dadra and Nagar Haveli","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":94.41,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":89.96,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1117.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"daman-and-diu","stateName":"Daman and Diu","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":94.29,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":89.85,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":658.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"delhi","stateName":"Delhi","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":96.81,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":89.7,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":17.36,"retailPriceChange":-1.25,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":368.61,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"goa","stateName":"Goa","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":97.42,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":89.98,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1110,"retailPriceChange":7,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"gujarat","stateName":"Gujarat","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":95.39,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":91.05,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":9.94,"retailPriceChange":-1.28,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1118.61,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"haryana","stateName":"Haryana","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":97.24,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":90.09,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":4.18,"retailPriceChange":-0.26,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1057.89,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"himachal-pradesh","stateName":"Himachal Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":96.32,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":85.46,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1127.44,"retailPriceChange":85.72,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"jammu-and-kashmir","stateName":"Jammu and Kashmir","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":100.38,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":86,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1171.43,"retailPriceChange":-10.83,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"jharkhand","stateName":"Jharkhand","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":100.48,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":95.28,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1129.58,"retailPriceChange":-9.03,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"karnataka","stateName":"Karnataka","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":101.13,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":87.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":3.11,"retailPriceChange":0,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1121.39,"retailPriceChange":0.22,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"kerala","stateName":"Kerala","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.41,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":96.36,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":962.25,"retailPriceChange":-23.18,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":108.72,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.02,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":5.68,"retailPriceChange":-0.27,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1144.47,"retailPriceChange":-0.36,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"stateId":"maharashtra","stateName":"Maharashtra","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.03,"retailPriceChange":-0.12,"retailUnit":"litre","currency":"INR","retai...
                                                                                                                                                                                                                    
                                                                                                    

AllStatesFuelPriceToday - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1897/allstatesfuelpricetoday' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get today's fuel prices in all Cities in a State in India

Parameter:

stateId: ID of the State (find the ID of the state via the 'List of States API')



                                                                            
GET https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1898/allcitiesfuelpricetoday
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"stateId":"maharashtra","stateName":"Maharashtra","countryId":"india","countryName":"India","cityPrices":[{"cityId":"ahmednagar","cityName":"Ahmednagar","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":105.95,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.48,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":589,"retailPriceChange":-162.5,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"akola","cityName":"Akola","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.13,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.68,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1123,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"alibag","cityName":"Alibag","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.43,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.91,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":569,"retailPriceChange":-162.5,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"amravati","cityName":"Amravati","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.13,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.64,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1136.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"aurangabad","cityName":"Aurangabad","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":108.03,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":95.99,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1111.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"beed","cityName":"Beed","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.45,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.93,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1128.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"bhandara","cityName":"Bhandara","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.67,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.2,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1163,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"buldhana","cityName":"Buldhana","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":108.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.54,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1117.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"chandrapur","cityName":"Chandrapur","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.11,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.67,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1151.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"dhule","cityName":"Dhule","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.03,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.57,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":67.9,"retailPriceChange":4.4,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1123,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"gadchiroli","cityName":"Gadchiroli","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.91,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.44,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1172.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"gondia","cityName":"Gondia","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.66,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.15,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1171.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"hingoli","cityName":"Hingoli","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.37,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.87,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1128.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"jalgaon","cityName":"Jalgaon","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.64,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.1,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1108.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"jalna","cityName":"Jalna","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.81,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.27,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1111.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"kolhapur","cityName":"Kolhapur","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.56,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.09,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1105.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"latur","cityName":"Latur","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":107.47,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.96,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1127.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"mumbai","cityName":"Mumbai","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.29,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.25,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":79,"retailPriceChange":-8,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1102.5,"retailPriceChange":-12,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"nagpur","cityName":"Nagpur","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.02,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":92.57,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":115,"retailPriceChange":0,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1154.5,"retailPriceChange":27,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"nanded","cityName":"Nanded","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":108.36,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.82,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1154.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"nandurbar","cityName":"Nandurbar","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":106.99,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":93.48,"retailPriceChange":0,"re...
                                                                                                                                                                                                                    
                                                                                                    

AllCitiesFuelPriceToday - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1898/allcitiesfuelpricetoday&stateId=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get list of top n Cities in India where fuel prices is the highest today

Parameter:

fuelType: Fuel type - "petrol", "diesel", "cng", "lpg"



                                                                            
GET https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1899/highestfuelpricecitiestoday
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"countryId":"india","countryName":"India","cityPrices":[{"cityId":"hyderabad","cityName":"Hyderabad","stateId":"andhra-pradesh","stateName":"Andhra Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.64,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":97.8,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{"retailPrice":96,"retailPriceChange":2,"retailUnit":"kg","currency":"INR","retailPriceChangeInterval":"month"},"lpg":{"retailPrice":1174,"retailPriceChange":69,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"mandla","cityName":"Mandla","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.61,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.8,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1126,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"katni","cityName":"Katni","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.6,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.79,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1126,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"rajgarh","cityName":"Rajgarh","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.58,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.77,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1169.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"guna","cityName":"Guna","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.54,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.7,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1174.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"nalgonda","cityName":"Nalgonda","stateId":"telangana","stateName":"Telangana","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.52,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":97.67,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1176.5,"retailPriceChange":50,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"jalore","cityName":"Jalore","stateId":"rajasthan","stateName":"Rajasthan","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.47,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.62,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1130,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"tikamgarh","cityName":"Tikamgarh","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.44,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.61,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1183.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"sikar","cityName":"Sikar","stateId":"rajasthan","stateName":"Rajasthan","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.41,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.56,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1108,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"kishanganj","cityName":"Kishanganj","stateId":"bihar","stateName":"Bihar","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.4,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":96.04,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1205,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"parbhani","cityName":"Parbhani","stateId":"maharashtra","stateName":"Maharashtra","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.4,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":95.8,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1129,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"dhar","cityName":"Dhar","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.39,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.59,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1150,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"datia","cityName":"Datia","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.33,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.53,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1182.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"shajapur","cityName":"Shajapur","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.27,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.5,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1116.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"tonk","cityName":"Tonk","stateId":"rajasthan","stateName":"Rajasthan","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.27,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.44,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1114.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"dausa","cityName":"Dausa","stateId":"rajasthan","stateName":"Rajasthan","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.25,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.39,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1108,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"udaipur","cityName":"Udaipur","stateId":"rajasthan","stateName":"Rajasthan","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.25,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.43,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1134.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"mandsaur","cityName":"Mandsaur","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.24,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.46,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1179,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"damoh","cityName":"Damoh","stateId":"madhya-pradesh","stateName":"Madhya Pradesh","applicableOn":"2023-06-09","fuel":{"petrol":{"retailPrice":109.21,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"diesel":{"retailPrice":94.41,"retailPriceChange":0,"retailUnit":"litre","currency":"INR","retailPriceChangeInterval":"day"},"cng":{},"lpg":{"retailPrice":1125.5,"retailPriceChange":0,"retailUnit":"14.2kg","currency":"INR","retailPriceChangeInterval":"month"}}},{"cityId":"bhind","cityName":"Bhind","stateId":"madhya-pradesh","...
                                                                                                                                                                                                                    
                                                                                                    

HighestFuelPriceCitiesToday - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2103/daily+petrol+diesel+lpg+and+cng+fuel+prices+in+india+api/1899/highestfuelpricecitiestoday&fuelType=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Daily Petrol Diesel LPG and CNG Fuel Prices in India API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The API provides up-to-date daily fuel prices for four types of fuel available in the retail market: Petrol, Diesel, Liquified Petroleum Gas (LPG), and Compressed Natural Gas (CNG).

Each fuel price result includes the following information: Applicable On: The ISO date on which the retail prices are applicable Retail Price: The price of the fuel in the local retail market Retail Price Change: The price change from the last revision Retail Price Change Interval: How often the fuel price is revised Retail Unit: The unit of retail sale (how fuel is sold in the retail market) Retail Currency: The currency used for retail transactions

The API provides various querying options for obtaining fuel prices. Users can query fuel prices for today or any date in the past 30 days, based on the following scenarios: a. Individual Regions: Fuel prices in one state or one city in a state (today or in the past 30 days) b. Aggregated Prices: Fuel prices in all states or all cities in a state (today or in the past 30 days) c. Historical Prices: Fuel prices in the last 30 days in a state or city d. Highest & Lowest: List of cities with the highest and lowest fuel prices, along with their respective prices

Yes, the API provides access to historical fuel prices. Users can retrieve fuel prices for the last 30 days in a specific state or city.

LPG and CNG prices are available only for a limited number of cities. To find the relevant cities or states with prices for these fuel types, users can utilize the 'List Cities' and 'List States' APIs and use the fuelType query parameter.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
1,257ms

Category:


Tags:


Related APIs