Introduction

The Tradejini REST API is a set of HTTP APIs that provide everything needed to build a trading platform — order management, market data, account information, and real-time streaming. The APIs are language-agnostic and work with any HTTP client.

Base URL: https://api.tradejini.com/v2


Getting Started

Follow these steps to make your first API call:

  1. Create a Tradejini trading account — An active retail trading account is required before API access can be enabled.
  2. Register an app in the Apps to obtain your api_key and api_secret. See App Creation for step-by-step instructions.
  3. Authenticate using the appropriate flow for your app type. See Authorization Flow for a walkthrough.
  4. Make authenticated API calls by passing Authorization: Bearer <api_key>:<access_token> in every request. See API Basics for the full request/response reference.

Documentation Map

SectionWhat you'll find
API BasicsBase URL, authentication header format, request/response conventions, field codes
App CreationHow to register an app and obtain API credentials
Authorization FlowStep-by-step auth walkthroughs for Individual and Third-Party apps
AuthorizationAuth API endpoint reference
AccountUser profile and session management
Symbol DetailsLook up instrument IDs (symId) required for order placement
FundsAvailable margin and cash balances
OrdersPlace, modify, cancel, and track orders
Advance OrdersBracket, Cover, GTT, and OCO order types
Chart DataHistorical OHLCV candle data
WebSocket SDKsReal-time market data and order update streaming
Rate LimitsRequest limits per endpoint type
Common ErrorsAll error codes with causes and resolutions
Market HoursTrading hours and session timings for supported exchanges and segments

On this page