GET api/v4/SocialDriver/nearbyfuelstation/{latitude}/{longitude}/{radius}
Get nearby fuel stations and their prices for fuel
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| latitude |
The latitude being queried |
decimal number |
Required |
| longitude |
The longitude being queried |
decimal number |
Required |
| radius |
The radius in metres |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
NearbyFuelStationResponse
ViewNearbyFuelStationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| FuelStations |
A list of fuel stations |
Collection of ResponseFuelStation |
None. |
Response Formats
application/json, text/json
Sample:
{
"FuelStations": [
{
"CatNo": 1,
"Brand": "sample string 2",
"Name": "sample string 3",
"Street": "sample string 4",
"Town": "sample string 5",
"County": "sample string 6",
"Postcode": "sample string 7",
"Latitude": 8.1,
"Longitude": 9.1,
"Distance": 10.1,
"FuelPrices": [
{
"FuelType": 1,
"Price": 1.1,
"LastUpdated": "2025-10-29T20:19:31.5724847+00:00"
},
{
"FuelType": 1,
"Price": 1.1,
"LastUpdated": "2025-10-29T20:19:31.5724847+00:00"
}
],
"BrandLogoURL": "sample string 11"
},
{
"CatNo": 1,
"Brand": "sample string 2",
"Name": "sample string 3",
"Street": "sample string 4",
"Town": "sample string 5",
"County": "sample string 6",
"Postcode": "sample string 7",
"Latitude": 8.1,
"Longitude": 9.1,
"Distance": 10.1,
"FuelPrices": [
{
"FuelType": 1,
"Price": 1.1,
"LastUpdated": "2025-10-29T20:19:31.5724847+00:00"
},
{
"FuelType": 1,
"Price": 1.1,
"LastUpdated": "2025-10-29T20:19:31.5724847+00:00"
}
],
"BrandLogoURL": "sample string 11"
}
]
}
application/xml, text/xml
Sample:
<ViewNearbyFuelStationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FuelStations>
<ResponseFuelStation>
<CatNo>1</CatNo>
<Brand>sample string 2</Brand>
<Name>sample string 3</Name>
<Street>sample string 4</Street>
<Town>sample string 5</Town>
<County>sample string 6</County>
<Postcode>sample string 7</Postcode>
<Latitude>8.1</Latitude>
<Longitude>9.1</Longitude>
<Distance>10.1</Distance>
<FuelPrices>
<ResponseFuelInformation>
<FuelType>SuperUnleaded</FuelType>
<Price>1.1</Price>
<LastUpdated>2025-10-29T20:19:31.5724847+00:00</LastUpdated>
</ResponseFuelInformation>
<ResponseFuelInformation>
<FuelType>SuperUnleaded</FuelType>
<Price>1.1</Price>
<LastUpdated>2025-10-29T20:19:31.5724847+00:00</LastUpdated>
</ResponseFuelInformation>
</FuelPrices>
<BrandLogoURL>sample string 11</BrandLogoURL>
</ResponseFuelStation>
<ResponseFuelStation>
<CatNo>1</CatNo>
<Brand>sample string 2</Brand>
<Name>sample string 3</Name>
<Street>sample string 4</Street>
<Town>sample string 5</Town>
<County>sample string 6</County>
<Postcode>sample string 7</Postcode>
<Latitude>8.1</Latitude>
<Longitude>9.1</Longitude>
<Distance>10.1</Distance>
<FuelPrices>
<ResponseFuelInformation>
<FuelType>SuperUnleaded</FuelType>
<Price>1.1</Price>
<LastUpdated>2025-10-29T20:19:31.5724847+00:00</LastUpdated>
</ResponseFuelInformation>
<ResponseFuelInformation>
<FuelType>SuperUnleaded</FuelType>
<Price>1.1</Price>
<LastUpdated>2025-10-29T20:19:31.5724847+00:00</LastUpdated>
</ResponseFuelInformation>
</FuelPrices>
<BrandLogoURL>sample string 11</BrandLogoURL>
</ResponseFuelStation>
</FuelStations>
</ViewNearbyFuelStationResponse>