The API Module hosted at api.tradegrub.com
and wss://api.tradegrub.com/ws
is a robust, enterprise-grade API service that powers the entire TradeGrub platform. It provides unified access to all key modules, supporting multiple brokers and exchanges, and allows users to manage their accounts, execute trades, and retrieve real-time market data. This API is available to tradegrub customers and offers both REST and WebSocket interfaces to ensure seamless integration with your trading systems.
The API Module is restricted to enterprise customers.
Each customer receives dedicated API keys and must authenticate using these credentials.
You must generate API Key & Secret and provide them in your environment variables before making any request. For order placement and signals/webhooks, an Account ID is also required.
Follow these steps in the TradeGrub app:
Open the app → More → Preferences
Navigate to the API Management tab
Click the ➕ (plus icon) at the top-right corner
Give your key a descriptive name and set required permissions → click Generate
Copy your keys:
Add them to Tradegrub
Postman Environment:
Your Account ID is required for order placement and webhooks.
Real-time access to market data and trading actions is facilitated via secure WebSocket connections.
Comprehensive API documentation is available to enterprise customers, detailing the request formats, response structures, and authentication methods. Contact your TradeGrub account manager for more information and access to the API documentation.
https://api.tradegrub.com/v1/
wss://api.tradegrub.com/ws/
We provide a ready-to-use Postman collection named Tradegrub Published API
, which contains:
Trading API
folder.baseUrl
, exchange_name
, accountId
, etc.) are pre-configured for convenience.👉 Explore the official Postman docs: TradeGrub Postman Documentation
To make testing easier, a Postman environment file named Tradegrub
will also be shared with you.
This file contains pre-configured variables such as:
api-key
secret-key
Import this environment file in Postman and select it from the environment dropdown to use these variables directly in requests. Paste your api-key and secret-key in the pre-configured variables.