Skip to main content

Postman / HTTP examples

Setup​

MethodPOST
URLhttps://YOUR_POD.tradepod.in/strategy/strat_xxxxx/eq?key=YOUR_API_KEY
HeaderContent-Type: application/json

Use /eq, /fut, or /opt to match the strategy. Copy the full URL from Strategy → Config → Webhook URL.

Auth alternatives for Postman: header X-Api-Key or Authorization: Bearer YOUR_API_KEY (omit ?key= if you prefer).

Equity entry​

{
"action": "BUY",
"symbol": "RELIANCE",
"price": 2950.5,
"sl": 2920,
"target": 3010
}

With qty override + MARKET​

{
"action": "BUY",
"symbol": "RELIANCE",
"price": 2950.5,
"qty": 10,
"order_mode": "MARKET"
}

F&O with security id​

{
"action": "BUY",
"symbol": "NIFTY25APR24000CE",
"security_id": 123456,
"exchange_segment": "NSE_FNO",
"price": 125.5,
"lots": 1,
"sl": 100,
"target": 160
}

Exit / Modify / Flatten​

{ "action": "EXIT", "symbol": "RELIANCE", "price": 2980 }
{ "action": "MODIFY", "symbol": "RELIANCE", "sl": 2910, "target": 3050 }
{ "action": "FORCE_EXIT" }

curl​

curl -X POST "https://YOUR_POD.tradepod.in/strategy/strat_abc123/eq?key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action":"BUY","symbol":"RELIANCE","price":2950.5,"sl":2920,"target":3010}'

Health check (no auth)​

curl "https://YOUR_POD.tradepod.in/strategy/strat_abc123/health"