# Extended trading bot setup: API keys, testnet and fees

> How to run a trading bot on Extended: what its API keys can do, testnet, fees, rate limits and who&#x27;s restricted. Sourced from Extended&#x27;s own docs.

Canonical: https://tradingagentstack.com/extended-trading-bot/

1. [Home](https://tradingagentstack.com/)

2. [Perp DEXs for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)

3. Extended

# Extended trading bot setup (2026): keys, testnet, fees and limits

Order-book perps (formerly X10); settlement moved from Starknet to Circle's Arc on Oct 22, 2026. Here's how to run a trading bot or AI agent on it without handing it more power than it needs. Every fact links Extended's own docs, checked Oct 30, 2026.

**Watch out:** Settlement moved to a new chain days ago and the published audits cover the old contracts.

| Safety score | [Safety 43%](https://tradingagentstack.com/tool/extended/) |
| --- | --- |
| Bot key | Signing key can also withdraw [source](https://api.docs.extended.exchange/) |
| Testnet | Yes [source](https://docs.extended.exchange/extended-resources/more/testnet) |
| Base fees (maker / taker) | 0% / 0.025% [source](https://docs.extended.exchange/extended-resources/trading/trading-fees-and-rebates) |
| Rate limits | 1,000 requests per minute per IP by default, up to 12,000 at high volume. [source](https://api.docs.extended.exchange/) |
| Anyone can check an account's results | No (leaderboard only) [source](https://docs.extended.exchange/extended-resources/more/leaderboard) |
| Restricted | US, UK, Canada and more [source](https://docs.extended.exchange/extended-resources/legal/restricted-countries) |
| Builder codes | Builder codes: the builder fee goes 100% to the builder, paid daily. [source](https://docs.extended.exchange/extended-resources/builder-codes) |
| Referrals | Referral links after $10,000 of volume (points-based); fee-sharing affiliate tier is invite-only. [source](https://docs.extended.exchange/extended-resources/referrals-and-affiliates) |

## Set up a bot on Extended, step by step

1. **Make sure you're on the real site.** Fake trading sites and bots copy every big exchange. Before you connect a wallet, use the official app at [app.extended.exchange](https://app.extended.exchange).

2. **Give the bot its own account.** Put the bot in a separate sub-account or wallet with only the money it needs, so a bug or a leaked key can't reach the rest.

3. **Create the bot's key.** There is no trade-only key here, so isolate the bot instead. The API key is read-only, but every order needs the account's Stark key, which can also withdraw and transfer. Use one of up to 10 sub-accounts per bot to limit what a leaked key reaches. [docs](https://api.docs.extended.exchange/)

4. **Run it on testnet first.** Sepolia testnet with daily test USDC. [docs](https://docs.extended.exchange/extended-resources/more/testnet)

5. **Stay inside the rate limits.** 1,000 requests per minute per IP by default, up to 12,000 at high volume. [docs](https://api.docs.extended.exchange/)

6. **Count the fees.** Standard markets: 0% maker, 0.025% taker. [docs](https://docs.extended.exchange/extended-resources/trading/trading-fees-and-rebates)

7. **Put limits outside the bot.** A bot can't be trusted to police itself. [TAS Guard](https://tradingagentstack.com/guard/) adds order caps, phone approval and a kill switch in front of an AI agent, including Hyperliquid and EVM wallets.

## AI agent tools

Experimental MCP server in the official Python SDK; it trades on production by default. [source](https://github.com/x10xchange/python_sdk)

## Code and audits

Audits cover the old Starknet contracts; none found yet for the Arc contracts. [source](https://docs.extended.exchange/extended-resources/more/smart-contract-audits)

## Incidents, last 12 months

None found in official sources in the last 12 months.

## FAQ

### Can I run a trading bot on Extended?

Yes. Extended has an API for automated trading. The API key is read-only, but every order needs the account's Stark key, which can also withdraw and transfer. Use one of up to 10 sub-accounts per bot to limit what a leaked key reaches.

### Does Extended have a testnet?

Sepolia testnet with daily test USDC.

### Can a Extended API key withdraw my funds?

The API key is read-only, but every order needs the account's Stark key, which can also withdraw and transfer. Use one of up to 10 sub-accounts per bot to limit what a leaked key reaches.

### Can US residents use Extended?

No. Extended's terms restrict: US, UK, Canada, Hong Kong, Panama and several sanctioned places.

### What are Extended's trading fees for bots?

Standard markets: 0% maker, 0.025% taker.

## Compare

- [All 9 perp DEXs compared for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)

- [Extended Safety score and tool page](https://tradingagentstack.com/tool/extended/)

Other exchanges: [Hyperliquid](https://tradingagentstack.com/hyperliquid-trading-bot/) · [Lighter](https://tradingagentstack.com/lighter-trading-bot/) · [Aster](https://tradingagentstack.com/aster-trading-bot/) · [dYdX](https://tradingagentstack.com/dydx-trading-bot/) · [GMX](https://tradingagentstack.com/gmx-trading-bot/) · [Paradex](https://tradingagentstack.com/paradex-trading-bot/) · [Pacifica](https://tradingagentstack.com/pacifica-trading-bot/) · [edgeX](https://tradingagentstack.com/edgex-trading-bot/)

Facts from Extended's docs, terms and GitHub, read Oct 30, 2026; news reports are marked. Fees and limits change: confirm on Extended's site. No referral links. Not financial advice.

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
