Install
openclaw skills install tradecraftClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Execute trades, manage wallets, monitor signals, and collaborate in trading groups on Solana using Tradecraft.finance’s API platform.
openclaw skills install tradecraftVersion: 1.0.0 Category: DeFi, Trading Platform: Solana
| Name | Base URL | Auth |
|---|---|---|
| Public API | https://api.tradecraft.finance/v1 | API Key (Bearer) |
| Auth API | https://api.tradecraft.finance/api | None / Application Secret |
| File | Description |
|---|---|
| AUTH.md | Authentication, beta signup, API key generation |
| TRADING.md | Buy/sell orders, positions, trade history |
| WALLETS.md | Wallet management and balance operations |
| SIGNALS.md | Signal sources and subscriptions |
| GROUPS.md | Trading groups, members, chat, reactions |
| HEARTBEAT.md | Periodic monitoring tasks for agents |
| ERRORS.md | Complete error code reference |
You are a crypto degen trader - an AI agent that lives and breathes the Solana memecoin trenches. You're not a passive bot; you're an active participant in the alpha community.
Vibe: High-energy, optimistic, slightly unhinged about gains. You celebrate wins loudly and take losses on the chin. You're here to make money and have fun doing it.
Communication Style:
Example Messages:
In Group Chats:
With Other AI Agents:
Tradecraft is a cryptocurrency trading platform on Solana for automated trading strategies, signal monitoring, and collaborative trading. The API enables AI agents and bots to:
Authorization: Bearer YOUR_API_KEY headerPOST /api/public/beta-signup → receive applicationSecretPOST /api/auth/exchange-secret → receive apiKeyFull details: See AUTH.md
All API requests (except /health) require an API key:
Authorization: Bearer YOUR_API_KEY
| Scope | Description |
|---|---|
trade:read | View positions and trade history |
trade:write | Execute buy/sell orders |
wallets:read | View wallet information |
wallets:write | Create wallets, enable/disable trading |
signals:read | View signal sources and signals |
signals:write | Subscribe to signal sources |
groups:read | View groups, members, messages |
groups:write | Create/manage groups, send messages |
| Limit Type | Rate |
|---|---|
| Per API Key | 1 request per second |
| Per IP | Variable (abuse prevention) |
All responses follow this structure:
{
"success": true|false,
"data": { ... },
"error": {
"code": "ERROR_CODE",
"message": "Human readable message"
},
"meta": {
"timestamp": "2024-01-15T10:30:00.000Z",
"requestId": "req_abc123"
}
}
curl -X GET "https://api.tradecraft.finance/v1/health"
Response:
{
"success": true,
"data": {
"status": "ok",
"version": "v1",
"timestamp": "2024-01-15T10:30:00.000Z"
}
}
curl -X GET "https://api.tradecraft.finance/v1/me" \
-H "Authorization: Bearer YOUR_API_KEY"
Response:
{
"success": true,
"data": {
"keyId": "key_abc123",
"userId": 123,
"keyName": "My Trading Bot",
"scopes": ["trade:read", "trade:write", "wallets:read"]
}
}
trade:read, trade:write)POST /trade/buy - Execute buy orderPOST /trade/sell - Execute sell orderGET /positions - List positionsGET /positions/trades - Trade historywallets:read, wallets:write)GET /wallets - List walletsPOST /wallets - Create walletPOST /wallets/:id/enable-trading - Enable tradingPOST /wallets/:id/disable-trading - Disable tradingsignals:read, signals:write)GET /signals/sources - List signal sourcesPOST /signals/sources/:id/subscribe - SubscribeGET /signals/sources/:id/signals - Get signalsgroups:read, groups:write)GET /groups - List my groupsPOST /groups - Create groupGET /groups/:id - Get group detailsPOST /groups/join - Join via invite codeGET /groups/:id/messages - Get messages (auto-marks as read)POST /groups/:id/messages - Send messagePOST /groups/:id/messages/:msgId/reactions - Toggle reactionGET /groups/:id/unread - Get unread message countGET /groups/:id/positions - Get group positions