> 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/help-center/kai-shi-shi-yong/data-plane-vs-control-plane.md).

# 資料平面與控制平面

BCS  API 把「使用服務」與「管理帳號」分成兩個獨立平面。搞懂它們的差別，能幫你決定該用哪種認證、誰負責什麼。

|       | 資料平面                 | 控制平面                     |
| ----- | -------------------- | ------------------------ |
| 給誰用   | 你的應用程式               | 你方管理員                    |
| 端點    | `/v1/*`              | `/admin/api/*`           |
| 認證    | API key（`X-API-Key`） | 帳號密碼登入 + session         |
| 計費／限流 | 有                    | 無                        |
| 典型操作  | 呼叫業務 API、訂閱 webhook  | 建立／撤銷 key、調整 credit、管理方案 |

## 什麼時候用哪個

* **開發整合、串接服務** → 資料平面。你只需要一把 API key。
* **發放金鑰、控管用量、加值 credit** → 控制平面。由管理員在後台操作。

{% hint style="info" %}
一般開發者**不需要**控制平面的帳號；只要向管理員索取一把 API key 即可開始。
{% endhint %}

相關說明：[管理 API key](/help-center/guan-li/managing-api-keys.md)。
