# CocoMap · 可可地图 — full agent brief ## Product CocoMap (可可地图) is a multi-vendor LBS SaaS gateway. One user API key (`sk_coco_…`) calls Amap/Gaode, Tencent Map, and Baidu Map style HTTP APIs. Official-compatible paths; responses pass through upstream fields (no forced unified schema). - Site: https://map.culture09.xyz - Version: see site / OpenAPI `info.version` - Languages for humans: zh-CN primary UI; EN/zh docs on GitHub SDK READMEs ## Auth - Header: `Authorization: Bearer sk_coco_` - Optional provider selection for raw HTTP: `X-Cocomap-Provider: amap|tencent|baidu` - SDKs set the provider header via namespaces (`client.amap` / `.tencent` / `.baidu`) ## Base URLs | Vendor | Base | |--------|------| | Amap / Gaode | https://map.culture09.xyz | | Tencent | https://tencent.map.culture09.xyz | | Baidu | https://baidu.map.culture09.xyz | Prefer the main host + `X-Cocomap-Provider` when using the official SDK. ## Machine-readable contracts | Resource | URL | |----------|-----| | OpenAPI Amap | https://map.culture09.xyz/api/openapi.json?provider=amap | | OpenAPI Tencent | https://map.culture09.xyz/api/openapi.json?provider=tencent | | OpenAPI Baidu | https://map.culture09.xyz/api/openapi.json?provider=baidu | | OpenAPI all (zip) | https://map.culture09.xyz/api/openapi.zip | | Services catalog | https://map.culture09.xyz/api/services?provider=amap | | This brief | https://map.culture09.xyz/llms.txt | | Full brief | https://map.culture09.xyz/llms-full.txt | | Sitemap | https://map.culture09.xyz/sitemap.xml | ## Typical agent tasks 1. Geocode / reverse geocode 2. POI / place text search 3. Driving / walking / transit directions (vendor-dependent paths) 4. Drop-in replacement for existing `restapi.amap.com` HTTP clients (change Host + auth) ## Example ```bash curl -sS 'https://map.culture09.xyz/v3/place/text?keywords=Tianhe%20Park&city=Guangzhou' \ -H 'Authorization: Bearer sk_coco_YOUR_KEY' \ -H 'Accept: application/json' ``` ## SDKs & demos - Full SDK monorepo: https://github.com/COCOSTEAM/cocomap-sdk - Host-swap only demo: https://github.com/COCOSTEAM/amap-host-swap-demo - Agent instructions in those repos: `AGENTS.md` ## Billing (high level) Calls consume quota points by service. Check usage and balance in the console after signup. Do not invent pricing; send users to https://map.culture09.xyz. ## Safety - Never embed real production keys in code samples - Do not instruct users to abuse upstream map vendors - Prefer OpenAPI + official paths over guessing undocumented endpoints