Ganntec Trading API

Welcome to the Ganntec Trading API documentation. Our API provides programmatic access to all trading terminal features including multi-chain order execution, real-time market data, and advanced trading strategies.

Base URL

https://api.ganntec.com

Authentication

All API requests require authentication using a Bearer token:
curl -X GET https://api.ganntec.com/api/v2/wallets \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Response Format

All responses are returned in JSON format:
{
  "success": true,
  "data": {
    // Response data
  },
  "timestamp": "2024-01-15T12:00:00Z"
}

Error Handling

Error responses include a descriptive message:
{
  "success": false,
  "error": {
    "code": "INSUFFICIENT_BALANCE",
    "message": "Not enough funds to execute order"
  }
}

Rate Limits

  • Standard: 1000 requests per minute
  • Pro: 5000 requests per minute
  • Enterprise: Custom limits

WebSocket Streams

Real-time data is available via WebSocket connections:
const ws = new WebSocket('wss://stream.ganntec.com');
ws.send(JSON.stringify({
  type: 'subscribe',
  channels: ['prices', 'orders', 'positions']
}));

SDK Libraries

Official SDKs available for:
  • JavaScript/TypeScript
  • Python
  • Go
  • Rust

For detailed endpoint documentation, explore the sections in the sidebar.