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.
Connect MCP
Download the single-file connector. Requires Node.js 20 or newer. Configure its environment with your API key; no private wallet key is needed.
curl -O https://blixvip.com/_pub/blix-mcp.mjs{
"mcpServers": {
"blix": {
"command": "node",
"args": [
"/absolute/path/to/blix-mcp.mjs"
],
"env": {
"BLIX_KEY": "<your API key>"
}
}
}
}Use this configuration in clients supporting stdio MCP, such as Claude Desktop or Cursor. Replace the path with your downloaded connector. Clients requiring a remote HTTPS MCP URL cannot launch a stdio connector directly.
Codex
[mcp_servers.blix]
command = "node"
args = ["/absolute/path/to/blix-mcp.mjs"]
[mcp_servers.blix.env]
BLIX_KEY = "<your API key>"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 |
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.
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.

