EV Search Nearby
Important note This EV Search API is unavailable on a Freemium or Pay As You Grow (PAYG) basis. Click the Request Access button above to contact our Sales team.
Purpose
The EV Search Nearby endpoint provides information about the nearest EV POIs (points of interest) based on either a circular area or a bounding box. By providing optional request parameters, the API allows filtering the response by connector type, availability status, etc.
The API accepts the search coordinates and radius, to search within a circular area or the top-left and bottom-right coordinates of the bounding box. Therefore there are two valid sets of required parameters: lat, lon and radius or topLeft and btmRight. In case both sets are provided, the API will return the radius-based circular search results.
Note: In the bounding box search, if the distance between the top-left and bottom-Right corners is less than or equal to 200 km, the results are returned within the original bounding box. Otherwise, the search would take place within a new bounding box which is created with a diagonal length of 200 km, while keeping the aspect ratio of the original bounding box. The center of the inner bounding box is the same as the original.
Request data
HTTPS method: GET
For ease of viewing and identification:
- Constants and parameters enclosed in curly brackets { } must be replaced with their values.
- Please see the following Request parameters section with the required and optional parameters tables for their values. The generic request format is as follows.
Request format
https://{baseURL}/search/{versionNumber}/evsearch?key={Your_API_Key}&[lat={latitude}&lon={longitude}&radius={radius}|topLeft={topLeft}&btmRight={btmRight}]&[optional parameters]
Request curl command example
curl 'https://api.tomtom.com/search/2/evsearch?key={Your_API_Key}&lat=52.36&lon=4.89&radius=1000&status=Available,Unknown&connector=IEC62196Type2Outlet&accessType=Public&restriction=evOnly&capability=ChargingProfileCapable&minPowerKW=22.2&maxPowerKW=43.2&limit=20&view=Unified'
Request parameters
The following table describes the parameters that can be used in a request.
- Required parameters must be used or the call will fail.
- Parameters and values are case-sensitive.
- Optional parameters may be used.
| Required parameters | Description |
|---|---|
baseURL string | Base URL for calling the API.
|
versionNumber string | The service version. |
key string | An API Key valid for the requested service. |
| Optional parameters | Description |
|---|---|
lat double | Latitude of the location to search for. |
lon double | Longitude of the location to search for. |
radius integer | Radius in meters to search within. |
topLeft string | The top-left corner of the bounding box to search within. It should be used in combination with the |
btmRight string | The bottom-right corner of the bounding box to search within. It should be used in combination with the |
limit integer | Maximum number of search results that will be returned. |
status string | The comma-separated status values of charging points to be filtered. Enum:
|
connector string | A comma-separated list of connector types which could be used to restrict the result to specific connector types. See the list
of Supported Connector Types. |
accessType string | The comma-separated access types, which could be used to
restrict the results to EV POIs with specific access types.
|
restriction string | The comma-separated restrictions, which could be used to restrict the results to EV POIs with specific restrictions.
|
capability string | The comma-separated capabilities, which could be used to restrict the results to EV POIs with specific capabilities.
|
minPowerKW double | An optional parameter that could be used to restrict the result to charging stations with connectors having a specific minimal
value of power in kilowatts (closed interval - with that value). This parameter might be used together with |
maxPowerKW double | An optional parameter that could be used to restrict the result to charging stations with connectors having a specific maximum
value of power in kilowatts (closed interval - with that value). This parameter might be used together with |
vehicleType string | The comma-separated vehicle types, which could be used to restrict the results to charging stations
where specific vehicle types can be charged.
This parameter might be used together with |
vehicleCategory string | The comma-separated vehicle categories, which could be used to restrict the results to charging stations
where specific categories of vehicles can be charged.
This parameter might be used together with |
vehicleHeight double | An optional parameter that could be used to restrict the results to charging stations where vehicles of a height in meters can be charged. |
vehicleWidth double | An optional parameter that could be used to restrict the results to charging stations where vehicles of a width in meters can be charged. |
vehicleLength double | An optional parameter that could be used to restrict the results to charging stations where vehicles of a length in meters can be charged. |
vehicleWeight integer | An optional parameter that could be used to restrict the results to charging stations where vehicles of a weight in kilograms can be charged. |
vehicleBrand string | An optional parameter that could be used to restrict the results to charging stations where given vehicle brand is allowed to charge. |
string | Geopolitical View. The context used to resolve the handling of disputed territories.
|
nearby string | The comma-separated IDs of nearby Points of Interest (POIs) categories can be used to limit the results of charging stations.
Nearby POIs are points of interest within walking distance of the charging stations
that users can explore while charging their vehicles.
Example: |
brand string | The comma separated brand values of EV POI to be filtered. The brand value can be either the brand name or the brand id. |
paymentBrand string | Enum:
Example: paymentBrand=Plugsurfing,MyEasyCharge The comma separated payment brands, which could be used to limit the results of the charging stations. The value for payment brand can be either the name or the id of that brand. |
Request headers
The following table describes HTTP request headers.
| Optional headers | Description |
|---|---|
| Tracking-ID | Specifies an identifier for the request.
Value: An |
| Accept | Specifies one of the following values as the response format of an API request:
|
| Accept-Language | Should be one of the TomTom supported IETF language tags, case insensitive. When data in the specified language is not available for a specific field or the language is not specified, the NGT (NeutralGroundTruth) of the POI will be used. |
This header can be used to execute a JMESPath query on the API response. For more information refer to
JMESPath examples. | |
| Sorting-Preset | This header is used to pass a sorting preset to the EV Search API. Preset can be any of the following:
If no sorting header is specified, a default sorting behavior up to the API's discretion is applied. |
Response data
Response body
If the Accept header value is set to application/json, the response will be a JSON object with the following structure:
1{2 "summary": {3 "numResults": 2,4 "totalResults": 1915 },6 "results": [7 {8 "id": "939d44d0-cf00-42e9-b9f3-bf4d2de125b5",9 "name": "TotalEnergies",10 "position": {11 "lat": 52.364941,12 "lon": 4.893598613 },14 "chargingStations": [15 {16 "id": "e0bead1c-6884-11ee-9f49-42010aa40fc0",17 "chargingPoints": [18 {19 "capabilities": [20 "CreditCardPayable",21 "RemoteStartStopCapable",22 "RfidReader"23 ],24 "connectors": [25 {26 "id": "1",27 "currentA": 25,28 "currentType": "AC3",29 "ratedPowerKW": 17.0,30 "type": "IEC62196Type2Outlet",31 "voltageV": 23032 }33 ],34 "id": "NL-GFX-ETNLP011512-1",35 "evseId": "NL-GFX-ETNLP011512-1",36 "physicalReference": "TNLP011512",37 "status": "Available"38 },39 {40 "capabilities": [41 "CreditCardPayable",42 "RemoteStartStopCapable",43 "RfidReader"44 ],45 "connectors": [46 {47 "id": "2",48 "currentA": 25,49 "currentType": "AC3",50 "ratedPowerKW": 17.0,51 "type": "IEC62196Type2Outlet",52 "voltageV": 23053 }54 ],55 "evseId": "NL-GFX-ETNLP011512-2",56 "physicalReference": "TNLP011512",57 "restrictions": ["customers","evOnly"],58 "status": "Occupied"59 }60 ]61 }62 ],63 "address": {64 "countryCode": "NL",65 "countryCodeISO3": "NLD",66 "country": "Netherlands",67 "countrySubdivision": "North Holland",68 "countrySubdivisionName": "North Holland",69 "countrySubdivisionCode": "NH",70 "freeformAddress": "Oudezijds Voorburgwal 99F, 1012 EM Amsterdam",71 "localName": "Amsterdam",72 "municipality": "Amsterdam",73 "postalCode": "1012 EM",74 "streetNumber": "99F",75 "streetName": "Oudezijds Voorburgwal"76 },77 "phone": "+31 20 524 9111",78 "openingHours": {79 "mode": "nextSevenDays",80 "timeRanges": [81 {82 "startTime": {83 "date": "2024-05-02",84 "hour": 0,85 "minute": 086 },87 "endTime": {88 "date": "2024-05-09",89 "hour": 0,90 "minute": 091 }92 }93 ]94 },95 "timeZone": {96 "ianaId": "Europe/Amsterdam"97 },98 "brands": [99 {100 "id": "TO26JCYC",101 "name": "TotalEnergies"102 }103 ],104 "paymentOptions": [105 {106 "brands": [107 {108 "name": "Plugsurfing"109 },110 {111 "name": "Eneco"112 },113 {114 "name": "Vattenfall InCharge - Incharge"115 },116 {117 "name": "EVBox Charge"118 },119 {120 "name": "Shell Recharge"121 },122 {123 "name": "Vandebron"124 }125 ]126 }127 ],128 "nearbyPois": [129 {130 "categoryId": "7332"131 },132 {133 "categoryId": "9376"134 }135 ],136 "accessType": "Public",137 "vehicleConstraint": {138 "types": ["Car", "Truck"],139 "categories": ["N1", "N2"],140 "length": 5.0,141 "height": 2.75,142 "width": 2.0,143 "weight": 3500,144 "brands": [145 {146 "name": "Tesla"147 },148 {149 "name": "Rivian"150 }151 ]152 }153 },154 {155 "id": "c31bc9fb-8935-4df5-97c6-51acbaccc601",156 "name": "EQUANS",157 "position": {158 "lat": 52.3653884,159 "lon": 4.8922383160 },161 "chargingStations": [162 {163 "id": "67335c40-4e72-11e8-8f53-42010a840002",164 "chargingPoints": [165 {166 "capabilities": [167 "RemoteStartStopCapable",168 "RfidReader"169 ],170 "connectors": [171 {172 "id": "1",173 "currentA": 16,174 "currentType": "AC3",175 "ratedPowerKW": 11.0,176 "type": "IEC62196Type2Outlet",177 "voltageV": 230178 }179 ],180 "evseId": "NL-GFX-EEVB-P1552388-1",181 "physicalReference": "1552388",182 "status": "Occupied"183 },184 {185 "capabilities": [186 "RemoteStartStopCapable",187 "RfidReader"188 ],189 "connectors": [190 {191 "id": "2",192 "currentA": 16,193 "currentType": "AC3",194 "ratedPowerKW": 11.0,195 "type": "IEC62196Type2Outlet",196 "voltageV": 230197 }198 ],199 "evseId": "NL-GFX-EEVB-P1552388-2",200 "physicalReference": "1552388",201 "status": "OutOfService"202 }203 ]204 }205 ],206 "address": {207 "countryCode": "NL",208 "countryCodeISO3": "NLD",209 "country": "Netherlands",210 "countrySubdivision": "North Holland",211 "countrySubdivisionName": "North Holland",212 "countrySubdivisionCode": "NH",213 "freeformAddress": "Herengracht 505, 1017 BV Amsterdam",214 "localName": "Amsterdam",215 "municipality": "Amsterdam",216 "postalCode": "1017 BV",217 "streetNumber": "505",218 "streetName": "Herengracht"219 },220 "openingHours": {221 "mode": "nextSevenDays",222 "timeRanges": [223 {224 "startTime": {225 "date": "2024-05-02",226 "hour": 0,227 "minute": 0228 },229 "endTime": {230 "date": "2024-05-09",231 "hour": 0,232 "minute": 0233 }234 }235 ]236 },237 "timeZone": {238 "ianaId": "Europe/Amsterdam"239 },240 "brands": [241 {242 "id": "TO26JCYC",243 "name": "TotalEnergies"244 }245 ],246 "paymentOptions": [247 {248 "brands": [249 {250 "name": "Plugsurfing"251 },252 {253 "name": "Vattenfall InCharge - Incharge"254 },255 {256 "name": "EVBox Charge"257 },258 {259 "name": "Shell Recharge"260 },261 {262 "name": "Vandebron"263 }264 ]265 }266 ],267 "nearbyPois": [268 {269 "categoryId": "7332"270 },271 {272 "categoryId": "9376"273 }274 ],275 "accessType": "Public",276 "vehicleConstraint": {277 "types": ["Car", "Truck"],278 "categories": ["N1", "N2", "N3", "N3+O4"],279 "length": 15.0,280 "height": 2.75,281 "width": 2.0,282 "weight": 13500,283 "brands": [284 {285 "name": "Tesla"286 },287 {288 "name": "Rivian"289 }290 ]291 }292 }293 ]294}
If the Accept header value is set to application/xml, the response will be a XML object with the following structure:
1<response>2 <summary>3 <numResults>2</numResults>4 <totalResults>191</totalResults>5 </summary>6 <results>7 <item>8 <id>939d44d0-cf00-42e9-b9f3-bf4d2de125b5</id>9 <name>TotalEnergies</name>10 <position>11 <lat>52.364941</lat>12 <lon>4.8935986</lon>13 </position>14 <address>15 <countryCode>NL</countryCode>16 <countryCodeISO3>NLD</countryCodeISO3>17 <country>Netherlands</country>18 <countrySubdivision>North Holland</countrySubdivision>19 <countrySubdivisionName>North Holland</countrySubdivisionName>20 <countrySubdivisionCode>NH</countrySubdivisionCode>21 <freeformAddress>Oudezijds Voorburgwal 99F, 1012 EM Amsterdam</freeformAddress>22 <localName>Amsterdam</localName>23 <municipality>Amsterdam</municipality>24 <postalCode>1012 EM</postalCode>25 <streetNumber>99F</streetNumber>26 <streetName>Oudezijds Voorburgwal</streetName>27 </address>28 <openingHours>29 <mode>nextSevenDays</mode>30 <timeRanges>31 <timeRange>32 <startTime>33 <date>2024-05-02</date>34 <hour>0</hour>35 <minute>0</minute>36 </startTime>37 <endTime>38 <date>2024-05-09</date>39 <hour>0</hour>40 <minute>0</minute>41 </endTime>42 </timeRange>43 </timeRanges>44 </openingHours>45 <timeZone>46 <ianaId>Europe/Amsterdam</ianaId>47 </timeZone>48 <accessType>Public</accessType>49 <chargingStations>50 <chargingStation>51 <id>e0bead1c-6884-11ee-9f49-42010aa40fc0</id>52 <chargingPoints>53 <chargingPoint>54 <evseId>NL-GFX-ETNLP011512-1</evseId>55 <physicalReference>TNLP011512</physicalReference>56 <status>Available</status>57 <capabilities>58 <capability>CreditCardPayable</capability>59 <capability>RemoteStartStopCapable</capability>60 <capability>RfidReader</capability>61 </capabilities>62 <connectors>63 <connector>64 <id>1</id>65 <currentA>25</currentA>66 <currentType>AC3</currentType>67 <ratedPowerKW>17.0</ratedPowerKW>68 <type>IEC62196Type2Outlet</type>69 <voltageV>230</voltageV>70 </connector>71 </connectors>72 </chargingPoint>73 <chargingPoint>74 <evseId>NL-GFX-ETNLP011512-2</evseId>75 <physicalReference>TNLP011512</physicalReference>76 <status>Occupied</status>77 <capabilities>78 <capability>CreditCardPayable</capability>79 <capability>RemoteStartStopCapable</capability>80 <capability>RfidReader</capability>81 </capabilities>82 <connectors>83 <connector>84 <id>2</id>85 <currentA>25</currentA>86 <currentType>AC3</currentType>87 <ratedPowerKW>17.0</ratedPowerKW>88 <type>IEC62196Type2Outlet</type>89 <voltageV>230</voltageV>90 </connector>91 </connectors>92 </chargingPoint>93 </chargingPoints>94 </chargingStation>95 </chargingStations>96 <brands>97 <brand>98 <id>TO26JCYC</id>99 <name>TotalEnergies</name>100 </brand>101 </brands>102 <paymentOptions>103 <paymentOption>104 <brands>105 <brand>106 <name>Plugsurfing</name>107 </brand>108 <brand>109 <name>Eneco</name>110 </brand>111 <brand>112 <name>Vattenfall InCharge - Incharge</name>113 </brand>114 <brand>115 <name>EVBox Charge</name>116 </brand>117 <brand>118 <name>Shell Recharge</name>119 </brand>120 <brand>121 <name>Vandebron</name>122 </brand>123 </brands>124 </paymentOption>125 </paymentOptions>126 <nearbyPois>127 <nearbyPoi>128 <categoryId>7332</categoryId>129 </nearbyPoi>130 <nearbyPoi>131 <categoryId>9376</categoryId>132 </nearbyPoi>133 </nearbyPois>134 <vehicleConstraint>135 <types>136 <type>Car</type>137 <type>Truck</type>138 </types>139 <categories>140 <category>N1</category>141 <category>N2</category>142 </categories>143 <height>2.75</height>144 <width>2.5</width>145 <length>5.0</length>146 <weight>3500</weight>147 <brands>148 <brand>149 <name>Tesla</name>150 </brand>151 <brand>152 <name>Rivian</name>153 </brand>154 </brands>155 </vehicleConstraint>156 </item>157 <item>158 <id>c31bc9fb-8935-4df5-97c6-51acbaccc601</id>159 <name>EQUANS</name>160 <position>161 <lat>52.3653884</lat>162 <lon>4.8922383</lon>163 </position>164 <address>165 <countryCode>NL</countryCode>166 <countryCodeISO3>NLD</countryCodeISO3>167 <country>Netherlands</country>168 <countrySubdivision>North Holland</countrySubdivision>169 <countrySubdivisionName>North Holland</countrySubdivisionName>170 <countrySubdivisionCode>NH</countrySubdivisionCode>171 <freeformAddress>Herengracht 505, 1017 BV Amsterdam</freeformAddress>172 <localName>Amsterdam</localName>173 <municipality>Amsterdam</municipality>174 <postalCode>1017 BV</postalCode>175 <streetNumber>505</streetNumber>176 <streetName>Herengracht</streetName>177 </address>178 <openingHours>179 <mode>nextSevenDays</mode>180 <timeRanges>181 <timeRange>182 <startTime>183 <date>2024-05-02</date>184 <hour>0</hour>185 <minute>0</minute>186 </startTime>187 <endTime>188 <date>2024-05-09</date>189 <hour>0</hour>190 <minute>0</minute>191 </endTime>192 </timeRange>193 </timeRanges>194 </openingHours>195 <timeZone>196 <ianaId>Europe/Amsterdam</ianaId>197 </timeZone>198 <accessType>Public</accessType>199 <chargingStations>200 <chargingStation>201 <id>67335c40-4e72-11e8-8f53-42010a840002</id>202 <chargingPoints>203 <chargingPoint>204 <evseId>NL-GFX-EEVB-P1552388-1</evseId>205 <physicalReference>1552388</physicalReference>206 <status>Occupied</status>207 <capabilities>208 <capability>RemoteStartStopCapable</capability>209 <capability>RfidReader</capability>210 </capabilities>211 <connectors>212 <connector>213 <id>1</id>214 <currentA>16</currentA>215 <currentType>AC3</currentType>216 <ratedPowerKW>11.0</ratedPowerKW>217 <type>IEC62196Type2Outlet</type>218 <voltageV>230</voltageV>219 </connector>220 </connectors>221 </chargingPoint>222 <chargingPoint>223 <evseId>NL-GFX-EEVB-P1552388-2</evseId>224 <physicalReference>1552388</physicalReference>225 <status>OutOfService</status>226 <capabilities>227 <capability>RemoteStartStopCapable</capability>228 <capability>RfidReader</capability>229 </capabilities>230 <connectors>231 <connector>232 <id>2</id>233 <currentA>16</currentA>234 <currentType>AC3</currentType>235 <ratedPowerKW>11.0</ratedPowerKW>236 <type>IEC62196Type2Outlet</type>237 <voltageV>230</voltageV>238 </connector>239 </connectors>240 </chargingPoint>241 </chargingPoints>242 </chargingStation>243 </chargingStations>244 <brands>245 <brand>246 <id>TO26JCYC</id>247 <name>TotalEnergies</name>248 </brand>249 </brands>250 <paymentOptions>251 <paymentOption>252 <brands>253 <brand>254 <name>Plugsurfing</name>255 </brand>256 <brand>257 <name>Vattenfall InCharge - Incharge</name>258 </brand>259 <brand>260 <name>EVBox Charge</name>261 </brand>262 <brand>263 <name>Shell Recharge</name>264 </brand>265 <brand>266 <name>Vandebron</name>267 </brand>268 </brands>269 </paymentOption>270 </paymentOptions>271 <nearbyPois>272 <nearbyPoi>273 <categoryId>7332</categoryId>274 </nearbyPoi>275 <nearbyPoi>276 <categoryId>9376</categoryId>277 </nearbyPoi>278 </nearbyPois>279 <vehicleConstraint>280 <types>281 <type>Car</type>282 <type>Truck</type>283 </types>284 <categories>285 <category>N1</category>286 <category>N2</category>287 <category>N3</category>288 <category>N3+O4</category>289 </categories>290 <height>2.75</height>291 <width>2.5</width>292 <length>15.0</length>293 <weight>13500</weight>294 <brands>295 <brand>296 <name>Tesla</name>297 </brand>298 <brand>299 <name>Rivian</name>300 </brand>301 </brands>302 </vehicleConstraint>303 </item>304 </results>305</response>
Response fields
The following table describes all the fields that can appear in a response. Fields are listed by the response section they belong to and in the order that they appear in the response.
| Primary fields | |
|---|---|
| Field | Description |
summary object | Summary information about the search that was performed. |
results array | Array of result objects. |
| summary object | |
|---|---|
| Field | Description |
numResults integer | Number of results in the response. |
totalResults integer | Total number of results found. |
| results array | |
|---|---|
| Field | Description |
id string | EV POI Id. |
name string | Name of the POI. |
position object | Position of the EV POI. |
chargingStations array | Array of chargingStation objects. |
address object | Structured address for the result. |
phone string | Phone number of the POI. |
openingHours object | Opening hours for the POI. |
timeZone object | Time zone for the POI. |
brands array | Array of brand objects.Brands available at the POI. |
paymentOptions array | Array of paymentOption objects. |
nearbyPois array | Array of |
accessType string | Access type of the EV POI station.
|
vehicleConstraint object | Vehicle constraint of the EV POI. |
| position | |
|---|---|
| Field | Description |
lat double | Latitude of the result. |
lon double | Longitude of the result. |
| chargingStation | |
|---|---|
| Field | Description |
id string | Charging station Id. |
chargingPoints object | Array of chargingPoint objects. |
| chargingPoints | |
|---|---|
| Field | Description |
capabilities string (list) | List of capabilities.
|
connectors array | Array of connector objects. |
id string | Charging point Id. |
evseId string | The EVSE ID is a unique alphanumeric code assigned to each individual charging point (or connector) within a station or network. It's essential for identifying specific chargers in public or roaming charging systems, enabling apps and providers to locate, authenticate, and bill for sessions accurately. |
physicalReference string | Physical identification of the charging station printed on the station and visible to the driver. One of the parameters that can be used for booking or charging purposes to locate the physical station. No standard format is available. |
restrictions string (list) | List of parking restrictions.
|
status string | Dynamic availability status of charging point.
|
| connector | |
|---|---|
| Field | Description |
id string | Id of the connector. |
currentA integer | Amperage in amperes[A]. |
currentType string | The current type of the connector.
|
ratedPowerKW double | Rated charging power in kilowatts[KW]. |
type string | The connector type which is one of the supported types. |
voltageV integer | Voltage in volts[V]. |
| address object | |
|---|---|
| Field | Description |
countryCode string | The two-letter code of the country. |
countryCodeISO3 string | ISO alpha-3 country code. |
country string | The country name. |
countrySubdivision string | State or Province. For regions like USA, CAN, & GB, this will be the province code, and for the rest the subdivision name. |
countrySecondary Subdivision string | Country. |
countryTertiary Subdivision string | Named area. |
countrySubdivisionName string | State or Province name. |
countrySubdivisionCode string | State or Province code. Only for regions like USA, CAN, GB. |
countrySubdivisionName string | The full name of the first level of a country's administrative hierarchy.
|
freeformAddress string | An address line formatted according to the formatting rules of the result's country of origin. |
localName string | An address component which represents the name of a geographic area or locality that groups a number of addressable objects for addressing purposes, without being an administrative unit. |
municipality string | City / Town. |
municipality Subdivision string | Sub / Super City. |
postalCode string | Postal code / Zip code. |
extendedPostalCode string | Extended postal code (availability dependent on region). |
streetNumber string | The building number on the street. |
streetName string | The street name. |
| openingHours object | |
|---|---|
| Field | Description |
mode string | Requested mode for opening hours. |
timeRanges array | List of time ranges for the next 7 days. Array of timeRange. |
| timeRanges array | |
|---|---|
| Field | Description |
startTime object | Start of the timeRange in the form of dateHourMinute. |
endTime object | End of the timeRange in the form of dateHourMinute. |
| dateHourMinute object | |
|---|---|
| Field | Description |
date string | The date in the calendar year in the local time zone. |
hour integer | Possible values: 0 - 23 |
minute integer | Possible values: 0 - 59 |
| timeZone | |
|---|---|
| Field | Description |
ianaId string | ID from the IANA Time Zone Database. |
| brand | |
|---|---|
| Field | Description |
id string | Brand Id. |
name string | Brand name. |
| paymentOption | |
|---|---|
| Field | Description |
| 'method' string | Payment method.
|
brands array | Array of payment option brand objects. |
| payment option brand | |
|---|---|
| Field | Description |
id string | Unique identifier of the payment option. |
name string | Name of the payment option. |
restricted boolean | Indicates if payment option is restricted to the current request. |
| nearbyPoi | |
|---|---|
| Field | Description |
categoryId integer | Category Id of the nearby POI.
|
| vehicleConstraint | |
|---|---|
| Field | Description |
types string (list) | Vehicle types constraint of the result.
|
categories string (list) | Vehicle categories constraint of the result.
|
length double | Vehicle length —in meters— constraint of the result. |
height double | Vehicle height —in meters— constraint of the result. |
width double | Vehicle width —in meters— constraint of the result. |
weight integer | Vehicle weight —in kg— constraint of the result. |
brands object | Array of vehicleBrand objects. |
| vehicle brand | |
|---|---|
| Field | Description |
name string | Vehicle brand name. |
Response codes
| Code | Meaning & possible causes |
|---|---|
200 | OK: If any matching charging station was found, the body of the response will contain the data. Otherwise, an empty response will be returned: Empty response example - JSON
|
400 | Bad request: One or more parameters were incorrectly specified or are out of range. |
403 | Forbidden: Possible causes include:
|
404 | Not Found: The requested resource could not be found, the HTTP request method or path is incorrect. |
405 | Method Not Allowed : The client used an HTTP method other than |
406 | Media Type Not Acceptable |
414 | The requested URI is too long |
429 | Too Many Requests: The API Key is over QPS (Queries per second). |
5xx | Server Error: The service was unable to process your request. Contact support to resolve the issue. |
Response headers
The following table lists HTTP response headers.
| Header | Description |
|---|---|
| Access-Control-Allow-Origin | The EV Search service allows cross-origin resource sharing.
Value: |
| Content-Encoding | The EV Search service supports HTTP compression if requested by the client.
Value: |
| Cache-Control | The Cache-Control general-header field is used to specify directives that must be obeyed by all caching mechanisms along the request/response chain.
Value: |
| Content-Type | Indicates the format of the response as chosen by the client.
Format: |
| Tracking-ID | An identifier for the request. If the Tracking-ID header was specified, it is replicated in the response.
Otherwise, it is generated automatically by the service. It is only meant to be used for support and does not involve tracking
of you or your users in any form.
Value: An |
Error response
The error response content type depends on the Accept header.
1{2 "message": "Missing parameter 'parameterName'",3 "detailedError": {4 "code": "MissingParameter",5 "message": "Missing required parameter 'parameterName'."6 },7 "httpStatusCode": "400"8}
1<ErrorEvResponse>2 <message>Missing parameter 'parameterName'</message>3 <detailedError>4 <code>MissingParameter</code>5 <message>Missing required parameter 'parameterName'.</message>6 </detailedError>7</ErrorEvResponse>
Error response fields
| Primary fields | Description |
|---|---|
message string | A human-readable description of the error. |
detailedError object | Detailed information about the error.
|
| detailedError object | |
| Field | Description |
code string | One of a server-defined set of error codes. |
message string | A human-readable description of the error code. It is intended as an aid to developers and is not suitable for exposure to end users. |