Charging Station Search
Keyword Search
Service Introduction
According to the keyword of the input charging pile name, city GB code, language, output related charging post information.
Interface address
https://lbs.navinfo.com/open-api/ev/v1/text
Request method
GET
Request parameters
See the table below for keyword charging station search instructions:
Parameter | Type | Meaning | Required | Default | Remarks |
---|---|---|---|---|---|
ak |
string |
Developer Key |
Yes |
If there is no key, please apply |
|
guid |
string |
device id |
No |
||
kw |
string |
keyword |
Yes |
Please enter the relevant name for the charging pile name, |
|
City |
string |
Query City |
No |
Support: After the city Chinese, city pinyin, citycode, and adcode are filled in, you will be given priority to return this city data, but not necessarily only the city results. If you only need a city data, set the climit parameter to ture |
|
climit |
string |
Return only the specified city data |
No |
True |
true: Search only in the current city. False: If the current city search has no results, the scope is automatically expanded; |
language |
string |
Language Type |
No |
ch |
default ch |
psize |
int |
Number of records per page |
No |
15 |
Default 15, less than 1 by 1 and greater than 15 by 15 |
pnum |
int |
current page |
No |
1 |
Return to page 1 by default, less than 1 1 processing, greater than the maximum page processing according to the maximum page |
outGb |
string |
Target Coordinate System |
No |
g02 |
Default g02 |
Response data
Return Value | Type | Meaning | Remarks | |||
---|---|---|---|---|---|---|
status |
int |
Return status |
Refer to the status code table |
|||
msg |
string |
Back to status description |
Refer to the status code table |
|||
data |
object |
return results |
||||
total |
int |
To return the total number of results |
||||
provs |
array |
Return the list of province distribution results |
When city is empty, and the input kw is The province has data,
the return value |
|||
pnm |
string |
Province Name |
||||
lonlat |
string |
Center point latitude and longitude |
Provincial administrative area The center point ( refers to the central point of the administrative region of the entire province), the longitude and latitude are separated by "," |
|||
adcode |
string |
Regional code for the province |
||||
num |
int |
The number of provinces distributed |
||||
count |
int |
Number of cities under the province |
||||
cities |
array |
List of urban distribution results under the province |
||||
cnm |
string |
city name |
||||
lonlat |
string |
Center point latitude and longitude |
City center point ( refers to urban area Center point), longitude and latitude are separated by "," |
|||
adcode |
string |
adcode in the city |
6 national codes |
|||
num |
int |
Total |
The city contains the number of this keyword |
|||
pois |
array |
Return the list of charging posts |
||||
pid |
string |
POI unique identifier |
National unique |
|||
nm |
string |
Name |
Return to English or Chinese according to the language field in the request parameter |
|||
addr |
string |
address |
Return to English or Chinese according to the language field in the request parameter |
|||
tnm |
string |
Charging pile brand name |
Example: "State Grid" |
|||
phone |
string |
Phone |
Multiple phone numbers are split with "|": Area code and number are separated by "-" |
|||
lon Lat |
string |
latitude and longitude |
||||
open24H |
string |
Whether open 24 hours |
0: Not investigated |
|||
cpid |
string |
Third-party unique identifier |
||||
cpnm |
string |
Third-party data sources |
Service example
Circular Search
Service Introduction
Search for all charging stations in the perimeter based on location points.
Interface address
https://lbs.navinfo.com/open-api/ev/v1/around
Request method
GET
Request parameters
For a circular charging station search description please see the table below:
Parameter | Type | Meaning | Required | Default | Remarks |
---|---|---|---|---|---|
ak |
string |
Developer Key |
Yes |
If there is no key, please apply |
|
guid |
string |
device id |
No |
||
lonlat |
string |
coordinate points |
Yes |
The current position is separated by latitude and longitude commas, such as: "116.17785,39.92563" |
|
kw |
string |
Entered Keywords |
No |
||
radius |
int |
Search radius |
No |
1000 |
Unit: meter, value range :1-50000. Default: 1000 |
language |
string |
Language Type |
No |
ch |
Default ch |
srule |
string |
sorting rules |
No |
distance |
sortment distance: sort by distance, the default value is distance, the current other sorting rules are not open yet |
psize |
int |
Number of records per page |
No |
15 |
default 15, less than 1 by 1 processing, greater than 15 by 15 processing |
pnum |
int |
current page |
No |
1 |
Returns to page 1 by default, less than 1 is processed by 1 and greater than maximum page is processed by maximum page |
inGb |
string |
original coordinate system |
No |
g02 |
Default g02 |
outGb |
String |
Target Coordinate System |
No |
g02 |
Default g02 |
Response data
Refer to the result field description for keyword search.
Service example
Polygon Search
Service Introduction
Draw a polygon based on the latitude and longitude points of the string and search for the charging post in this range.
Interface address
https://lbs.navinfo.com/open-api/ev/v1/polygon
Request method
GET
Request parameters
For a description of the polygon charging station search, please see the table below:
Parameter | Type | Meaning | Required | Default | Remarks |
---|---|---|---|---|---|
ak |
string |
Developer Key |
Yes |
If there is no key, please apply |
|
guid |
string |
device id |
No |
||
lonlats |
string |
polygon coordinate string |
Yes |
Rules: Longitude and latitude are separated by "," and coordinate pairs are separated by
";". When the polygon is a rectangle, you can pass the coordinates of the top left and
bottom right coordinates; in other cases, the first and last coordinate pairs need to be
the same. For example: "116.17785,39.92563;116.40324,39.97061" |
|
kw |
string |
Entered Keywords |
No |
Keywords for charging station names |
|
language |
string |
language type |
No |
ch |
Default ch |
psize |
int |
Number of records per page |
No |
15 |
default 15, less than 1 by 1 processing, greater than 15 by 15 processing |
pnum |
int |
current page |
No |
1 |
Back to page 1 by default, less than 1 is processed by 1 and greater than maximum page is processed by maximum page |
inGb |
string |
original coordinate system |
No |
g02 |
Default g02 |
outGb |
string |
Target Coordinate System |
No |
g02 |
Default g02 |
Response data
Refer to the result field description for keyword search.
Service example
Search Along the Way
Service Introduction
Continue a sequence of latitude and longitude points along the way to search for charging piles in the perimeter of the road.
Interface address
https://lbs.navinfo.com/open-api/ev/v1/line
Request method
GET
Request parameters
Please refer to the following table for charging station search instructions along the way:
Parameter | Type | Meaning | Required | Default | Remarks |
---|---|---|---|---|---|
ak |
string |
Developer Key |
Yes |
If there is no key, please apply |
|
guid |
string |
device id |
No |
||
lonlats |
string |
coordinate string |
Yes |
Rules: Longitude and latitude are separated by "," and coordinate pairs are separated by ";". At least 2 pairs of latitude and longitude |
|
kw |
string |
Entered Keywords |
No |
||
limit |
int |
Route length |
No |
20000 |
The unit is meter. When the line length specified by the line parameter is greater than the parameter, the length of the line specified by the parameter is taken from the starting point to search along the line. Less than 1 is processed by 20000, and greater than 20000 is processed by 20000 |
radius |
int |
Search radius |
No |
100 |
Unit: meter, value range 100-2000, less than 100 by 100, greater than 2000 by 2000, default 100. |
language |
string |
Language Type |
No |
ch |
Default ch |
srule |
string |
Sorting rules |
No |
distance |
Collation distance: Sort by distance, default is distance, other current collations are not yet open |
rdir |
string |
Search for road location |
No |
0 |
Default: 0 |
psize |
int |
Number of records per page |
No |
15 |
Default 15, less than 1 by 1 processing, greater than 15 by 15 processing |
pnum |
int |
current page |
no |
1 |
Return to page 1 by default, less than 1 by 1 and greater than maximum page by maximum page |
inGb |
string |
Coordinate system |
No |
g02 |
Default g02 |
outGb |
string |
target coordinate system |
No |
g02 |
Default g02 |
Response data
Refer to the result field description for keyword search.
Service example
Details Query
Service Introduction
outputs the relevant charging post information based on the POIID and language of the input charging stub.
Interface address
https://lbs.navinfo.com/open-api/ev/v1/detail
Request method
GET
Request parameters
Please refer to the table below for charging station details search instructions:
Parameter | Type | Meaning | Required | Default | Remarks |
---|---|---|---|---|---|
ak |
string |
Developer Key |
Yes |
If there is no key, please apply |
|
guid |
string |
device id |
No |
||
ids |
string |
POI unique id |
Yes |
Multiple separated by ";", up to 10 |
|
language |
string |
Language Type |
No |
ch |
Default ch |
outGb |
string |
Target Coordinate System |
No |
g02 |
Default g02 |
Response data
Refer to the result field description for keyword search.
Service example