> For the complete documentation index, see [llms.txt](https://www.bfm-unity.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bfm-unity.org/antbot-doc/zh-cn/chang-jian-wen-ti/ru-he-bang-ding-mexc-api.md).

# 如何绑定MEXC API？

[Skip to content](https://www.antrade.io/guide/docs/cn/binding_mexc/#content)[AntBot | Crypto Trading Bot](https://www.antrade.io/guide/docs/cn/)[首页](https://www.antrade.io/guide/docs/cn/)[免费使用AntBot](https://antrade.io/)

* [Home](https://www.antrade.io/guide/docs/cn)
* [常见问题](https://www.antrade.io/guide/docs/cn/cn-1dpg3cthijkng/)
* [如何绑定MEXC API？](https://www.antrade.io/guide/docs/cn/binding_mexc/)

Search for:

常见问题

* * [如何绑定Bitget API？](https://www.antrade.io/guide/docs/cn/binding_bitget/)
  * [如何绑定MEXC API？](https://www.antrade.io/guide/docs/cn/binding_mexc/)
  * [如何绑定Gate.io API?](https://www.antrade.io/guide/docs/cn/binding_gateio/)
  * [如何重新进行快速授权？](https://www.antrade.io/guide/docs/cn/quickly-reauthorize-binance/)
  * [同个币种可以同时运行多个机器人吗？](https://www.antrade.io/guide/docs/cn/one-crypto-run-multiple-bots/)
  * [在一个账户下可以导入两个交易所的API Key吗？](https://www.antrade.io/guide/docs/cn/two-api-keys-under-one-account/)
  * [智能网格的盈利和交易所的盈利怎么不一样?](https://www.antrade.io/guide/docs/cn/the-profit-difference-in-ai-grid-and-exchange/)
  * [因能量不足机器人暂停了，但充值能量后机器人为何还是处于暂停状态？](https://www.antrade.io/guide/docs/cn/bots-are-stopped-when-purchased-energy/)
  * [系统会不会卖掉我在交易所手动购买的币？](https://www.antrade.io/guide/docs/cn/will-antbot-sell-funds-i-bought/)
  * [什么是双向持仓模式？](https://www.antrade.io/guide/docs/cn/hedge-mode/)
  * [交易所账户持仓限额，怎么办？](https://www.antrade.io/guide/docs/cn/position-limit-of-exchange-account/)
  * [为什么价格已经到达加仓价格而系统没有进行加仓？](https://www.antrade.io/guide/docs/cn/why-is-position-not-added/)
  * [能量可以兑换成USDT吗？](https://www.antrade.io/guide/docs/cn/energy-exchange-usdt/)
  * [API密钥交易权限不足：如何修改API密钥交易权限？](https://www.antrade.io/guide/docs/cn/insufficient-api-trading-permissions/)
  * [如何在币安中填写IP地址？](https://www.antrade.io/guide/docs/cn/ip-address-of-binance/)
  * [如何绑定Kucoin API?](https://www.antrade.io/guide/docs/cn/binding_kucoin/)
  * [量化交易机器人真能赚到钱吗?](https://www.antrade.io/guide/docs/cn/can-quantitative-trading-robots-really-make-money/)
  * [小蚁的首单资金是如何计算的？](https://www.antrade.io/guide/docs/cn/how-is-antbots-initial-positions-calculated/)
  * [新手应该选择启动哪个机器人，选择哪些币种？](https://www.antrade.io/guide/docs/cn/which-robot-should-a-novice-choose-to-start/)
  * [如何减少手币安交易手续费？](https://www.antrade.io/guide/docs/cn/reducing-trading-fees/)

## 如何绑定MEXC API？

2周 ago[AntBot](https://www.antrade.io/guide/docs/cn/author/antbot/)1 minute

**在开始之前，请确保你的币币账户（用于现货交易）和合约账户（用于合约交易）有充足的余额。如果账户余额不足，需要先进行划转操作。这样才能在小蚁顺利开启现货或者期货机器人。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1007-2.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1008-3.jpg" alt=""><figcaption></figcaption></figure>

**1. 打开【MEXCapp】首页，点击左上角个人资料图标。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1001-3.jpg" alt=""><figcaption></figcaption></figure>

**2. 点击【API申请】。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1002-2.jpg" alt=""><figcaption></figcaption></figure>

**3. 点击【新建API Key】。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1003-3.jpg" alt=""><figcaption></figcaption></figure>

**4. 进入申请页面，勾选以下选项（如图所示）。**

**提示：在填写IP地址时，请输入小蚁的完整IP地址：**

**101.36.117.216,165.154.41.100,36.255.222.23,165.154.60.7,101.36.127.124,101.36.108.79,122.10.161.141,165.154.60.119,165.154.44.65**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1004-6.jpg" alt=""><figcaption></figcaption></figure>

**5. 完成安全验证。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1005-3.jpg" alt=""><figcaption></figcaption></figure>

**6. API已成功创建，请在确认之前先复制API 密钥和API 密码密钥。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1006-6.jpg" alt=""><figcaption></figcaption></figure>

**7. 回到小蚁的API绑定页面，粘贴以下内容并点击【导入】完成API绑定。**

**现在开始您的交易之旅吧！启动机器人，体验智能交易的便利和高效！**

[#AntBot](https://www.antrade.io/guide/docs/cn/tag/antbot/)@AntBot free trading bot\\
