Python & API Bridge

One Webhook API For Every Indian Broker

Built your strategy in Python? Skip writing a separate integration for Zerodha, Angel One, Dhan, Upstox and the rest. POST one JSON payload to your AlgoDelta webhook and the order goes to your account – or to a whole group – at any supported broker.

strategy.py1import requests23WEBHOOK = "https://…/jsonbridge/<id>"4order = {"transaction_type": "BUY",5 "script": "NIFTY-N", "quantity": 1}6requests.post(WEBHOOK, json=order)POST JSONAlgoDelta webhookone API · every brokerZerodha · A/c 1BUY NIFTY-N CE · 1 lotplacedDhan · A/c 1BUY NIFTY-N CE · 1 lotplacedUpstox · A/c 1BUY NIFTY-N CE · 1 lotplacedKotak Neo · A/c 2BUY NIFTY-N CE · 1 lotplaced
Example

Ten Lines Of Python, Every Broker

Generate the exact JSON in your JSON Bridge, paste the webhook URL into your script and send it when your strategy fires. The bridge picks the strike, applies exits and places the order.

  • Works from Python, Node.js, Go, Excel VBA, Google Sheets or a Telegram bot
  • No broker SDKs, no token handling, no static IP on your side
  • Test with a small quantity or a test group before going live
strategy.py
import requests

WEBHOOK_URL = "https://…/jsonbridge/webhook/<your-id>"  # from AlgoDelta

BUY = {
    "type": "Strategy Order",
    "transaction_type": "BUY",
    "script": "NIFTY-N", "script_type": "CE",
    "option_selection": "ATM_BASED",
    "exit_on_opposite": True,
    "product": "CARRYFORWARD", "quantity": 1,
}

def on_signal(side):
    if side == "buy":
        r = requests.post(WEBHOOK_URL, json=BUY, timeout=5)
        print(r.status_code)
Why Use It

Stop Maintaining Broker Integrations

One webhook replaces a separate SDK, login flow and static IP setup for every broker you trade with.

One Integration, Every Broker

Same JSON for Zerodha, Angel One, Dhan, Kotak, Upstox and the rest. Switch brokers without touching code.

Static IP And Sessions Handled

AlgoDelta holds the dedicated static IP and broker session, so your script only sends signals.

Fan Out To Groups

Send one request and every child account in the group gets the order, in its own size.

Managed Exits

With Strategy Order the bridge handles target, SL, trailing SL and exit on opposite for you.

Custom API For Raw Orders

Need direct control? Custom API places orders straight to an account or group without bridge management.

Any Language

Python, Node.js, Go, Excel VBA, Google Sheets, Telegram bots – anything that can make an HTTP POST.

Two Modes

Strategy Order vs Custom API

Strategy OrderCustom API
Who manages the orderAlgoDelta JSON BridgePlaced directly to broker account or group
Exit on opposite, signal typeYesNo
Bridge target and SLYesNo
Best forStrategy signalsYour own order management

Generate the exact syntax in your JSON Bridge – it also offers limit, stop and square-off variants. Test with small quantities first.

Code To Broker

From Python Signal To Placed Order

Your code decides when to trade. AlgoDelta handles broker sessions, static IP and fan-out to accounts.

  1. Your code fires a signal

    Python, Node.js, Excel or any app decides to buy or sell.

  2. POST one JSON

    Send the JSON syntax generated by the bridge to your AlgoDelta webhook URL.

  3. AlgoDelta processes it

    Quantity, strike selection, target, SL and exit on opposite are applied for Strategy Order.

  4. Orders reach accounts

    The order is placed in your account or every account of the selected group, at any supported broker.

Answers

Frequently Asked Questions About The Python & API Bridge

Answers about sending orders from your own code, Strategy Order vs Custom API, broker keys, static IP and testing.

Yes. Generate the JSON syntax in the JSON Bridge and POST it to your bridge webhook URL from Python whenever your strategy gives a buy or sell signal. The same works from Node.js, Excel macros, Google Sheets, Telegram bots or any tool that can send an HTTP request.

With Strategy Order the AlgoDelta JSON Bridge manages the order, including exit on opposite, target, stop-loss and trailing stop-loss. Custom API places the order directly in an account or group without bridge management, for traders who run their own order logic.

You connect your broker account to AlgoDelta once, which for some brokers uses their API key. After that your code only talks to the AlgoDelta webhook, whichever broker the account is at.

No. Your script only calls the AlgoDelta webhook. The broker connection, including the dedicated static IP where the broker requires one, is held on the AlgoDelta side.

Yes. Generate the syntax from the JSON Bridge, send it with a small quantity or to a test group, and check the order status and any rejection reason in AlgoDelta before going live.

Get started

Point Your Code At One Webhook

Create a JSON Bridge on the free trial and send your first order from Python.

  • Free Trial
  • Easy Setup
  • Expert Support
Register & Free TrialConnect BrokerAutomate TradingReady to trade