> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/getting-started/amap-poi.md).

# Amap places in China in Duaer

In Duaer: Amap: shops, restaurants, and other places in China by keyword and city, with address and phone. One successful search uses 1 credit.
## What you get

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.

Pick Duaer Data → Amap places in China in the node creator, or open the [data market](/getting-started/data-market.md). Related: [Amap geocoding in China](/getting-started/amap-geocode.md), [Amap routes in China](/getting-started/amap-route.md).

## When to use it

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

## When not to use it

- Places outside China. Use [Places nearby](/getting-started/places-nearby.md).
- Coordinates of a full address. Use [Amap geocoding in China](/getting-started/amap-geocode.md).

## Search on the canvas

1. Open the node creator and pick Duaer Data → Amap places in China.
2. Fill Words (such as Starbucks). Optional: City (shanghai).
3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

## Call the API

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

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

## Call skill

Same text as Copy skill.

```
---
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

```
## Questions

### How many credits does a Amap places in China search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

### Which coordinate system does Duaer Amap places in China use?

Amap uses GCJ-02, the system used on maps in China. It differs from GPS WGS-84 by a few hundred meters.

## Related

- [Amap geocoding in China in Duaer](https://doc.duaer.com/getting-started/amap-geocode.md)
- [Amap routes in China in Duaer](https://doc.duaer.com/getting-started/amap-route.md)

