About the API:
This API provides the latest prices of fuel and diesel in every Indian city. With daily updates, you will always be receiving the newest prices.
This API receives the City ID of your choice and it will deliver the latest rates for Fuel, Diesel, and CNG. Also, if the price has suffered any changes, you will be provided with the difference as well.
Costs calculations: This API is ideal for those courier companies that want to have the fuel information of every city that they cover. This could help them to estimate how much they would spend in fuel in every city.
Prices comparisons: Build your product and compare different prices for different states, and recommend to your users the best fuel prices for them.
Besides the number of API calls per month, there are no other limitations.
Receive a JSON list with all the supported cities by this API. Also, you will receive the city ID that you will need to make your queries.
{"data":[{"id":"10002","identifier":"5f06883d132f54ecf0b998ba","name":"Abohar","lat":null,"lng":null,"stateId":"127","stateName":"Punjab","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10435","identifier":"5eb29a20132f54ecf00133a7","name":"Adilabad","lat":null,"lng":null,"stateId":"131","stateName":"Telangana","oldId":"1391","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10443","identifier":"5eb29a20132f54ecf00133af","name":"Agartala","lat":null,"lng":null,"stateId":"132","stateName":"Tripura","oldId":"1399","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10444","identifier":"5eb29a20132f54ecf00133b0","name":"Agra","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"1415","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10097","identifier":"5eb29a1e132f54ecf001324b","name":"Ahmedabad","lat":"23.0276","lng":"72.5871","stateId":"111","stateName":"Gujarat","oldId":"1078","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10285","identifier":"5eb29a1f132f54ecf0013310","name":"Ahmednagar","lat":null,"lng":null,"stateId":"119","stateName":"Maharashtra","oldId":"1255","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"8113","identifier":"61a9fd108c55ab70bf1c6601","name":"Aizawl","lat":null,"lng":null,"stateId":"122","stateName":"Mizoram","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10324","identifier":"5eb29a1f132f54ecf0013337","name":"Aizwal","lat":null,"lng":null,"stateId":"122","stateName":"Mizoram","oldId":"10056","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10371","identifier":"5eb29a20132f54ecf0013366","name":"Ajmer","lat":null,"lng":null,"stateId":"128","stateName":"Rajasthan","oldId":"1336","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10445","identifier":"5eb29a20132f54ecf00133b1","name":"Akbarpur","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"1424","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10286","identifier":"5eb29a1f132f54ecf0013311","name":"Akola","lat":null,"lng":null,"stateId":"119","stateName":"Maharashtra","oldId":"1253","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10220","identifier":"5eb29a1e132f54ecf00132c9","name":"Alappuzha","lat":null,"lng":null,"stateId":"117","stateName":"Kerala","oldId":"1182","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10287","identifier":"5eb29a1f132f54ecf0013312","name":"Alibag","lat":null,"lng":null,"stateId":"119","stateName":"Maharashtra","oldId":"1250","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10446","identifier":"5eb29a20132f54ecf00133b2","name":"Aligarh","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"1438","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10518","identifier":"5eb29a20132f54ecf00133fa","name":"Alipore","lat":null,"lng":null,"stateId":"135","stateName":"West Bengal","oldId":"1482","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10236","identifier":"5eb29a1e132f54ecf00132da","name":"Alirajpur","lat":null,"lng":null,"stateId":"118","stateName":"Madhya Pradesh","oldId":"1238","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10447","identifier":"5eb29a20132f54ecf00133b3","name":"Allahabad","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"1439","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10511","identifier":"5eb29a20132f54ecf00133f3","name":"Almora","lat":null,"lng":null,"stateId":"134","stateName":"Uttarakhand","oldId":"1465","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10372","identifier":"5eb29a20132f54ecf0013367","name":"Alwar","lat":null,"lng":null,"stateId":"128","stateName":"Rajasthan","oldId":"1345","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10128","identifier":"5eb29a1e132f54ecf001326a","name":"Ambala","lat":null,"lng":null,"stateId":"112","stateName":"Haryana","oldId":"1098","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"8049","identifier":"61a9fd108c55ab70bf1c65c1","name":"Ambedkar Nagar","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10063","identifier":"5eb29a1e132f54ecf0013229","name":"Ambikapur","lat":null,"lng":null,"stateId":"106","stateName":"Chhattisgarh","oldId":"1063","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10288","identifier":"5eb29a1f132f54ecf0013313","name":"Amravati","lat":null,"lng":null,"stateId":"119","stateName":"Maharashtra","oldId":"1262","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10098","identifier":"5eb29a1e132f54ecf001324c","name":"Amreli","lat":null,"lng":null,"stateId":"111","stateName":"Gujarat","oldId":"1071","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10351","identifier":"5eb29a1f132f54ecf0013352","name":"Amritsar","lat":null,"lng":null,"stateId":"127","stateName":"Punjab","oldId":"1320","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10448","identifier":"5eb29a20132f54ecf00133b4","name":"Amroha","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"10000","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10099","identifier":"5eb29a1e132f54ecf001324d","name":"Anand","lat":null,"lng":null,"stateId":"111","stateName":"Gujarat","oldId":"1072","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10535","identifier":"5eb29a1e132f54ecf00131eb","name":"Anantapur","lat":null,"lng":null,"stateId":"101","stateName":"Andhra Pradesh","oldId":"1003","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10156","identifier":"5eb29a1e132f54ecf0013287","name":"Anantnag","lat":null,"lng":null,"stateId":"114","stateName":"Jammu and Kashmir","oldId":"1129","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10327","identifier":"5eb29a1f132f54ecf001333a","name":"Angul","lat":null,"lng":null,"stateId":"124","stateName":"Odisha","oldId":"1298","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10028","identifier":"5eb29a1e132f54ecf0013206","name":"Araria","lat":null,"lng":null,"stateId":"104","stateName":"Bihar","oldId":"1020","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10404","identifier":"5eb29a20132f54ecf0013387","name":"Ariyalur","lat":null,"lng":null,"stateId":"130","stateName":"Tamil Nadu","oldId":"1385","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10029","identifier":"5eb29a1e132f54ecf0013207","name":"Arrah","lat":null,"lng":null,"stateId":"104","stateName":"Bihar","oldId":"1024","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10237","identifier":"5eb29a1e132f54ecf00132db","name":"Ashoknagar","lat":null,"lng":null,"stateId":"118","stateName":"Madhya Pradesh","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10449","identifier":"5eb29a20132f54ecf00133b5","name":"Auraiya","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":"1425","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10030","identifier":"5eb29a1e132f54ecf0013208","name":"Aurangabad","lat":null,"lng":null,"stateId":"104","stateName":"Bihar","oldId":"1246","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10289","identifier":"5eb29a1f132f54ecf0013314","name":"Aurangabad","lat":null,"lng":null,"stateId":"119","stateName":"Maharashtra","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10003","identifier":"5f06883d132f54ecf0b998bb","name":"Avadi","lat":null,"lng":null,"stateId":"130","stateName":"Tamil Nadu","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"8079","identifier":"61a9fd108c55ab70bf1c65df","name":"Azadnagar","lat":null,"lng":null,"stateId":"118","stateName":"Madhya Pradesh","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"8014","identifier":"61a9fd108c55ab70bf1c659e","name":"Azamgarh","lat":null,"lng":null,"stateId":"133","stateName":"Uttar Pradesh","oldId":null,"disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10157","identifier":"5eb29a1e132f54ecf0013288","name":"Badgam","lat":null,"lng":null,"stateId":"114","stateName":"Jammu and Kashmir","oldId":"1124","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"10189","identifier":"5eb29a1e132f54ecf00132aa","name":"Bagalkot","lat":null,"lng":null,"stateId":"116","stateName":"Karnataka","oldId":"1170","disabled":false,"type":"ROI","countryCode":null,"country":null,"aliasCities":null},{"id":"8157","identifier":"61a9fd108c55ab70bf1c662d","name":"Bageshwar","lat":null,"lng":null,"stateId":"134","stateName":"Uttarakhand","oldId":null,"disabled":false,"type":"ROI","countryCode...
Get the latest fuel price for the city of your choice.
Get petrol, diesel and CNG prices.
{"data":{"fuelPrice":{"id":"2023-04-03_10084","cityId":"10084","petrol":"96.76","diesel":"89.66","currency":"INR","date":"2023-04-03","createdAt":1680541807052,"changeText":"Petrol: ₹96.76 , Diesel: ₹89.66 ","petrolDiff":"0.00","dieselDiff":"0.00","cngDiff":"0.00","cngPrice":"79.56"},"homeCity":{"id":"10084","identifier":"5eb29a1e132f54ecf001323e","name":"Delhi","lat":"28.6542","lng":"77.2373","stateId":"109","stateName":"Delhi","oldId":"1276","disabled":false,"type":"GROW","countryCode":null,"country":null,"aliasCities":null}}}
Object | Description |
---|---|
cityId |
[Required] The city ID provided in the "Get Cities" endpoint. |
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 Fuel Prices in India API REST API, simply include your bearer token in the Authorization header.
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
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]