---
generated_by: "publish-markdown-twins.mjs"
schema_version: "nexus.agent-readable-page.v1"
source_route: "/developer"
source_commit: "1586a2b5b7a269a555473bc47485f8e0c00bc8b9"
---

# Developer hub | Nexus

Trade on Nexus Exchange from code with the API reference, the OpenAPI spec, the Rust client, the CLI, the MCP server and llms.txt.

[Trade](/trade)[Portfolio](/portfolio)[Seasons](/seasons)

More

Search K
Connect Wallet

## Developer hub

Nexus Exchange is API-first. Anything you can do in the terminal, you can do from code over REST and WebSocket.

[API reference](https://docs.nexus.xyz/api-reference)[GitHub](https://github.com/nexus-xyz)

### Trade from code

[API reference Every route, parameter and auth scheme in the REST and WebSocket API.](https://docs.nexus.xyz/api-reference)[OpenAPI spec The machine-readable contract in OpenAPI 3.1. Point a code generator at it.](/openapi.json)[Rust client The official client. It covers the full REST and WebSocket API.](https://github.com/nexus-xyz/nexus-exchange-rs)[Command-line tool Signed prebuilt binaries. The source is on GitHub.](https://github.com/nexus-xyz/nexus-exchange-cli)

#### Quick start

- 01 Download the OpenAPI spec
$ curl -O https://nexus.xyz/openapi.json

- 02 Add the Rust client
$ cargo add nexus-exchange

- 03 Install the CLI
$ curl https://cli.nexus.xyz | sh

- 04 Add the MCP server to Claude Code
$ claude mcp add nexus-exchange -- npx -y @nexus-xyz/exchange-mcp

### For AI agents

[llms.txt A short map of this site, written for language models.](/llms.txt)[llms-full.txt The same map with more context in each section.](/llms-full.txt)[Agent quickstart Get an API key and place your first order. Every step is a curl call.](https://exchange.nexus.xyz/llms.txt)[MCP server Market data and trading as tools your agent can call. Market data needs no key.](https://github.com/nexus-xyz/nexus-exchange-mcp)

### Source and docs

[Developer docs Guides to the Exchange and its API.](https://docs.nexus.xyz)[GitHub The API contract and the source of every official client.](https://github.com/nexus-xyz)[Releases What changed in each release, newest first.](/releases)

TESTNET RTT — BUILD 1586a2b VER 1.1.0

/ Shortcuts Support [Releases](/releases)[Status](https://status.nexus.xyz/)[Docs](https://docs.nexus.xyz/exchange)[Terms](https://docs.nexus.xyz/legal-and-disclaimers/terms-of-use)[Privacy](https://docs.nexus.xyz/legal-and-disclaimers/privacy-policy)

markets trade account portfolio more
