> ## Documentation Index
> Fetch the complete documentation index at: https://polymarketcn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLOB REST API

> Polymarket CLOB REST API 完整參考

<Callout type="success">
  還沒有帳號？[點擊這裡註冊 Polymarket](https://polymarket.com/?r=2026VIP) 並完成入金，才能用錢包私鑰為訂單籤名、實際成交。
</Callout>

<Warning>
  **法律合規提醒**：在使用 Polymarket 服務或 API 前，請確認您所在地區的法律規定。Polymarket 目前不支援比利時、法國、新加坡、泰國、中國大陸等地區，政策可能隨時變化。
</Warning>

CLOB REST API 提供了完整的訂單管理和市場數據訪問功能。

## 基礎 URL

```
https://clob.polymarket.com
```

## 認證

大多數端點需要 API 認證。使用 API 憑據進行認證。

## 端點列表

### 訂單管理

* `POST /order` - 創建訂單
* `GET /order` - 獲取訂單
* `DELETE /order` - 取消訂單
* `POST /orders` - 批量創建
* `DELETE /orders` - 批量取消

### 市場數據

* `GET /markets` - 獲取市場列表
* `GET /book` - 獲取訂單簿
* `GET /midpoint` - 獲取中間價
* `GET /trades` - 獲取交易歷史

## 下一步

<CardGroup cols={2}>
  <Card title="認證" icon="key" href="/api-tutorial/clob/authentication">
    了解 API 認證
  </Card>

  <Card title="訂單管理" icon="list-check" href="/api-tutorial/clob/order-management">
    學習訂單管理
  </Card>
</CardGroup>
