Baidu: Maps
Maps from Baidu as JSON. 1 credit per successful call.
GET /v1/baidu/maps
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 500 characters |
city | string | Required | Up to 50 characters |
page | integer | Optional | Any |
Example request
Baidu
GET/v1/baidu/maps?query=coffee&city=Beijing
{
"search_parameters": {
"engine": "baidu_maps",
"query": "coffee",
"city": "beijing",
"city_code": 131,
"page": 0
},
"local_results": [
{
"position": 1,
"name": "故宫角楼咖啡(故宫店)",
"address": "景山前街4号故宫博物院神武门西围房",
"phone": "010-85007421,010-85007938",
"uid": "a52ef8ebfb2dae591d1d1113",
"primary_uid": "3540627661305743213",
"gps_coordinates": {
"latitude": 39.928721,
"longitude": 116.402824,
"coordinate_system": "bd09"
},
"gps_coordinates_wgs84": {
"latitude": 39.92098,
"longitude": 116.390214
},
"raw_coordinates": {
"x": 1295804407,
"y": 482790749
},
"geo": "1|12958044.07,4827907.49;12958044.07,4827907.49|12958044.07,4827907.49;",
"area_name": "北京市东城区",
"district": "东城区",
"city": "北京市",
"city_code": 131,
"province": "北京市",
"category": "美食;咖啡厅",
"tags": [
"美食",
"咖啡厅"
],
"rating": 4.3,
"review_count": 17,
"price": 41.6,
"price_label": "人均消费",
"opening_hours": "08:00-18:00",
"business_time": {
"data": [
{
"business_time_text": "…",
"common": [
"…"
],
"sign": 1,
"year": "2020-2100"
}
],
"src_type": "time",
"sub_src": "mt_new",
"transfer": 1,
"update_time": 1770291043
},
"thumbnail": "https://poi-pic.cdn.bcebos.com/swd/5fff1f74-5031-3d2a-9a92-8a068e11925d.jpg",
"brand": "故宫角楼咖啡",
"has_panorama": false,
"poi_profile": 0,
"detail_url": "https://map.baidu.com/mobile/webapp/place/detail/qt=ninf&wd=coffee&c=131&pn=0&uid=a52ef8ebfb2dae591d1d1113&industry=cater&qid=3046428475942732045/showall=1&pos=0&da_ref=listclk&da_qrtp=36&da_adtp=&da_log=&da_adquery=coffee&da_adtitle=故宫角楼咖啡…"
},
{
"position": 2,
"name": "北京铁手咖啡制造总局metalhands(东四店)",
"address": "南阳胡同6号",
"phone": "18513542565",
"uid": "80d8db03fbee987d2d4733a5",
"primary_uid": "2208176723432358259",
"gps_coordinates": {
"latitude": 39.935411,
"longitude": 116.420226,
"coordinate_system": "bd09"
},
"gps_coordinates_wgs84": {
"latitude": 39.927753,
"longitude": 116.407593
},
"raw_coordinates": {
"x": 1295998129,
"y": 482887474
},
"geo": "1|12959981.29,4828874.74;12959981.29,4828874.74|12959981.29,4828874.74;",
"area_name": "北京市东城区",
"district": "东城区",
"city": "北京市",
"city_code": 131,
"province": "北京市",
"category": "美食;咖啡厅",
"tags": [
"美食",
"咖啡厅"
],
"rating": 4.3,
"review_count": 14,
"price": 47.2,
"price_label": "人均消费",
"opening_hours": "全年 周一至周日 营业时间: 10:00-19:00",
"business_time": {
"data": [
{
"business_time_text": "…",
"common": [
"…"
],
"sign": 1,
"year": "2020-2100"
}
],
"src_type": "rengong",
"sub_src": "pingtai",
"transfer": 1,
"update_time": 1787649518
},
"thumbnail": "https://poi-pic.cdn.bcebos.com/swd/1739cb35-1b3a-3d27-87df-b1747baa07e6.jpg",
"brand": "METAL HANDS",
"aoi": "东四",
"has_panorama": true,
"poi_profile": 0,
"detail_url": "https://map.baidu.com/mobile/webapp/place/detail/qt=ninf&wd=coffee&c=131&pn=0&uid=80d8db03fbee987d2d4733a5&industry=cater&qid=3046428475942732045/showall=1&pos=1&da_ref=listclk&da_qrtp=36&da_adtp=&da_log=&da_adquery=coffee&da_adtitle=北京铁手咖啡…"
},
{
"position": 3,
"name": "亲然·大山咖啡coffee",
"address": "怀黄路苇店村43号",
"phone": "18601921289",
"uid": "4c30499b47dae50328201afa",
"primary_uid": "13203078413035532282",
"gps_coordinates": {
"latitude": 40.412372,
"longitude": 116.563606,
"coordinate_system": "bd09"
},
"gps_coordinates_wgs84": {
"latitude": 40.40536,
"longitude": 116.551195
},
"raw_coordinates": {
"x": 1297594246,
"y": 489808857
},
"geo": "1|12975942.46,4898088.57;12975942.46,4898088.57|12975942.46,4898088.57;",
"area_name": "北京市怀柔区",
"district": "怀柔区",
"city": "北京市",
"city_code": 131,
"province": "北京市",
"category": "美食;咖啡厅",
"tags": [
"美食",
"咖啡厅"
],
"rating": 4.3,
"review_count": 10,
"price": 71.1,
"price_label": "人均消费",
"opening_hours": "一月至十二月 周一至周日 : 09:00-19:00",
"business_time": {
"data": [
{
"business_time_text": "…",
"common": [
"…"
],
"sign": 1,
"year": "2020-2100"
}
],
"src_type": "rengong",
"sub_src": "pingtai",
"transfer": 1,
"update_time": 1787653397
},
"thumbnail": "https://poi-pic-gz.cdn.bcebos.com/pic_ea8e62ea78882cd643d7c773dbe1e595.jpeg",
"aoi": "渤海镇;慕田峪长城",
"has_panorama": false,
"poi_profile": 0,
"detail_url": "https://map.baidu.com/mobile/webapp/place/detail/qt=ninf&wd=coffee&c=131&pn=0&uid=4c30499b47dae50328201afa&industry=cater&qid=3046428475942732045/showall=1&pos=2&da_ref=listclk&da_qrtp=36&da_adtp=&da_log=&da_adquery=coffee&da_adtitle=亲然·大山咖…"
}
],
"pagination": {
"page": 0,
"results_on_page": 10,
"total_results": 145,
"next_page": 1
},
"response_time_ms": 3259
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
local_results | object[] |
pagination | object |
response_time_ms | integer |