TradingView Webhook: Requirements, JSON Message and Limits
What it sends, what your account and your server must provide, and why it places no order by itself.

On this page
A TradingView webhook sends an alert to an app of your choice: when the alert is triggered, an HTTP POST request goes to a URL you provide, with the alert message in the body. It needs a paid plan and 2-factor authentication (2FA), and it only notifies: no order is placed. Rules from the official help center, December 6, 2026.
TradingView webhooks by plan
| Plan | Price | Webhook notifications | Alert limits | Duration | Checked |
|---|---|---|---|---|---|
| BasicFor: Notifications by app, email or sound only | Free | Not included | 3 on price, no technical | 1 month | Source: tradingview.com |
| EssentialFor: A first connection on a few setups | $14.95 a month, or $12.95 a month billed annually | Yes | 20 on price and 20 technical | 2 months | Source: tradingview.com |
| PlusFor: Many setups sent to one app | $34.95 a month, or $29.95 a month billed annually | Yes | 100 on price and 100 technical | 2 months | Source: tradingview.com |
| PremiumFor: Connections that should not expire | $69.95 a month, or $59.95 a month billed annually | Yes | 400 on price and 400 technical | No expiry (open-ended) | Source: tradingview.com |
| UltimateFor: Professional users and very large lists | $239.95 a month, or $199.95 a month billed annually | Yes | 1,000 on price and 1,000 technical | No expiry (open-ended) | Source: tradingview.com |
It is one of the notification channels, next to email and sound. The address comes from the service that will receive the call (a chat app, a spreadsheet connector, your own code): you only paste it, and what happens next is decided on that side alone.
TradingView webhook requirements
| Requirement | Rule (December 6, 2026) |
|---|---|
| Plans | Essential, Plus, Premium and Ultimate; not on Basic |
| Account | Webhook alerts are only allowed when 2-factor authentication is enabled |
| Content type | application/json if the alert message is valid JSON, text/plain otherwise |
| Ports | 80 and 443 only; any other port number is rejected |
| Timeout | Cancelled if your server takes longer than three seconds to process it |
| Network | IPv6 is not supported; a local or private IP is refused |
| Sending IP addresses | 52.89.214.238, 34.212.75.30, 54.218.53.128, 52.32.178.7 |
| Retries | On a 500 to 599 response (except 504), sent again after 5 seconds, up to 3 times |
| Size | 4,000 characters in the Message field; 40,960 when it is built by a script |
How to configure a webhook alert
- Turn on 2FA for your account: the option is not allowed without it.
- Create or edit an alert (the basics are in how to use TradingView).
- In the Notifications tab, enter the address given by the receiving app in the Webhook URL field.
- Write what should be sent, then save.
- After the first trigger, open the log and monitor delivery in its Webhook status column.
Message format and placeholders
Many services expect JSON instead of plain text, the default format, so see what the one you connect expects: the help center gives the example of Slack, which expects a key named text. Placeholders, written between double curly brackets, are replaced by live values at the trigger:
{{ticker}},{{exchange}}: the symbol.{{open}},{{high}},{{low}},{{close}},{{volume}}: the candle that triggered.{{time}},{{timenow}},{{interval}}: candle date, trigger date (UTC) and interval.{{plot_0}}to{{plot_19}}: output series of the indicator.{{strategy.order.action}},{{strategy.order.contracts}},{{strategy.order.price}}: strategies only.
An example for a neckline (ours, built only from documented placeholders):
{
"symbol": "{{exchange}}:{{ticker}}",
"price": "{{close}}",
"fired_at": "{{timenow}}",
"note": "neckline crossed"
}
To test your endpoint before you rely on it, send it the same call by hand, in the form the help center documents:
curl -H 'Content-Type: application/json; charset=utf-8' -d '{"text": "BTCUSD Greater Than 9000"}' -X POST https://YOUR-ENDPOINT
In Pine Script, alertcondition() takes a fixed string that can include placeholders, while alert() can include calculated values.
Auto-stop, duplicates and lost messages
An alert triggered more than 15 times in 3 minutes is stopped automatically, so a condition that flickers around a level can silence itself. After a retry, the same call can arrive up to 4 times for one trigger: your app should ignore duplicates. And delivery is not guaranteed, since webhooks "may occasionally fail to reach the specified URL".
Webhook not working: what to check
| What you see | Possible causes |
|---|---|
| The option cannot be used | Basic plan, or 2FA is off |
| 3xx error (redirection) | The domain or path has changed, or a redirect leads to an authorization screen |
| 4xx error (client error) | The endpoint does not exist, authorization failed, invalid content in the body, or too many requests |
| 5xx error | The receiving side is temporarily unavailable or timed out |
| Timeout exceeded | No response in time: overload or network issues |
| URL unavailable or invalid | Typo in the address, localhost, domain not configured |
| Secure connection issues | Incorrect TLS settings |
| IP is not allowed | The address resolves to a private or internal one |
| Nothing arrives anymore | It was stopped (15 times in 3 minutes) or has expired |
Most of these errors come from the receiving side, so the support of that service is the first place to ask.
Can a webhook automate trading?
Not by itself. It only carries a notification to an address: a separate program has to receive it, decide and place the order with a broker, through that broker's own interface. The help center is explicit: "Our alerts are not designed for automated trading", and it warns against putting login credentials or passwords in the URL or in what you send. To place orders by hand from the chart instead, see the TradingView brokers.
Which plan for webhooks
Essential ($14.95 a month, or $12.95 a month billed annually) is the first plan that includes them: see the paid plans. The limits of each plan are in our guide to TradingView alerts, and everything else in the comparison of TradingView plans, among our trading reviews.
From our own tests: do chart patterns work? · chart patterns cheat sheet · candlestick patterns cheat sheet
Frequently asked questions
Where do I find my webhook URL?
In the app that receives the call, not on TradingView: a chat app or an integration service gives you the address, and you enter it in the Webhook URL field.
Does TradingView have an API?
Not for market data. Its help center states: "We don't have an API that gives access to data as of now", and adds that its REST API is meant for brokers. An AI assistant can get data through the official TradingView MCP, but it cannot create webhook alerts.
Can I automate trading in TradingView?
Not on its own. A strategy can send each order fill to a webhook, but that only delivers a notification: a separate program has to place the trade with a broker. A call can be missed or sent twice, so any automation carries real risk.
Are TradingView webhooks free?
No. They are not included in the free Basic plan and start with Essential, at $14.95 a month or $12.95 a month billed annually.
Sources
- Pricing and plan comparison
- How to configure webhook alerts
- I cannot send webhook to a URL with a port number
- Webhook resubmission
- What do errors mean when sending webhooks?
- Webhook authentication
- Using credentials for webhooks
- How to use a variable value in alert
- Introduction to alerts
- Strategy alerts
- Alert was triggered too often and stopped
- Alert name and message size limits
- Alert presets
- I need access to your API
- How to place an order on TradingView
- MCP Server documentation
- Pine Script documentation: FAQ
