# 獲取代理

Swiftproxy 提供兩種靈活的代理獲取方式：**API 獲取**與**用戶名與密碼認證**。這兩種選項皆針對不同的工作流程與技術需求設計，無論您是在管理多個子帳戶，還是大規模自動化代理輪換，都能滿足您的需求。

{% content-ref url="/pages/tFDPzKq2MlmRHJKJRIL4" %}
[API 取得](/zh-tw/dai-li/zhu-zhai-dai-li/huo-qu-dai-li/api-qu-de.md)
{% endcontent-ref %}

{% content-ref url="/pages/GGK1u9FToFgRwUHda5z2" %}
[賬密認證](/zh-tw/dai-li/zhu-zhai-dai-li/huo-qu-dai-li/zhang-mi-ren-zheng.md)
{% endcontent-ref %}

每種方式均支持 HTTP/HTTPS 與 SOCKS5 協議。請根據您的設定需求選擇最合適的方法，並依照相應的指南開始使用。

***

需要幫助或有任何問題？我們的團隊隨時為您服務 — 請通過 **<contact@swiftproxy.net>** 與我們聯繫


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swiftproxy.net/zh-tw/dai-li/zhu-zhai-dai-li/huo-qu-dai-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
