Skip to content
OSINTtools.io

Gaode Maps (AMap) API

Alibaba's Chinese mapping service with detailed maps, satellite imagery and directions for China.

Base URL
https://restapi.amap.com
Sign-in
API key
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from developer.amap.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Amap (Gaode) Web Service API is a set of HTTP endpoints for map data in China. This reference covers the POI search service (v3): search for points of interest by keyword or type, search around a coordinate, and fetch one POI by ID. A POI result has a name, type, address, coordinates (longitude,latitude), phone number and, with extensions=all, extra fields such as website, email, business area and photos. An investigator can use it to find and place businesses and landmarks in China.

Calls are GET requests to https://restapi.amap.com/v3/place/... with a Web Service API key from the Amap Open Platform as a required parameter. Responses are JSON by default (XML is selectable with output). Encoding is UTF-8. The docs say searches cannot return the full data set: paging through the same request reaches at most 200 results, and offset should not exceed 25.

The docs recommend adcode over citycode for city, and note that POI multilingual search and POI detail by ID may need advanced permission requested through a support ticket. The docs page is in Chinese. Polygon search, AOI boundary lookup and the other Web Service APIs (geocoding, routing, weather, IP location) are described in the docs and not covered here.

Quick start

  1. Get a key

    Create an account with Gaode Maps (AMap) and copy your api key. Where to get it

  2. Make your first request

    Keyword search for points of interest, optionally limited to a city and POI type.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://restapi.amap.com/v3/place/text?key=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "status": "1",
      "info": "OK",
      "count": "1",
      "pois": [
        {
          "id": "B000000001",
          "name": "Example Cafe",
          "type": "Food;Cafe;Cafe",
          "typecode": "050500",
          "address": "1 Example Road",
          "location": "116.000000,39.000000",
          "tel": "+1 555 0100",
          "pname": "Example Province",
          "cityname": "Example City",
          "adname": "Example District"
        }
      ]
    }

Authentication

Send your API key in the key query parameter of every request.

Web Service API key from the Amap Open Platform console

Get a key from Gaode Maps (AMap)

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs (the search page links to a separate traffic-limit page)

Searches POIs by one keyword and/or type codes. Provide keywords or types. Without city and with a generic keyword, the response lists cities with match counts instead of POIs.

Query parameters

keywordsstringtakes your name

One search keyword (keywords or types is required)

Example: Peking University
typesstring

POI type codes or Chinese names, separated by |

Example: 141201
citystring

City name, citycode or adcode; adcode is recommended

Example: 110000
citylimitboolean

Return only data from the given city

Example: trueDefault: false
offsetinteger

Records per page; the docs advise 25 or fewer

Example: 20Default: 20
pageinteger

Page number

Example: 1Default: 1
extensionsstring

base returns basic fields; all adds detail fields

Example: allDefault: baseOne of: base, all
langCodestring

Result language; multilingual search is an advanced service

Example: zhDefault: zhOne of: zh, en
Response fields · 13Show

statusstring

1 for success, 0 for failure

infostring

OK, or the error reason when status is 0

countstring

Number of results

idstring

POI ID

namestring

POI name

typestring

Type: major;medium;minor category

typecodestring

Type code

addressstring

Address

locationstring

Coordinates as longitude,latitude

telstring

Phone number

pnamestring

Province name

citynamestring

City name

adnamestring

District name

curl 'https://restapi.amap.com/v3/place/text?key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "1",
  "info": "OK",
  "count": "1",
  "pois": [
    {
      "id": "B000000001",
      "name": "Example Cafe",
      "type": "Food;Cafe;Cafe",
      "typecode": "050500",
      "address": "1 Example Road",
      "location": "116.000000,39.000000",
      "tel": "+1 555 0100",
      "pname": "Example Province",
      "cityname": "Example City",
      "adname": "Example District"
    }
  ]
}
  • Passive: the target is not contacted

Returns POIs around a center point, by keyword or type. With neither keywords nor types, it searches dining, life services and business residences. distance in each result is in meters.

Query parameters

locationstringrequired

Center as longitude,latitude with at most 6 decimals

Example: 116.473168,39.993015
keywordsstring

One search keyword

Example: cafe
typesstring

POI type codes or Chinese names, separated by |

Example: 011100
citystring

City name, pinyin, citycode or adcode

Example: 110000
radiusinteger

Radius in meters, 0 to 50000

Example: 5000Default: 5000
sortrulestring

Sort by distance or weight

Example: distanceDefault: distanceOne of: distance, weight
offsetinteger

Records per page; the docs advise 25 or fewer

Example: 20Default: 20
pageinteger

Page number

Example: 1Default: 1
extensionsstring

base or all

Example: baseDefault: baseOne of: base, all
Response fields · 8Show

statusstring

1 for success, 0 for failure

infostring

OK, or the error reason

countstring

Number of results

idstring

POI ID

namestring

POI name

addressstring

Address

locationstring

Coordinates as longitude,latitude

distancestring

Meters from the center point

curl 'https://restapi.amap.com/v3/place/around?location=116.473168%2C39.993015&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "1",
  "info": "OK",
  "count": "1",
  "pois": [
    {
      "id": "B000000001",
      "name": "Example Cafe",
      "address": "1 Example Road",
      "location": "116.000100,39.000100",
      "distance": "42"
    }
  ]
}
  • Passive: the target is not contacted
  • Plan: Advanced permission may be required

Returns the POI with the given ID in the same format as keyword search. The docs say that if no detail comes back, advanced permission may need to be requested through a support ticket.

Query parameters

idstringrequired

POI ID

Example: B000000001
Response fields · 6Show

statusstring

1 for success, 0 for failure

infostring

OK, or the error reason

idstring

POI ID

namestring

POI name

addressstring

Address

locationstring

Coordinates as longitude,latitude

curl 'https://restapi.amap.com/v3/place/detail?id=B000000001&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "1",
  "info": "OK",
  "count": "1",
  "pois": [
    {
      "id": "B000000001",
      "name": "Example Cafe",
      "address": "1 Example Road",
      "location": "116.000000,39.000000"
    }
  ]
}