GET Alternative Fuel
Return all publicly available alternative fuel stations.
Request Information
https://511ny.org/api/v2/get/alternativefuel
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
string |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
StationName |
The name of the station. |
string |
Address |
The street address of the station's location. |
string |
City |
The city of the station's location. |
string |
Hours |
Hours of operation for the station. |
string |
FuelType |
Fuel types supplied by the station - ELEC (Electric) and E85 (Ethanol). |
string |
Phone |
The phone number of the station. |
string |
NumberOfLevel1 |
For electric stations, the number of Level 1 electric vehicle supply equipment (EVSE) ports. |
string |
NumberOfLevel2 |
For electric stations, the number of Level 2 electric vehicle supply equipment (EVSE) ports. |
string |
Response Formats
JSON
[
{
"Id": "33001",
"Latitude": 40.692812,
"Longitude": -73.464669,
"StationName": "Sunoco - McBirney's Auto Service",
"Address": "720 N Broadway",
"City": "Massapequa",
"Hours": "6am-12am daily",
"FuelType": "Ethanol (E85)",
"Phone": "631-886-2413",
"NumberOfLevel1": "7",
"NumberOfLevel2": "8"
},
{
"Id": "33025",
"Latitude": 42.78657,
"Longitude": -73.99777,
"StationName": "Cumberland Farms #3132",
"Address": "511 Duanesburg Rd",
"City": "Schenectady",
"Hours": "24 hours daily",
"FuelType": "Ethanol (E85)",
"Phone": "518-356-5824",
"NumberOfLevel1": "1",
"NumberOfLevel2": null
}
]
XML
<AlternativeFuelList>
<AlternativeFuel>
<Id>33001</Id>
<Latitude>40.692812</Latitude>
<Longitude>-73.464669</Longitude>
<StationName>Sunoco - McBirney's Auto Service</StationName>
<Address>720 N Broadway</Address>
<City>Massapequa</City>
<Hours>6am-12am daily</Hours>
<FuelType>ELEC</FuelType>
<Phone>516-798-9056</Phone>
<NumberOfLevel1>7</NumberOfLevel1>
<NumberOfLevel2>8</NumberOfLevel2>
</AlternativeFuel>
<AlternativeFuel>
<Id>33025</Id>
<Latitude>42.78657</Latitude>
<Longitude>-73.99777</Longitude>
<StationName>Cumberland Farms #3132</StationName>
<Address>511 Duanesburg Rd</Address>
<City>Schenectady</City>
<Hours>24 hours daily</Hours>
<FuelType>E85</FuelType>
<Phone>518-356-5824</Phone>
<NumberOfLevel1>1</NumberOfLevel1>
<NumberOfLevel2/>
</AlternativeFuel>
</AlternativeFuelList>