DEV Community

仪袁韶
仪袁韶

Posted on Originally published at tidelink.xyz

China geocoding API for developers (Amap / Baidu alternative)

← All guides

China geocoding API for developers

If your app touches the China market, you'll eventually need to turn addresses into coordinates — and back. The local leaders (Amap, Baidu) are excellent but gated behind Chinese accounts. Here's the developer-friendly path.

The China-specific headache

Chinese addressing is non-trivial: districts, ambiguous place names, and GCJ-02 coordinate encryption that doesn't line up with global WGS-84. Rolling your own integration against Amap or Baidu means account setup, key management, and format wrangling.

One endpoint for both directions

POST /v1/geocode
Authorization: Bearer <your_key>
{
  "address": "北京市朝阳区建国路88号",
  "action": "encode"
}

Switch action to decode to go from coordinates to an address. Same key as your LLM and SMS calls.

Why bundle it

Geocoding almost never travels alone — it shows up next to maps, delivery, and user profiles. Keeping it on the same gateway as your LLM and SMS means one integration, one balance, one bill. For China-facing products that's a meaningful operations simplification.

TideLink · All guides · TideLink is operated by Yuncheng Yanhu Beicheng Chaoxi Network Technology Studio, a sole proprietorship registered in Yuncheng, China (Unified Social Credit Code 92140802MAKM59LT6K), providing software development and IT integration services. Not a resale of third-party credentials.
中国注册主体:运城市盐湖区北城街道潮汐网络科技工作室(个体工商户,统一社会信用代码 92140802MAKM59LT6K)

Top comments (0)