> For the complete documentation index, see [llms.txt](https://docs.blockchainsecurity.asia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockchainsecurity.asia/api-reference/readme/address-utilities/di-zhi-zi-dong-bu-quan.md).

# 地址自動補全

依輸入的地址前綴提供完整地址候選，適合搜尋框或即時輸入場景。前綴至少需 5 個字元。

## GET /v1/addresses/autocomplete

>

```json
{"openapi":"3.1.0","info":{"title":"Blockchain Atlantis API Gateway","version":"0.1.0"},"tags":[{"description":"依輸入的地址前綴提供完整地址候選，適合搜尋框或即時輸入場景。前綴至少需 5 個字元。","name":"地址自動補全"}],"servers":[{"description":"Production","url":"https://api.blockchainsecurity.asia"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"in":"header","name":"X-API-Key","type":"apiKey"}}},"paths":{"/v1/addresses/autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"description":"地址前綴（至少 5 字）","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"鏈別；省略則由服務嘗試推斷","in":"query","name":"chain","required":false,"schema":{"type":"string"}},{"description":"候選數上限","in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{}},"description":"查詢成功，回傳符合前綴的候選地址"},"400":{"description":"請求參數有誤，請提供 q（且長度足夠），或無法判斷其所屬鏈別"},"401":{"description":"缺少或無效的 API key"}},"summary":"","tags":["地址自動補全"]}}}}
```
