Every third-party key is optional. Without any key, Address uses only official registers, open map data, and other sources that need no authorization. The keys below add data for specific countries, enable online translation, or show AMap on the web UI.
Add keys in the admin console under Integrations → Map keys. They are stored encrypted in the database and only masked values are shown.
| Provider | Purpose | Location in the admin console |
|---|---|---|
| AMap WebService | China address sync | Map keys → AMap |
| Baidu Maps | China address sync | Map keys → Baidu Maps |
| Tencent Location Service | China address sync | Map keys → Tencent Maps |
| Google Geocoding | Street and house-number enrichment for sparse countries | Map keys → Google Geocoding |
| Geoapify | South Korea addresses and postcodes | Map keys → Geoapify |
| Mappls | India address enrichment | Map keys → Mappls |
| OneMap | Singapore address sync | Map keys → OneMap |
| DeepL API Free | Address translation | Online translation → DeepL |
| Youdao Text Translation | Address translation (paid) | Online translation → Youdao |
| OpenAI-compatible API | Translate addresses with any Chat Completions model | Online translation → OpenAI-compatible |
| Index-Translate | Keyless bilibili translation model | Online translation → Index-Translate |
| AMap JavaScript API | Show AMap on the web UI | AMap frontend map credential |
Multiple keys rotate automatically. Add several keys for the same provider: a failing key cools down while the others take over, and when none is available the system waits for the earliest to recover. Each key can have its own quota limit.
- In the AMap console, create an application and a Web Service key following the official guide.
- Restrict it to your server IP.
- Add it under “AMap”.
- In the Baidu Maps API console, create a server-side application with Place Search enabled.
- Restrict it to your server IP.
- Add the AK under “Baidu Maps”.
- In the Tencent Location Service console, create an application with WebServiceAPI enabled.
- Configure a server IP allowlist or signature verification.
- Add it under “Tencent Maps”.
- Create a Google Cloud project with a billing account.
- Enable the Geocoding API and create a key restricted to the Geocoding API and your server IP (official guide).
- Add it under “Google Geocoding”.
Address uses Geocoding API v4 and does not need the Places API. Google includes 10,000 free calls per billing account per month; Address uses at most 9,000 by default. If the same billing account is used elsewhere, enter that usage as “Usage already this month” in the key settings.
Create a project in Geoapify MyProjects, copy the API key, and add it under “Geoapify”. See the reverse geocoding docs.
Create an application in the Mappls console, enable the Reverse Geocoding API, copy the static key, restrict it to your server IP, and add it under “Mappls”.
Register at OneMap, generate an access token with the authentication API, and add it under “OneMap”. Tokens expire after 3 days and must be replaced before then.
Shows AMap on the web result page. It cannot share a key with AMap WebService:
- Create a separate Web (JS API) key and security secret in the AMap console.
- Restrict the key to your public domain.
- Enter the key and secret under “AMap frontend map credential”.
The secret stays on the server and is used through the same-origin proxy /_AMapService; it never reaches the browser. Turn the map on or off under “Frontend map display” on the same page.
Translation runs in this order:
- Existing valid translations and the cache.
- Enabled online providers, lowest priority number first; providers with the same priority take turns.
- Providers that are unavailable, cooling down, or out of quota are skipped.
Each translation key has its own priority in its edit dialog. Google web translation needs no key and has its priority next to its toggle; it is not the paid Cloud Translation API, may be rate-limited, and is not guaranteed to be available.
Translations must keep house numbers, unit numbers, and postcodes unchanged and pass language checks before they are cached or displayed.
Add a free key ending in :fx under “DeepL” and set the project character limit (default 500,000). “Test” only checks the quota and uses no characters.
- Only
https://api-free.deepl.comis allowed; Pro keys and endpoints are rejected. - Each key keeps its own character ledger (each key is a separate DeepL account); the usable amount is the smaller of that account's quota and the key's project limit. Deleting a key deletes its ledger.
- DeepL usage may lag by a few minutes. The Free API reports no billing period, so a key's ledger starts over when DeepL reports lower account usage; exhausted keys recheck usage hourly.
Paid service. Youdao bills by usage. Once the trial credit is used up, both tests and automatic translation are charged. The quota set in Address is only an internal limit and does not mean you stay within any free tier. Do not add or enable it if you do not accept the cost.
Create an application with text translation enabled at Youdao AI, then enter the app ID and app secret under “Youdao”. See the official pricing.
bilibili's translation model at https://index-translate.bilibili.com/v1 needs no key. Turn it on under “Online translation → Index-Translate”, set its priority and concurrency, and click “Test”.
- Requests follow bilibili's
inference/llm/call_api.py: one user message with the instTrans JSON constraint prompt,temperature: 0andchat_template_kwargs.enable_thinking=false; no reasoning setting and no authorization header are sent. - A self-hosted deployment can replace the endpoint (HTTPS, or HTTP on localhost) and model.
- Address components are sent to bilibili. Limits are not published; a 2026-10-19 production test of 20-value requests had no errors from concurrency 1 to 32 (about 5 to 137 values per second, median 4 s), and concurrency goes up to 100. HTTP 429 cools the route down, and three failures stop it until its settings change.
- A proxy of an Index model that needs a key (for example
http://proxy.example:8080/v1; short keys are accepted) is added as an OpenAI-compatible provider with request format “Index-Translate”: it sends the same single user message with the key as a Bearer token, so it gets its own priority, concurrency and cooldown.
Connect any service that speaks the OpenAI Chat Completions format, such as DeepSeek, a Gemini proxy, or OpenRouter.
Add a provider
- Click Add under “OpenAI-compatible” and enter the base URL and API key.
- Click the button next to the model field to load the model list and pick one, or type the model name.
- Save, then click “Test” to confirm it works.
Quota defaults to “Unlimited”; uncheck it and enter a daily request limit if you need one. When the provider reports exhausted prepaid credit (HTTP 402 or a balance/credit error), the key shows “Quota exhausted”, is skipped, and is rechecked hourly; after topping up, “Test” restores it at once.
Base URL: a prefix or the full URL both work; the actual request URL is previewed below the field.
| You enter | Requests go to |
|---|---|
https://api.example.com/v1 |
https://api.example.com/v1/chat/completions |
https://api.example.com/v1/chat/completions |
Used as-is |
https://api.example.com (no version) |
Detected on save, usually …/v1/chat/completions |
Remote URLs should use HTTPS. Plain HTTP is accepted for self-hosted proxies, and the console warns that the key and address text then travel unencrypted. URLs with a user name, password, query or fragment are rejected.
Request format: “OpenAI Chat Completions” (default) sends the system prompt and expects {"translations": [...]}; “Index-Translate” sends bilibili Index-Translate's single user message with thinking off and accepts its keyed JSON reply. Index-Translate supports English and Simplified Chinese targets only.
Prompt: new providers are prefilled with the built-in default prompt; leaving it empty also uses the default, and edits can be reset in one click. The prompt only adjusts translation style; the rules for JSON-only output, matching item count, and preserved numbers are always appended and cannot be overridden.
Reasoning effort: low is sent by default. Reasoning models are slow, so each translation request (including queueing) may take up to 120 seconds. When the model list reports supported levels, a suitable one is chosen automatically; otherwise enter a value from the provider's docs.
Test: “Test” opens a log window that shows, step by step:
- The request URL, model, and parameters
- HTTP status and latency
- Finish reason, token usage, and the model's reply
- On failure, the provider's error message (with the API key masked)
There are two modes: a connectivity test that sends "hi", and an address translation sample. Credentials marked “Needs review” can still be tested and return to service when a test passes; a malformed model reply never marks a credential for review.
- Restrict server-side keys to your server IP and web map keys to your domain.
- Never put keys in the repository, screenshots, or logs.
- Back up
data/secrets/config_master_keytogether with the database; stored keys cannot be decrypted without it.