Connect your system to Upstox and trade your way

Comprehensive API suite for all your needs.

<45ms

Order execution speed

99.9%

Uptime

0

Free access to trading & market data API's

Trading Cube ShapeTrading Cube Shape

Speed

<

45

ms

Dedicated endpoint for split-second execution

Ultra-fast & low latency trading enabled with an exclusive endpoint for placing, modifying and cancelling orders

Based on developer platform latency on: https://status.upstox.com/

Accuracy

Real-time market data & insights

Tick-by-Tick Data

Websocket

Accurate OHLC data for indicator mapping, pattern recognition, and reliable price triggers

Market Depth up to Depth 30

Websocket

TBT powered Depth 30 & 5 at different price levels for transparent and accurate access to demand and supply dynamics

Option Chain with Greeks

Websocket

Coming Soon

Delta, Gamma, Theta, and Vega to predict price changes

Advanced order types

Save time, minimise risks

Integrate advanced order APIs with minimal coding
Market, Limit, SL & SL-M orders
Place & cancel multi orders with Auto-slicing
Exit All positions based on segment & tags

GTT (FO/OCO modes) & Trailing Stop-loss

Coming Soon

Exclusive order APIs

Coming Soon

Full stack trading

Powerful suite with flexible APIs

Automate trading with minimal coding

Robust SDKs in top languages

  • Python SDK

    Python

  • Javascript SDK

    Javascript

  • .NET SDK

    .NET

  • Java SDK

    Java

  • C# SDK

    C#

  • PHP SDK

    PHP

  • Python SDK

    Python

  • Javascript SDK

    Javascript

  • .NET SDK

    .NET

  • Java SDK

    Java

  • C# SDK

    C#

  • PHP SDK

    PHP

  • Python SDK

    Python

  • Javascript SDK

    Javascript

  • .NET SDK

    .NET

  • Java SDK

    Java

  • C# SDK

    C#

  • PHP SDK

    PHP

Easy-to-understand documentation

Flexible Api

Full-fledged Portfolio & Account Management APIs

Flexible Api

Rate Limits

Trade confidently

Liberal rate limits & quick response time

Order placements

50

requests/sec

OHLC data & Quotes

50

requests/sec

Max Order Requests

50

requests/sec

API response latency

<100ms

for non-order APIs

Modifications

Unlimited

Built for the Pros

Pros Icon

Built for

Scalpers

  • Sub-second order execution
  • Tick-by-tick data
  • Direct ATM orders
Pros Icon

Built for

Snipers

  • Portfolio & Position streaming
  • Readymade order types
  • Auto Order Slicing
Pros Icon

Built for

Hedge Traders

  • Option chain streaming with Greeks
  • Basket Orders
  • Kill switches

Discuss and engage with like-minded individuals, explore the Upstox community

Partners integrating our APIs

  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partner
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
  • Partners integrating our APIs
Brand Shape

Businesses looking to integrate, please write us at api@upstox.com

Ellipse LinesEllipse LinesEllipse Lines

FAQs

How do I get access and get started?

accordion
APIs are free to use and build upon. You can start using Upstox APIs by creating an app and start integrating through the documentation.

Are all APIs free?

accordion
Yes! All trading + data APIs are free of cost. Head over to the documentation to check out all the various APIs available.

What is Upstox API?

accordion
Upstox APIs help you connect your custom strategy or platform of your choice to your Upstox trading account. This helps you get the best of Upstox execution speeds with your own algorithm.

How do I reach out if I’m stuck somewhere while using or building with Upstox APIs?

accordion
We actively respond to all queries over the Upstox community. Feel free to post your questions, doubts or suggestions, and we’ll get back to you.

Are the APIs available for all languages?

accordion
Upstox APIs are REST api's supporting all languages. Robust SDKs are also available along with client libraries and example codes.