# Is there an AT command that will return the current API Mode of the device?

**URL:** <https://forums.digi.com/t/is-there-an-at-command-that-will-return-the-current-api-mode-of-the-device/15140>\
**Category:** XBee - 802.15.4\
**Tags:** api-mode, xbee-api-mode, at-commands, api, zigbee\
**Created:** [July 21, 2015, 10:55am UTC](https://forums.digi.com/t/is-there-an-at-command-that-will-return-the-current-api-mode-of-the-device/15140 "2015-07-21T10:55:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomschober](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tomschober](https://forums.digi.com/u/tomschober)\
**Post date:** [July 21, 2015, 10:55am UTC](https://forums.digi.com/t/is-there-an-at-command-that-will-return-the-current-api-mode-of-the-device/15140/1 "2015-07-21T10:55:32Z")

</div>

I want to know the current API Mode of the device without explicitly setting it. Is there an AT command I can send in Command Mode that will return this information (API Mode 1 or 2)?

Thanks

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 2, 2015, 2:25pm UTC](https://forums.digi.com/t/is-there-an-at-command-that-will-return-the-current-api-mode-of-the-device/15140/2 "2015-09-02T14:25:31Z")

</div>

Sure, simply issue the AP command without a value. You will get back a response with the current value of the command.
