Developers
REST & WebSocket APIs

One Integration, One API

Orders, live feed, holdings, historical data all in the same key and the same base URL.

  • Order Management: POST /v1/orders
  • Market Feed: WSS /v1/feed
  • Portfolio: GET /v1/portfolio
  • Historical Data: GET /v1/candles
  • Statements: GET /v1/statements

Simple, Modern APIs

Everything the GoPocket app does, available to your code over plain HTTP and WebSocket.

POST /v1/orders

Order Management

Place, modify and cancel orders across every segment you trade - equity, futures, options, currency and commodity.

WSS /v1/feed

Market Feed

Stream live prices, market depth and index ticks over WebSocket. One connection, every instrument you subscribe to.

GET /v1/portfolio

Portfolio

Read open positions, holdings and margins as they stand right now.

GET /v1/candles

Historical Data

Pull OHLC candles with volume and open interest for backtesting and research.

GET /v1/statements

Statements

Fetch P&L, ledger, contract notes and charge breakups programmatically.

Why Developers Build Here

The boring parts handled, so you can spend your time on the strategy instead of the plumbing.

No Extra Charges

API access is part of your GoPocket account. No monthly platform fee, no per-call billing, no separate subscription to keep alive.

Built On The Live Stack

The same order gateway that powers the GoPocket app answers your API calls - so what you test is what your users get.

Sandbox First

Point your keys at the sandbox, run your strategy against simulated fills, and only then flip the base URL to production.

SDKs, Not Just Endpoints

Start from a client library instead of hand-rolling auth, retries and WebSocket reconnects for the third time this year.

Documented Properly

Every endpoint with its parameters, error codes and a copyable example. Plus a changelog, so upgrades never surprise you.

Yours To Shape

Run a personal scalping bot, a research notebook or a full platform for your own users. The API does not assume which.

Live In Three Steps

From signing up to your first programmatic order, without a sales call.

Get Your Keys

Open a GoPocket account, enable API access from the developer portal and generate a key and secret.

Step 02
Docs

Build Against Sandbox

Point the base URL at sandbox and run your strategy end to end - orders, fills and feeds - with nothing at risk.

Step 03
Talk To Us

Go Live

Swap in your production key. Same request shapes, same responses, real fills.

Connect with PythonNode.jsJavaGoRESTWebSocket

What It Costs

Trading APIs come free with your GoPocket account. You only ever pay the brokerage on the trades you place.

Trading APIs

₹0 with your account

Everything you need to trade from your own code, included with every GoPocket account.

  • Place, modify and cancel orders
  • Order book and trade book
  • Positions, holdings and margins
  • Statements, P&L and charges
  • Full sandbox environment
Start Building

Market Data APIs

On request

Live and historical market data for research, backtesting and data-hungry platforms.

  • Live WebSocket market feed
  • Full market depth
  • Historical OHLC with volume and OI
  • Index and derivatives data
  • Onboarding support from our team
Talk To Us

Rate limits and throughput are published in the API documentation, so they stay current as the platform grows.

Developer Questions

API, Answered

What most people ask before they write the first line against GoPocket.

Anything that needs to place orders or read market and account data programmatically - an algo that runs your own strategy, a research notebook, a portfolio dashboard, or a full trading platform you offer to other GoPocket clients.

Yes. The APIs act on a real trading account, so you need an active GoPocket account first. Once it is open you can enable API access and generate your keys.

Trading APIs are included with your GoPocket account at no extra cost - you pay only the usual brokerage on the trades you place. Market data APIs are priced separately; get in touch and we will walk you through it.

Yes. Build against the sandbox environment, which mirrors the production request and response shapes without touching the live market. When you are ready, swap the base URL and your key for the production pair.

Automated strategies are subject to exchange approval. Talk to us about what you are building and we will help you through the approval process where one is needed. Our API Usage Policy sets out the full terms.

The APIs are plain REST and WebSocket, so anything that can make an HTTP request will work. Client libraries are available for the common languages to save you writing auth, retries and reconnect logic yourself.

Open your GoPocket Account within 5 minutes

Zero account opening charges. 100% online process.

500K+

useruseruser

Well-reviewed by
customers