Service Name: Fuel Price by administrative code | NOSTRA Developer

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

NameTypeDetails
keyStringNOSTRA API Key. To get the API Key, please register your profile on the NOSTRA API Console
adminLevel1StringRefer to province code. You can get Thailand province code, See for more information.
adminLevel2StringRefer to district code. You can get Thailand district code, See for more information.

Response

A JSON response contains two root elements below

NameSummary
errorMessageErrorMessage An error message displayed when an unexpected condition occurs, null if not.
resultsThis root contains array of administrative information.

Response Details

results

NameDetails
BrandFuel brand in Thailand.
BrandName_EBrand name in English.
BrandName_LBrand name in Thai.
DieselDiesel price.
DieselPremiumPremium diesel price.
Gasohol91Gasohol 91 price.
Gasohol95Gasohol 95 price.
GasoholE20Gasohol E20 price.
GasoholE85Gasohol E85 price.
Gasoline91Gasoline 91 price.
Gasoline95Gasoline 95 price.
NGVNGV price.
https://api.nostramap.com/Service/V2/GeoLocation/GetFuelPriceByAdmin

***Please enter your Nostra Key.

Parameters

{
"adminLevel1": "10",
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Ln:1Col:1

Results

object
{0}
(empty object)