Walk through each step below to connect your brokerage account and pull live data using the TradeGrub API. All requests run directly in your browser, no SDK or backend setup required.
All endpoints require an API Key and Secret Key for authentication. Your secret key is sensitive information and should be kept secure at all times.
Link your stock broker or crypto exchange. A secure portal opens where you can authorize access. Your broker login stays between you and the broker.
Pull the list of brokerage accounts linked to your API key. Click an account to select it for data retrieval in the next step.
Pick an account above, then fetch live positions and balances from your broker.
Connect your brokerage account through SnapTrade to view positions, balances, and trade.