Duaer

入门

在 Duaer 里查高德地点搜索

在 Duaer 里:高德地图:按关键词与城市搜索中国境内的商铺、餐厅等地点,含地址与电话。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「高德地点搜索」:高德地图:按关键词与城市搜索中国境内的商铺、餐厅等地点,含地址与电话。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 高德地点搜索,或打开 数据市场。相关:高德地理编码、高德路线规划。

适合做什么

  • 查上海的咖啡店。
  • 查中国某家门店的地址和电话。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → Amap places in China。
  2. 填 Words(如 咖啡);City(shanghai)可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/amap-poi?words=Starbucks&city=shanghai
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-amap-poi
description: >-
  Duaer Amap places in China. Amap: shops, restaurants, and other places in China by keyword and city, with address and phone.
  One successful search uses 1 Duaer credit.
---

# Duaer Amap places in China

Duaer Amap places in China searches Amap (Gaode) for places in mainland China by keyword, optionally inside one city. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Find coffee shops in Shanghai.
- Get the address and phone of a store in China.

## When not to use

- Places outside China. Use https://skills.duaer.com/places-nearby.md.
- Coordinates of a full address. Use https://skills.duaer.com/amap-geocode.md.

## Call

`GET https://api.duaer.com/v1/data/amap-poi?words=Starbucks&city=shanghai`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `words`.

- `words` — Place words in Chinese or English. URL-encode Chinese text.
- `city` — Optional. City name in Chinese or pinyin, or adcode, such as shanghai or 310000.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/amap-poi?words=Starbucks&city=shanghai` — Starbucks stores in Shanghai.
- `GET https://api.duaer.com/v1/data/amap-poi?words=%E5%92%96%E5%95%A1&city=330100` — coffee shops in Hangzhou.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `poiId`, `name`, `category` — Amap place id, name, and category path.
- `address`, `province`, `city`, `district`, `phone` — address and phone.
- `longitude`, `latitude` — GCJ-02 coordinates used by Amap.

Amap coordinates use the GCJ-02 system used on maps in China.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/amap-geocode.md — Duaer Amap geocoding in China
- https://skills.duaer.com/amap-route.md — Duaer Amap routes in China

常见问题

Duaer 的高德地点搜索检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 高德地点搜索的坐标是什么坐标系?

高德使用国内地图通用的 GCJ-02 坐标系,与 GPS 的 WGS-84 有几百米偏差。

同组