On this page
Connect your account
- Sign in to BLIX and open your wallet in the terminal.
- Copy its deposit address and send SOL on the Solana network. Wait until the balance appears; leave SOL for transaction fees.
- Open Trade API, select Allow trading from my BLIX wallet, and create a key. The key is shown once.
- Set
BLIX_KEYin your API or MCP client's environment. It connects to the wallet belonging to that account.
Trading-enabled keys can spend funds in the linked wallet. Keep the key private and revoke it from the same page when no longer needed. Existing keys remain unable to spend until you replace them with a trading-enabled key. API and MCP do not accept wallet private keys or expose withdrawals or key export.
Account API endpoints
| Method | Path | Result |
|---|---|---|
| GET | /api/v1/me | Connected account, key permission, fee rate and limits |
| GET | /api/v1/wallet | Linked deposit address, SOL balance and token holdings |
| POST | /api/v1/wallet/quote | Read-only preview using the linked wallet |
| POST | /api/v1/orders | Queue a real buy or sell; HTTP 202 is accepted, not confirmed |
| GET | /api/v1/orders | Your wallet order history |
| GET | /api/v1/orders/{clientOrderId} | One order, its transaction result and current status |
| POST | /api/v1/orders/{clientOrderId}/cancel | Cancel an order only while it is still queued |
| GET | /api/v1/data/pulse | Market data under the same API key |
export BLIX_KEY="<your trading-enabled API key>"
# Read your deposit address and balance.
curl --fail-with-body https://blixvip.com/api/v1/wallet \
-H "Authorization: Bearer $BLIX_KEY"
# Set these only after choosing and authorizing a real trade.
MINT="<Solana token mint>"
ORDER_ID="<new UUID for this trade; reuse it for retries>"
curl --fail-with-body https://blixvip.com/api/v1/orders \
-H "Authorization: Bearer $BLIX_KEY" -H "Content-Type: application/json" \
-d "{\"mint\":\"$MINT\",\"side\":\"buy\",\"sol\":0.1,\"slippageBps\":300,\"clientOrderId\":\"$ORDER_ID\",\"confirm\":true}"
# Check until terminal status. Do not turn a timeout into a new trade.
curl --fail-with-body "https://blixvip.com/api/v1/orders/$ORDER_ID" \
-H "Authorization: Bearer $BLIX_KEY"Trade parameters
| Field | Meaning |
|---|---|
| mint | Solana token mint address |
| side | buy or sell |
| sol | Buy only: SOL amount, greater than zero and at most 2 per order |
| pct | Sell only: percentage of your holdings, greater than zero and at most 100 |
| slippageBps | Integer 10–5000; defaults to 300 (3%) |
| priorityFeeSol / tipSol | Optional fees, each 0–0.01 SOL |
| mev | Optional boolean requesting MEV protection |
| clientOrderId | UUID chosen by your client; reuse it and the same parameters for retries |
| confirm | Must be true for a real order |
For a quote, omit confirm and clientOrderId. A sell uses side: "sell", pct: 50, for example; omit sol. Wallet address, account identity and referral are selected by the server, not request fields.
Market data with the same key
curl --fail-with-body https://blixvip.com/api/v1/data/pulse -H "Authorization: Bearer $BLIX_KEY"The /api/v1/data/ bridge supports the MCP market routes: overview, pulse, signals, tokens, token/{mint}, holders/{mint}, candles/{mint}, quote, narratives, briefs, research/{mint}, picks, wallets, wallet-page/{address}, fomo, perf and health. Paper desk reads and its quoted buy/sell routes use your account's separate paper balance. It never forwards settings, admin or wallet-export routes.
The existing session-based data API remains available. External-wallet clients can still use /api/v1/quote, /api/v1/trade/build and /api/v1/trade/send to sign their own transactions; these are separate from BLIX account-wallet orders.
Know when a trade actually landed
Orders use the same wallet service and persistent queue as the terminal. queued, preparing, signing, submitted and unknown are not confirmed trades. Poll the order by its UUID. A confirmed result carries the transaction details; failed, expired or cancelled orders must be checked before any new attempt. A failed on-chain transaction can still incur network fees.
A client timeout does not prove failure. Reuse the original order ID; changing parameters with the same ID is rejected. A new ID means a new trade. Revoking a key blocks new API calls; it does not cancel an order already accepted by the wallet service.
Limits and errors
Up to five keys per account; 120 quotes/builds per minute and 60 order submissions per minute per key. Orders use the terminal's available routing and its balance, token, slippage and fee checks. A quote is an estimate, not a reserved fill. HTTP 401 means invalid or revoked key; 403 means missing trading permission or a changed wallet; 409 means a wallet or trade precondition failed; 429 means slow down.
Use GET /api/v1/me for your account's fee rate. Network fees, priority fees and tips also apply. Market data is not an instruction to trade.
Frequently asked questions
Can API or MCP trade real SOL?
Yes. Fund your BLIX wallet, create a key with trading enabled, and submit an explicitly authorized order. The BLIX wallet service signs and submits it.
Which wallet is used?
The wallet linked to the account that created the API key. Call GET /api/v1/wallet to see its deposit address and balance. You cannot supply another wallet in an order.
Do existing keys automatically gain trading permission?
No. Create a new trading-enabled key after setting up your wallet. Keys can be revoked on the Trade API page.
Does HTTP 202 mean my trade succeeded?
No. It means the order was accepted. Check its UUID until its state and transaction result are known.

