Skip to content

Trading API

Trade Nexwest from your own code

Automate your own strategy, run a trading bot or make markets, with REST and WebSocket access to every Nexwest market. The same order book, the same fees, and keys you control.

Building something bigger? See the API reference.

Built for automation

From your first bot to professional market making

Automate your own strategy

Buy a fixed amount on a schedule, trade a grid inside a range, act on your own signals, or manage stops around the clock.

Build your own tools

Alerts, dashboards and trade journals on your own account, with a read-only key that can never place an order.

Make markets

Quote both sides with post-only orders, batch updates of up to 10 orders and cancel-all when your feed drops.

One shared order book

Your orders rest on the same central limit order book as every Nexwest trader, with price-time priority.

The terminal's fees

0.02% maker and 0.05% taker on perpetuals, the same as the terminal, with no extra charge for the API.

REST and WebSocket

Place, edit and cancel orders in batches; stream order books, trades, your fills and positions.

Keys you control

Read-only or read & trade, up to 365 days, an optional IP allow list, and removal at any time.

No withdrawals by API

A key can trade but never move funds. Withdrawals always need a signature from your wallet.

Every market

140+ perpetuals: crypto, US stocks and indices, gold, oil and FX, open 24/7 and settled in USDC.

Get started

Live in three steps

Questions about integration or trading volume? Email info@nexwest.co.th.

  1. 1

    Activate and fund your account

    Connect your wallet in the terminal, activate trading with free signatures and deposit USDC on Arbitrum One.

  2. 2

    Create an API key

    Start with read only to test, then read & trade. Pick an expiry and, for a server, its IP addresses. Copy the secret once and keep it safe.

  3. 3

    Run your code

    The trading bot guide builds a complete bot in Python, step by step, and the API reference lists every endpoint and stream.

FAQ

API questions, answered.

Who is the Nexwest API for?

Anyone with a Nexwest trading account who wants to trade from code: traders automating their own strategy, bot builders, quant teams and market makers. It gives the same markets, order book and fees as the trading terminal.

Do I need to be a developer?

You need to be able to run a short Python script. The trading bot guide takes you from a new key to a working bot that buys a fixed amount on a schedule, with a dry-run mode to test it before it trades.

Can an API key withdraw my funds?

No. Keys can read your account and, with the read & trade permission, place and cancel orders. Withdrawals always need a signature from your wallet, so a leaked key cannot move USDC out.

How do I keep a key safe?

The key pair is made in your browser and the secret is shown once. Store it in a secrets manager, add the IP addresses of your servers to its allow list, give it the shortest expiry that works, and remove it as soon as you stop using it.

What are the fees for API trading?

The same as the terminal: 0.02% maker and 0.05% taker on perpetuals, with no extra charge for the API. Funding payments apply to open positions as usual.

Do bot trades earn rewards?

Yes. API trades earn Season 1 points like any other trade. Wash trading, trading between your own accounts and sybil accounts are excluded from rewards.

Are there rate limits?

Yes. Limits apply per key, for example 10 new orders a second, and a request over the limit gets HTTP 429. The API reference lists the limits for each endpoint.

Can I use the API from any country?

No. The API follows the same terms as the website. It is not available in sanctioned regions, and you may not use it to open positions from restricted regions, including the United States and Canada.