About NX-API CLI

NX-API CLI is an enhancement to the Cisco Nexus 3500 Series CLI system, which supports XML output. NX-API CLI also supports JSON output format for specific commands. On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. NX-API CLI improves the accessibility of these CLIs by making them available outside of the switch by using HTTP/HTTPS. You can use this extension to the existing Cisco Nexus CLI system on the Cisco Nexus 3500 Series devices. NX-API CLI supports show commands, configurations, and Linux Bash. NX-API CLI supports JSON-RPC.

For more information, see the Cisco Nexus 3500 Series NX-OS Programmability Guide, Release 9.x:

https://www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-programming-reference-guides-list.html