API Reference
REST and WebSocket APIs for programmatic access to GitSync.
The GitSync API provides programmatic access to market data, user positions, agent management, and trade execution. Base URL: https://api.gitsync.trade/v1
Authentication
All authenticated endpoints use JWT bearer tokens obtained via wallet signature challenge:
POST /auth/nonce Get challenge nonce
POST /auth/verify Verify signed challenge → JWT
POST /auth/refresh Refresh JWT
DELETE /auth/logout Invalidate sessionKey Endpoints
WebSocket
Endpoint: wss://ws.gitsync.trade/v1. Subscribe to channels for real-time price feeds, aggregate orderbook depth, agent status updates, and position changes. All position data remains encrypted; decryption happens client-side.
Last updated just now