Zerodha Orders API

The Orders API from Zerodha — 3 operation(s) for orders.

Operations 4

GET /orders GET /orders #
POST /orders/{variety} Place an order of a particular variety #
DELETE /orders/{variety}/{orderId} Cancel an open or pending order #
PUT /orders/{variety}/{orderId} Modify an open or pending order #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zerodha:zerodha-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zerodha-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zerodha Orders API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 22 operation(s) read from 5 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Zerodha has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 25
    documentation: -3
    pages-with-code: 5
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://kite.trade/docs/connect/v3/user
  - https://kite.trade/docs/connect/v3/orders
  - https://kite.trade/docs/connect/v3/gtt
  - https://kite.trade/docs/connect/v3/alerts
  - https://kite.trade/docs/connect/v3/portfolio
servers:
- url: https://api.kite.trade
security:
- apiKey: []
tags:
- name: Orders
paths:
  /orders:
    get:
      operationId: get_orders
      tags:
      - Orders
      summary: GET /orders
      x-source: https://kite.trade/docs/connect/v3/orders
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl \"https://api.kite.trade/orders\"  -H \"X-Kite-Version: 3\"  -H \"Authorization: token api_key:access_token\" \n { \n \"status\" : \"success\" , \n \"data\" : [ \n { \n \"placed_by\" : \"XXXXXX\" , \n \"order_id\" : \"100000000000000\" , \n \"exchange_order_id\" : \"200000000000000\" , \n \"parent_order_id\" : null , \n \"status\" : \"CANCELLED\" , \n \"status_message\" : null , \n \"status_message_raw\" : null , \n \"order_timestamp\" : \""
  /orders/{variety}:
    post:
      operationId: post_orders_variety
      tags:
      - Orders
      summary: Place an order of a particular variety
      x-source: https://kite.trade/docs/connect/v3/orders
      parameters:
      - name: variety
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOrdersVarietyRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOrdersVarietyResponse'
      x-evidence:
        kind: documentation
  /orders/{variety}/{orderId}:
    delete:
      operationId: delete_orders_variety_orderId
      tags:
      - Orders
      summary: Cancel an open or pending order
      x-source: https://kite.trade/docs/connect/v3/orders
      parameters:
      - name: variety
        in: path
        required: true
        schema:
          type: string
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteOrdersVarietyOrderidResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_orders_variety_orderId
      tags:
      - Orders
      summary: Modify an open or pending order
      x-source: https://kite.trade/docs/connect/v3/orders
      parameters:
      - name: variety
        in: path
        required: true
        schema:
          type: string
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutOrdersVarietyOrderidRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutOrdersVarietyOrderidResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostOrdersVarietyResponse:
      type: object
      properties:
        status:
          type: string
        data.order_id:
          type: string
    PutOrdersVarietyOrderidRequest:
      type: object
      properties:
        order_type:
          type: string
        quantity:
          type: string
        price:
          type: string
        trigger_price:
          type: string
        disclosed_quantity:
          type: string
        validity:
          type: string
        market_protection:
          type: string
        autoslice:
          type: string
        tag:
          type: string
    PostOrdersVarietyRequest:
      type: object
      properties:
        tradingsymbol:
          type: string
        exchange:
          type: string
        transaction_type:
          type: string
        order_type:
          type: string
        quantity:
          type: string
        product:
          type: string
        price:
          type: string
        trigger_price:
          type: string
        disclosed_quantity:
          type: string
        validity:
          type: string
        validity_ttl:
          type: string
        iceberg_legs:
          type: string
        iceberg_quantity:
          type: string
        auction_number:
          type: string
        market_protection:
          type: string
        autoslice:
          type: string
        tag:
          type: string
      required:
      - tradingsymbol
      - exchange
      - transaction_type
      - order_type
      - quantity
      - product
    PutOrdersVarietyOrderidResponse:
      type: object
      properties:
        status:
          type: string
        data.order_id:
          type: string
    DeleteOrdersVarietyOrderidResponse:
      type: object
      properties:
        status:
          type: string
        data.order_id:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization