Upstox API v2 Integration

Upstox Traders Deserve a
Smarter Trading Journal

Tired of exporting CSVs from Upstox Pro? Connect once and let StoxMark auto-import every trade, every charge, every contract note — so you can focus on finding your next setup.

Secure OAuth2 login — your credentials never touch our servers

Up and Running in Minutes

From Upstox Pro to Full Journal in 3 Clicks

1

Authorize Upstox API

Click "Connect Upstox," log in with your Upstox Pro credentials, and grant read-only access. OAuth2 keeps your password safe — we never see it.

2

Trades Flow In Automatically

Every filled order — equities, F&O, MCX — lands in your journal with full charge breakdowns. No downloads, no paste errors, no missed trades.

3

Discover Hidden Patterns

AI scans your history for edge-killers: overtrading after losses, poor position sizing, time-of-day biases. Insights you cannot get from the Upstox P&L report.

Full Trade Capture

Everything Upstox Pro Shows You — and More

We pull every data point so your journal is always audit-complete and analysis-ready.

Entry & Exit Prices
Quantity & Lot Size
STT & Transaction Charges
Brokerage & GST
Order Timestamps
Digital Contract Notes

Built for the Upstox Workflow

The Features That Move Your P&L

Instant Trade Sync

Upstox API v2 pushes data fast. The moment your order fills on Upstox Pro, it appears in your StoxMark journal — no refresh, no waiting for end-of-day batches.

Segment-Wise Breakdown

See your P&L split by equities, index options, stock futures, and commodities. Identify which segment gives you real alpha and which one is just burning capital.

Accurate Charge Accounting

Upstox has different brokerage tiers for intraday and delivery. StoxMark accounts for every rupee — brokerage, STT, stamp duty, SEBI cess — so your net P&L is always precise.

Strategy Tagging & Replay

Tag trades as momentum, breakout, VWAP, or your own custom strategies. Then filter and compare — know exactly which setups print money and which ones need work.

Common Questions

Upstox Integration FAQ

I recently switched from Upstox Pro to Upstox Pro Web. Will it still work?
Yes. StoxMark connects via the Upstox API v2, which works regardless of whether you trade on the Pro mobile app, Pro Web, or the legacy desktop terminal. All orders from every platform show up in a single journal.
Can I import older trades that were placed before I connected StoxMark?
On first sync, we pull as much history as the Upstox API exposes. For trades beyond that window, you can upload tradebook CSVs exported from the Upstox back-office. The parser handles the Upstox format out of the box — no manual formatting needed.
Does this support MCX commodity trades on Upstox?
Yes. Crude oil, natural gas, gold, silver — all MCX instruments traded through Upstox are synced with their correct lot sizes and exchange-specific charges. Your commodity P&L is tracked separately for tax purposes.
Upstox already shows P&L in the app. Why do I need a separate journal?
Upstox shows you what happened. StoxMark shows you why. Was your BankNifty straddle profitable because of the setup or because volatility bailed you out? Did you size up after a win streak and give it all back? A journal answers the questions a P&L report never will.

Wall of Love

What Indian Traders Are Saying

"Switched from Excel after 2 years. StoxMark showed me I was overtrading on Fridays — win rate was 22%. Cut Fridays out and became net positive in 3 months."

R

Rahul S.

Mumbai

"The psychology tags changed everything. 70% of my losses came from revenge trades. Now the AI warns me when I'm tilting. Absolute game changer for my options trading."

P

Priya M.

Bangalore

"Finally ditched my spreadsheet. Zerodha auto-sync pulls everything — charges, STT, timestamps. Tax season was a breeze this year. Best investment I've made."

A

Aditya K.

Pune

"As an intraday trader doing 15+ trades daily, manual journaling was impossible. StoxMark auto-imports from Upstox and I just review my stats. My win rate went from 40% to 58%."

S

Sneha R.

Delhi

"The calendar view alone is worth it. I can see my P&L heatmap and instantly know which days I perform best. Turns out Tuesdays are my money days."

V

Vikram T.

Chennai

"Started with the free plan to try it out. Upgraded within a week. The AI insights told me my scalps after 2 PM consistently lose money. Data doesn't lie."

D

Deepak J.

Ahmedabad

"Managing my family's 3 demat accounts was chaos. Portfolios feature lets me track each one separately. Clean, organized, and my CA loves the tax reports."

A

Ananya P.

Hyderabad

"I've tried TraderSync, Tradervue, and Excel. StoxMark is the only one built for Indian markets. NSE options, STT calculations, Zerodha integration — everything just works."

K

Karthik N.

Kochi

"The verified P&L sharing shut up all the doubters in my Telegram group. No more "post your broker screenshot" drama. One link proves everything."

M

Mohit G.

Jaipur

"My BankNifty strategy was losing money and I couldn't figure out why. StoxMark's expiry day analysis showed my Thursday trades had negative expectancy. Fixed it and turned profitable."

R

Roshni D.

Lucknow

"Clean UI, fast loading, and the dark mode is perfect for late-night review sessions. No clutter, no unnecessary features. Just what a serious trader needs."

A

Arjun B.

Indore

"Imported 6 months of trades from Angel One in 2 minutes. The P&L breakdown by strategy showed me swing trades are my edge, not scalping. Saved me from myself."

M

Meera S.

Nagpur

Start Journaling Your Trades Today

Join 5,000+ Indian traders who track, analyze, and improve with StoxMark.

No credit card required Cancel anytime