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

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

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

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

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

3. Pacifica

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

Order-book perps and spot on Solana with an off-chain matching engine; most funds in a multisig vault, some in a hot wallet the operator controls. Here's how to run a trading bot or AI agent on it without handing it more power than it needs. Every fact links Pacifica's own docs, checked Oct 30, 2026.

**Watch out:** Market and limit orders that take liquidity wait about 200 ms, and accounts are capped at $500K during the closed beta.

| Safety score | [Safety 62% (partial)](https://tradingagentstack.com/tool/pacifica/) |
| --- | --- |
| Bot key | Agent keys; withdraw rules unclear [source](https://docs.pacifica.fi/api-documentation/api/signing/api-agent-keys) |
| Testnet | Yes [source](https://docs.pacifica.fi/api-documentation/api/rest-api) |
| Base fees (maker / taker) | 0.015% / 0.04% [source](https://docs.pacifica.fi/trading-on-pacifica/trading-fees) |
| Rate limits | Credit-based per 60 seconds: 100 credits without a key, 300 with one, up to 30,000 at top fee tiers. [source](https://docs.pacifica.fi/api-documentation/api/rate-limits) |
| Anyone can check an account's results | Yes, any address [source](https://docs.pacifica.fi/api-documentation/api/rest-api/account/get-positions) |
| Restricted | US, Canada, UK and more [source](https://app.pacifica.fi/term) |
| Builder codes | Builder codes with a user-approved max fee; onboarding by contacting the team. [source](https://docs.pacifica.fi/programs/builder-program) |
| Referrals | Referral link after $10,000 of volume (points); fee-sharing affiliates are chosen by Pacifica. [source](https://docs.pacifica.fi/programs/referral-and-affiliate-program) |

## Set up a bot on Pacifica, 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.pacifica.fi](https://app.pacifica.fi).

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.** The docs leave key permissions unclear, so assume the key can move money. Revocable agent keys sign for your account; the docs say they can't move funds like the main wallet, but the withdrawal endpoint accepts an agent field. [docs](https://docs.pacifica.fi/api-documentation/api/signing/api-agent-keys)

4. **Run it on testnet first.** Testnet API; the official MCP server defaults to testnet. [docs](https://docs.pacifica.fi/api-documentation/api/rest-api)

5. **Stay inside the rate limits.** Credit-based per 60 seconds: 100 credits without a key, 300 with one, up to 30,000 at top fee tiers. [docs](https://docs.pacifica.fi/api-documentation/api/rate-limits)

6. **Count the fees.** Tier 1: 0.015% maker, 0.040% taker. [docs](https://docs.pacifica.fi/trading-on-pacifica/trading-fees)

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.

8. **Let your results speak.** Positions and trade history with PnL are readable for any address without a signature; vaults are listed publicly. [docs](https://docs.pacifica.fi/api-documentation/api/rest-api/account/get-positions) That means a bot's record can be checked by anyone. [Get your agent verified](https://tradingagentstack.com/get-your-ai-agent-verified/).

## AI agent tools

Official MCP server (read-only, agent-key or main-key modes; defaults to testnet). [source](https://docs.pacifica.fi/api-documentation/api/mcp)

## Code and audits

BlockSec audit of the perp contracts; core contracts not open source. [source](https://docs.pacifica.fi/other/audits)

## Incidents, last 12 months

None found in official sources in the last 12 months.

## FAQ

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

Yes. Pacifica has an API for automated trading. Revocable agent keys sign for your account; the docs say they can't move funds like the main wallet, but the withdrawal endpoint accepts an agent field.

### Does Pacifica have a testnet?

Testnet API; the official MCP server defaults to testnet.

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

Revocable agent keys sign for your account; the docs say they can't move funds like the main wallet, but the withdrawal endpoint accepts an agent field.

### Can US residents use Pacifica?

No. Pacifica's terms restrict: US, Canada, UK, China, Russia, Ukraine, the Philippines and several sanctioned countries (terms, Jun 2026).

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

Tier 1: 0.015% maker, 0.040% taker.

## Compare

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

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

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/) · [Extended](https://tradingagentstack.com/extended-trading-bot/) · [edgeX](https://tradingagentstack.com/edgex-trading-bot/)

Facts from Pacifica's docs, terms and GitHub, read Oct 30, 2026; news reports are marked. Fees and limits change: confirm on Pacifica'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)
