{
  "openapi": "3.0.1",
  "info": {
    "title": "AMap (Gaode / 高德地图) Scraper - China Places, POI & Contacts",
    "description": "Extract places from AMap (高德地图 / Gaode), China's top map, for any Chinese city: names, phones, ratings, review snippets, opening hours, photos, and coordinates. Export to JSON, CSV, or Excel. No AMap key or login.",
    "version": "0.0",
    "x-build-id": "FftP4uxNz0liCqslf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zen-studio~amap-places-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zen-studio-amap-places-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/zen-studio~amap-places-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zen-studio-amap-places-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/zen-studio~amap-places-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zen-studio-amap-places-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "title": "搜索关键词 / Search keywords",
            "type": "array",
            "description": "要搜索的关键词，每行一个。<br>中英文均可，多数分类结果数量相同（药店 594 / pharmacy 598）。少数中文特有的品类用中文明显更好，例如「火锅」返回 600 条，「hotpot」仅 5 条。<br><br>Keywords to search, one per line. Chinese and English both work, and most categories return the same number either way (药店 594 vs pharmacy 598). A few distinctly Chinese categories do much better in Chinese: 火锅 returns 600 places, hotpot returns 5.",
            "default": [
              "火锅"
            ],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "分类 / Category",
            "enum": [
              "",
              "美食",
              "火锅",
              "咖啡",
              "酒店",
              "超市",
              "药店",
              "医院",
              "银行",
              "加油站",
              "健身房",
              "美容美发",
              "汽车维修",
              "幼儿园",
              "学校",
              "景点",
              "停车场",
              "快递"
            ],
            "type": "string",
            "description": "常用分类的快捷方式，会作为额外的搜索关键词。<br><br>Shortcut for a common category. Added as an extra search keyword.",
            "default": ""
          },
          "city": {
            "title": "城市 / City",
            "type": "string",
            "description": "搜索所在城市，中文或英文均可，全国城市均支持。<br>例如：北京、上海、广州、深圳、成都、杭州、厦门。<br><br>City to search in. Chinese or English both work, and every city in China is supported.<br>For example: Beijing, Shanghai, Guangzhou, Shenzhen, Chengdu, Hangzhou, Xiamen.",
            "default": "北京"
          },
          "maxResults": {
            "title": "最大结果数 / Max results",
            "minimum": 1,
            "type": "integer",
            "description": "每个关键词最多返回多少个地点。单次搜索上限为 600 条，超过该数量时会自动在城市范围内分区搜索以获得更多结果。<br><br>Max places per keyword. A single search tops out at 600 places; above that the actor automatically searches the city area by area to reach your target.",
            "default": 100
          },
          "includeDetails": {
            "title": "采集详细信息 / Include full details",
            "type": "boolean",
            "description": "默认开启，为每个地点补充可读分类路径（如「餐饮服务;中餐厅;火锅店」而非代码）、数据更新时间、更多图片、官网等。会额外计费并略微增加运行时间；如需更快更省，可关闭。<br><br>On by default. Adds the readable category path (e.g. \"餐饮服务;中餐厅;火锅店\" instead of a code), data freshness date, extra photos and website to every place. Bills an extra event and is slightly slower; turn it off for cheaper, faster runs.",
            "default": true
          },
          "placeUrls": {
            "title": "地点链接 / Place URLs",
            "type": "array",
            "description": "已有具体地点时填这里，跳过搜索。支持三种：<br>• 地点页链接，如 <code>https://www.amap.com/place/B0FFFPGBW3</code><br>• 搜索页链接，如 <code>https://www.amap.com/search?query=火锅&city=北京</code>（当作搜索执行）<br>• 上次采集结果里的 <code>url</code> 或 <code>placeId</code>，可直接粘回<br><br>Use this when you already have specific places, skipping search. Three things work:<br>• A place-page link, e.g. <code>https://www.amap.com/place/B0FFFPGBW3</code><br>• A search-page link, e.g. <code>https://www.amap.com/search?query=hotpot&city=Beijing</code> (run as a search)<br>• A <code>url</code> or <code>placeId</code> from a previous run's output — paste it straight back in.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "最低评分 / Minimum rating",
            "enum": [
              "",
              "3.0",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "只保留达到该评分的地点。无评分的地点会被排除。<br><br>Keep only places at or above this rating. Places without a rating are excluded.",
            "default": ""
          },
          "minReviewCount": {
            "title": "最少评论数 / Minimum review count",
            "minimum": 0,
            "type": "integer",
            "description": "只保留评论数达到该值的地点。<br><br>Keep only places with at least this many reviews.",
            "default": 0
          },
          "priceMin": {
            "title": "人均消费下限 / Min price per person",
            "minimum": 0,
            "type": "integer",
            "description": "人均消费下限（元）。仅餐饮类地点提供该数据。<br><br>Minimum average spend per person in CNY. Only restaurants report this.",
            "default": 0
          },
          "priceMax": {
            "title": "人均消费上限 / Max price per person",
            "minimum": 0,
            "type": "integer",
            "description": "人均消费上限（元），0 表示不限。<br><br>Maximum average spend per person in CNY. 0 means no limit.",
            "default": 0
          },
          "searchMatching": {
            "title": "名称匹配 / Name matching",
            "enum": [
              "all",
              "only_includes",
              "only_exact"
            ],
            "type": "string",
            "description": "控制地点名称与关键词的匹配严格程度。<br><br>How strictly a place name must match your keyword.",
            "default": "all"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}