Service Name: Fuel Price by administrative code
Service URL
https://api.nostramap.com/Service/V2/GeoLocation/GetFuelPriceByAdmin
Description
This service is the fuel price inquiry service by receiving Ministry of Interior certified administrative boundary code, then service will return the details of fuel price of each brand to user.This service is available in Thailand only.
Testing
We provide testing service Here
Required Parameters
Name | Type | Details |
---|---|---|
key | String | NOSTRA API Key. To get the API Key, please register your profile on the NOSTRA API Console |
adminLevel1 | String | Refer to province code. You can get Thailand province code, See |
adminLevel2 | String | Refer to district code. You can get Thailand district code, See |
Response
A JSON response contains two root elements below
Name | Summary |
---|---|
errorMessage | ErrorMessage An error message displayed when an unexpected condition occurs, null if not. |
results | This root contains array of administrative information. |
Response Details
results
Name | Details |
---|---|
Brand | Fuel brand in Thailand. |
BrandName_E | Brand name in English. |
BrandName_L | Brand name in Thai. |
Diesel | Diesel price. |
DieselPremium | Premium diesel price. |
Gasohol91 | Gasohol 91 price. |
Gasohol95 | Gasohol 95 price. |
GasoholE20 | Gasohol E20 price. |
GasoholE85 | Gasohol E85 price. |
Gasoline91 | Gasoline 91 price. |
Gasoline95 | Gasoline 95 price. |
NGV | NGV price. |
https://api.nostramap.com/Service/V2/GeoLocation/GetFuelPriceByAdmin
***Please enter your Nostra Key.