Guide
TradingView webhook IP addresses
TradingView lists four IP addresses its webhooks come from: 52.89.214.238, 34.212.75.30, 54.218.53.128 and 52.32.178.7. If a server you run filters traffic, allowlist those four and accept requests on port 80 or 443 only. TradingView's help page is the source and the list can change, so check it before you rely on it. With a hosted Nyria webhook URL there is no server of yours to allowlist.
Official documentation
Allow TradingView on your server
- 1
Copy the list from TradingView
Open TradingView's webhook help page and copy the addresses it lists today, so you work from its current list.
- 2
Allow port 80 or 443
Add the four addresses to your firewall or proxy rules for port 80 or 443. TradingView rejects any other port.
- 3
Answer in under three seconds
A server that takes longer than three seconds to process a request has the request cancelled, so reply first and do the slow work afterward.
- 4
Read the delivery status
In TradingView's alert log, the Webhook status column shows whether each request was delivered.
What else TradingView states
- Webhook alerts are allowed only with two-factor sign-in turned on.
- IPv6 is not supported for webhooks.
- A message that is valid JSON is sent as application/json and anything else as text/plain.
- Do not put login credentials or passwords in the webhook body.
With a hosted Nyria URL
- Each strategy has a webhook URL at trades.nyria.io. You run no server, so there is nothing to allowlist.
- The token in the URL is the only authentication. Select Rotate token on the Integration tab if the URL leaks.
Questions
- Which IP addresses does TradingView send webhooks from?
- 52.89.214.238, 34.212.75.30, 54.218.53.128 and 52.32.178.7, as TradingView's help page lists them. Check that page for the current list.
- Which ports can receive a TradingView webhook?
- Only ports 80 and 443. Requests to other ports are rejected.
- Do I need to allowlist anything to use Nyria?
- No. The webhook URL is hosted by Nyria, so no server of yours receives the request.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Write a TradingView message with the alert builder.
- Step by step for one account: how to automate TradingView to Charles Schwab.
- Step by step for one account: how to automate Webhook to Alpaca.
Guides
What is a webhook in trading?
A URL a program posts to. A TradingView example, what the message needs and why the URL is secret.
Read guideAre TradingView webhook alerts free?
TradingView needs a paid plan to send webhooks. Nyria Paper, where the alerts land, is free.
Read guideTradingView webhook without localhost or ngrok
TradingView cannot reach localhost. A hosted webhook URL means no server, tunnel or ngrok to run.
Read guideWhy is my TradingView webhook not firing?
Six checks, most common first, ending at the logged reason.
Read guideHow do I keep a trading webhook URL secure?
The token in the URL is the only authentication. Rotate it if it leaks.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.