# 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 [#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 <a href="`${process.env.NEXT_PUBLIC_BASE_URL}/developer-portal`" target="_blank" rel="noopener noreferrer" className="doc-link">Apps</a> to obtain your `api_key` and `api_secret`. See [App Creation](/docs/app-creation/individual-apps) for step-by-step instructions.
3. **Authenticate** using the appropriate flow for your app type. See [Authorization Flow](/docs/authorization-flow/individual-apps) for a walkthrough.
4. **Make authenticated API calls** by passing `Authorization: Bearer <api_key>:<access_token>` in every request. See [API Basics](/docs/api-basics) for the full request/response reference.

***

## Documentation Map [#documentation-map]

| Section                                                        | What you'll find                                                                  |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [API Basics](/docs/api-basics)                                 | Base URL, authentication header format, request/response conventions, field codes |
| [App Creation](/docs/app-creation/individual-apps)             | How to register an app and obtain API credentials                                 |
| [Authorization Flow](/docs/authorization-flow/individual-apps) | Step-by-step auth walkthroughs for Individual and Third-Party apps                |
| [Authorization](/docs/authorization/updatedIndividualToken)    | Auth API endpoint reference                                                       |
| [Account](/docs/account/getUserDetails)                        | User profile and session management                                               |
| [Symbol Details](/docs/symbol-details/getSymbolDetails)        | Look up instrument IDs (`symId`) required for order placement                     |
| [Funds](/docs/funds/retrieveFundsLimits)                       | Available margin and cash balances                                                |
| [Orders](/docs/orders/getOrders)                               | Place, modify, cancel, and track orders                                           |
| [Advance Orders](/docs/advance-orders/placeBracketOrder)       | Bracket, Cover, GTT, and OCO order types                                          |
| [Chart Data](/docs/chart-data/getIntervalChartData)            | Historical OHLCV candle data                                                      |
| [WebSocket SDKs](/docs/websocket-sdks)                         | Real-time market data and order update streaming                                  |
| [Rate Limits](/docs/rate-limits)                               | Request limits per endpoint type                                                  |
| [Common Errors](/docs/common-errors)                           | All error codes with causes and resolutions                                       |
| [Market Hours](/docs/market-hours)                             | Trading hours and session timings for supported exchanges and segments            |
