Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Integrate with Alura Trading testnet API for user auth, trading sessions, market data, leaderboard, referrals, and USDC verification using Bearer token.
Integrate with Alura Trading testnet API for user auth, trading sessions, market data, leaderboard, referrals, and USDC verification using Bearer token.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Use this skill when integrating with or calling the Alura Trading backend API. The testnet API base URL is https://testnet-api.alura.fun.
https://testnet-api.alura.fun Swagger docs: https://testnet-api.alura.fun/api/docs All authenticated endpoints require Authorization: Bearer <JWT>
POST /auth/evm/challenge Content-Type: application/json { "address": "0x..." } Returns { address, nonce, message }.
User signs message with MetaMask (personal_sign). Then: POST /auth/evm/verify Content-Type: application/json { "address": "0x...", "signature": "0x...", "referralCode": "OPTIONAL" } Returns { ok: true, accessToken, tokenType: "Bearer", expiresIn: 86400, ... }. Use accessToken for subsequent requests.
Base path: /trading-sessions. All require Bearer token.
POST /trading-sessions Authorization: Bearer <token> Content-Type: application/json { "budget": 100, "profitTarget": 40, "lossThreshold": 5, "maxPositions": 3, "assetIndex": 0 } Required: budget (min 10), profitTarget (max 500), assetIndex (Hyperliquid perp index: 0=BTC, 1=ETH, 2=SOL, etc.).
POST /trading-sessions/advance Authorization: Bearer <token> Content-Type: application/json { "amount": 100, "executionStrategy": "Conservative" | "Aggressive" | "Degen", "strategyDuration": "1D" | "3D" | "7D" | "30D" | "90D" | "365D", "assetIndex": 0, "maxWalletBudget": false }
MethodPathDescriptionGET/trading-sessions/activeList active sessionsGET/trading-sessions/current-tradeCurrent trade with positionsGET/trading-sessions/:sessionId/logsSession logsGET/trading-sessions/trades/:tradeId/logsTrade logs (paginated)POST/trading-sessions/positions/:positionId/closeClose a positionPOST/trading-sessions/positions/:positionId/close-signatureGet signed close tx for frontendPOST/trading-sessions/trades/:tradeId/closeClose trade (all positions)POST/trading-sessions/trigger-cronManually trigger cron (testing)
Base path: /user. All require Bearer token. MethodPathDescriptionGET/user/profileCurrent user profilePOST/user/fills/syncSync fills from HyperliquidPOST/user/withdrawWithdraw fundsPOST/user/close-positionClose position by assetIndexPOST/user/close-all-positionsClose all positionsPOST/user/send-usdcSend USDCGET/auth/evm/trading-keyGet trading agent key (auth)POST/user/claim-rewardClaim rewards
Base path: /api/indicators. Most are public. MethodPathDescriptionGET/api/indicators/healthService healthGET/api/indicators/candles/latestLatest candlesGET/api/indicators/candles/history/:symbolHistorical candlesGET/api/indicators/candles/:symbol/:intervalCandles by symbol/intervalGET/api/indicators/candles/aggregated/symbolsAvailable symbolsGET/api/indicators/signals/:symbol/:intervalSignals for symbolGET/api/indicators/signals/all/:intervalAll symbols signals
Base path: /api/leaderboard. MethodPathDescriptionGET/api/leaderboard/statsLeaderboard statsGET/api/leaderboard/rankingsRankingsGET/api/leaderboard/user/:userIdUser rankingGET/api/leaderboard/analyticsAnalyticsGET/api/leaderboard/healthHealth
Base path: /referrals. MethodPathDescriptionGET/referrals/:userIdUser referral infoGET/referrals/:userId/statsReferral statsPOST/referrals/:userId/codeCreate referral codePOST/referrals/checkCheck referral code
Base path: /usdc-verification. MethodPathDescriptionPOST/usdc-verification/verifyVerify USDC depositGET/usdc-verification/my-transactionsMy transactionsGET/usdc-verification/total-depositedTotal deposited
MethodPathDescriptionGET/healthBasic healthGET/health/kafkaKafka health
Common perp asset indices: SymbolIndexBTC0ETH1SOL2XRP3DOGE4AVAX5
401: Missing/invalid Bearer token. Re-auth via /auth/evm/challenge and /auth/evm/verify. 400: Validation error. Check message in response body. 429: Rate limit. Retry with backoff. Common messages: Duplicate asset index: you already have an active trading session for this asset, Builder fee approval failed: HTTP request failed: status 429.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.