How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Upstox Order API

The Order API from Upstox — 18 operation(s) for order.

Upstox Order API is one of 23 APIs that Upstox publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Order. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

This API exposes 18 operations across 18 paths, and defines 41 schemas. It is described by OpenAPI 3.2.0, at version v0.

Requests are made against a single base URL, https://api-v2.upstox.com.

18 operations 18 paths 41 schemas 4 DELETE6 GET5 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v0
Base URL
https://api.upstox.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Upstox Order API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAUTH2) using the authorizationCode flow, exposing 2 scopes.

Paths & Operations 18

Across 18 paths, the API surfaces 18 operations — 4 DELETE, 6 GET, 5 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Order 18
PUT
/v3/order/modify
Modify order
modifyOrder body → 405400500403423422429200
PUT
/v3/order/gtt/modify
Modify GTT order
modifyGTTOrder 1 param body → 405400500403423422429200
PUT
/v2/order/modify
Modify order
modifyOrder_1 body → 405400500403423422429200
POST
/v3/order/place
Place order
placeOrder body → 405400500403423422429200
POST
/v3/order/gtt/place
Place GTT order
placeGTTOrder 1 param body → 405400500403423422429200
POST
/v2/order/positions/exit
Exit all positions
exitPositions 2 params → 405400500403423422429200
POST
/v2/order/place
Place order
placeOrder_1 body → 405400500403423422429200
POST
/v2/order/multi/place
Place multi order
placeMultiOrder 1 param body → 405400500403423422429200
GET
/v3/order/gtt
Get GTT order details
getGttOrderDetails 1 param → 405400500403423422429200
GET
/v2/order/trades
Get trades for order
getTradesByOrder 1 param → 405400500403423422429200
GET
/v2/order/trades/get-trades-for-day
Get trades
getTradeHistory → 405400500403423422429200
GET
/v2/order/retrieve-all
Get order book
getOrderBook → 405400500403423422429200
GET
/v2/order/history
Get order history
getOrderDetails 2 params → 405400500403423422429200
GET
/v2/order/details
Get order details
getOrderStatus 1 param → 405400500403423422429200
DELETE
/v3/order/gtt/cancel
Cancel GTT order
cancelGTTOrder 1 param body → 405400500403423422429200
DELETE
/v3/order/cancel
Cancel order
cancelOrder 1 param → 405400500403423422429200
DELETE
/v2/order/multi/cancel
Cancel multi order
cancelMultiOrder 2 params → 405400500403423422429200
DELETE
/v2/order/cancel
Cancel order
cancelOrder_1 1 param → 405400500403423422429200

Schemas 41

The contract defines 41 schemas that model the data the API accepts and returns. The most detailed are OrderBookData (30 properties), OrderData (26 properties), TradeData (15 properties), MultiOrderRequest (14 properties). Each schema is shown below with its type and property counts.

PlaceOrderData
object
1 property
GetGttOrderResponse
object
3 properties
ModifyOrderResponse
object
2 properties
PlaceOrderResponse
object
2 properties
PlaceOrderRequest
object
11 properties 10 required
GetOrderBookResponse
object
2 properties
ApiGatewayErrorResponse
object
2 properties
GetTradeResponse
object
2 properties
TradeData
object
15 properties
GttPlaceOrderRequest
object
6 properties 6 required
PlaceOrderV3Request
object
12 properties 10 required
GetOrderDetailsResponse
object
2 properties
GttTriggerOrderResponse
object
3 properties
MultiOrderResponse
object
4 properties
CancelOrderResponse
object
2 properties
MultiOrderRequest
object
14 properties 12 required
OrderBookData
object
30 properties
OrderData
object
26 properties
Problem
object
7 properties
GttOrderData
object
1 property
MultiOrderV3Data
object
1 property
CancelOrExitMultiOrderResponse
object
4 properties
GttModifyOrderRequest
object
4 properties 4 required
GttRule
object
5 properties 3 required
ModifyOrderData
object
1 property
Rule
object
8 properties
ModifyOrderV3Response
object
3 properties
CancelOrExitMultiOrderData
object
1 property
MultiOrderSummary
object
4 properties
GttOrderDetails
object
10 properties
CancelOrderV3Response
object
3 properties
ModifyOrderRequest
object
7 properties 5 required
MultiOrderError
object
8 properties
CancelOrderData
object
1 property
GetOrderResponse
object
2 properties
OrderMetadata
object
1 property
CancelOrExitOrderErrorData
object
9 properties
PlaceOrderV3Response
object
3 properties
BatchExecutionSummary
object
3 properties
MultiOrderData
object
2 properties
GttCancelOrderRequest
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

upstox-order-api-openapi.yml Raw ↑

Other APIs Upstox publishes across the network.

Upstox MCP Server
Upstox Charge API
Upstox Events Controller V 2 API
Upstox Expired Instrument API
Upstox Fundamentals API
Upstox History API
Upstox History V3 API
Upstox Instruments API
Upstox IPO API
Upstox Login API
Upstox Market Holidays and Timings API
Upstox Market Quote API
Where this information came from

This is an independent, third-party profile of Upstox Order API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.