POST
Purchase tokens from a single wallet or up to 100 wallets simultaneously. Each wallet signs its own transaction independently. Transactions target the same block for consistent execution.
/trading/instant/buyQuick Start
Parameters
Required
| Parameter | Type | Description |
|---|---|---|
tokenAddress | string | Solana token address to buy |
privateKeys | string[] | Private keys of the wallets. Min 1, max 50. Required for all modes except CUSTOM |
amount | object | Amount configuration. See Amount Modes below |
Conditional
| Parameter | Type | Description |
|---|---|---|
wallets | object[] | Wallets with individual amounts ({ privateKey, amount }). Required when amount.mode is CUSTOM — replaces privateKeys |
Optional
| Parameter | Type | Default | Description |
|---|---|---|---|
priorityFee | object | FAST (0.00015 SOL) | Transaction priority level. See Priority Fee |
platformTag | object | false | No attribution | Tag transactions with a DEX source. See Platform Attribution |
Amount Modes
Four modes to control how SOL is distributed across wallets.- FIXED
- RANGE
- TOTAL
- CUSTOM
Each wallet buys with the same amount.3 wallets × 0.5 SOL = 1.5 SOL total.
More Examples
Multi-wallet — all options
Multi-wallet — all options
Three wallets buying random amounts with platform attribution cycling through a list.
Per-wallet amounts — CUSTOM mode
Per-wallet amounts — CUSTOM mode
Full control over each wallet’s buy amount. Uses the Each wallet buys a different amount — 0.1, 0.3, and 0.5 SOL respectively.
wallets array instead of privateKeys.Response
- Success (200)
- Partial Success (200)
Errors
| Code | Message | Cause |
|---|---|---|
INVALID_TOKEN | Invalid token address | Token address is not a valid Solana address |
INVALID_WALLET | Invalid private key | One of the private keys is malformed |
INVALID_AMOUNT | Invalid amount configuration | Amount mode, value, or range is invalid |
INSUFFICIENT_BALANCE | Insufficient SOL balance | Wallet does not have enough SOL |
RATE_LIMIT | Rate limit exceeded | Too many requests — see Rate Limits |
INTERNAL_ERROR | Internal server error | Retry or contact support |
Notes
- Each wallet needs enough SOL to cover the buy amount + priority fee
What’s Next?
Sell Tokens
Exit token positions from one or multiple wallets
Priority Fee
Configure transaction speed and cost
Platform Attribution
Tag transactions with a DEX source
Initialize Wallets
Optimize speed for your first trade