Skip to content

Guide

What IP address does TradingView send webhooks from?

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 through on a server you run

  1. 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. 2

    Allow them on 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. 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. 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

Test the strategy on a paper bot first

Paper is free. Live trading from $15 a month.