Builders 路 5 min read

How to make Nansen ring your phone

To make Nansen ring your phone, make an 馃敭 Anything alarm in LFG Alarm, then add its private link to a Nansen Smart Alert as a webhook channel. When the alert fires, Nansen posts to the link and every phone on the alarm rings like an alarm clock, so a smart money move reaches you even when Telegram is muted. LFG is your daily alarm and curiosity agent for iPhone and Android, plus lfg.gm in a desktop browser.

Also called: Nansen alert to phone 路 Nansen webhook alert 路 Nansen Smart Alert webhook 路 smart money alarm 路 Nansen phone alarm

Download on the App StoreGet it on Google Play

What you can ring on

Any of Nansen's Smart Alert types can ring the alarm:

Ring when Nansen alert type
A wallet Nansen labels as smart money sends or receives over $1M Token Transfer
A wallet you track buys, sells or swaps a token Token Transfer, tracking that wallet
A token hits a price or market cap, or moves by a percentage Token Price
Smart money pours more than $500K into a token in a day Smart Money Token Flows
A Hyperliquid trader opens, closes or changes a position Perps Position

Before you start

  • Get the LFG Alarm app on your phone from Google Play or the App Store, and sign in. Nansen notices the move; your phone does the ringing.
  • An Anything alarm. Every LFG account gets one free, and paid plans have room for more; see lfg.gm.
  • A Nansen API key. In Nansen, open Nansen API and click Create New Key. Tick Data and Account: Account is the one that lets a key make Smart Alerts. The free plan includes 50 Smart Alerts, and making one through the API uses no credits.

Make the alarm

  1. In LFG Alarm, on Alarms, tap 馃敭 Anything.
  2. Name it for what it means, for example "Smart money moved $1M". The ring screen shows the alarm's name and nothing from Nansen, so pick a name that says what happened.
  3. Pick a Cooldown: how long it stays quiet after it rings, from 1 minute to 1 hour. A busy alert can fire many times in a few minutes, and the cooldown makes that one ring.
  4. Share it with whoever should hear it, and tap Arm it.
  5. On the link card, tap Copy. It starts with https://api.lfg.gm/horn/. Keep it private: anyone with it can ring the alarm.

Add the alarm to a Smart Alert

Create the alert through Nansen's API, with the alarm's link as a webhook channel. This one rings when a wallet labelled Smart Trader moves over $1M on Ethereum:

curl -X POST https://api.nansen.ai/api/v1/smart-alert \
  -H "apikey: $NANSEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Smart money moved $1M",
    "type": "common-token-transfer",
    "timeWindow": "realtime",
    "channels": [{"type": "webhook", "data": {"webhookUrl": "https://api.lfg.gm/horn/your-token"}}],
    "data": {
      "chains": ["ethereum"],
      "subjects": [{"type": "label", "value": "Smart Trader"}],
      "events": ["send", "receive"],
      "usdValue": {"min": 1000000},
      "inclusion": {},
      "exclusion": {}
    }
  }'

Replace your-token with the end of your alarm's link. To track an exchange, a fund or another entity instead, use {"type": "entity", "value": "Binance"} as the subject.

An alert can have more than one channel. Add your Telegram, Discord or Slack channel beside the webhook: the message there has the details, and the alarm makes sure you see it.

Nansen's app has a Webhook channel in its own Create Alert form too. When we tried it, alerts made there switched themselves off without sending anything, while the same alert made through the API rang every time. Use the API until that changes.

To ring on smart money flows instead, use the sm-token-flows type with a threshold such as "netflow_1d": {"min": 500000}. Nansen's Smart Alerts docs list every field.

Let your AI set it up

try this

Have your AI agent make it.

Paste this into ChatGPT, Claude, Grok or any AI agent that can add a connector, not into the LFG Alarm app. The setup steps come with it: get the LFG Alarm app, connect it to your agent once, and your agent makes the alarm in your account.

Use LFG Alarm to make an Anything alarm called "Smart money moved $1M" with 10 minutes of quiet time and give me its link. Then write me the Nansen API call that creates a Smart Alert for transfers over $1M by wallets labelled Smart Trader on Ethereum, with that link as a webhook channel.

Already have the LFG Alarm app and connected it to your AI agent?

Why it works. One request makes the alarm and writes the alert. Connect LFG Alarm to your AI app first: see [AI agents](/agents). Nansen also has its own connector for Claude and ChatGPT, so your AI can look up wallets and labels while it writes the alert.

Good to know

  • How fast it rings depends on the chain. Nansen's own figures put Ethereum, Base and BNB under five seconds, Solana at 10 to 20 seconds, and most other chains at 30 to 60 seconds.
  • Signing is optional. Through the API, Nansen can sign each delivery with a secret. The alarm's link does not check it, so leave secret out.
  • Nansen may show a 429 error. That is the alarm's cooldown turning away calls that come in while it's quiet. Nansen notes it and carries on.
  • Nothing from Nansen reaches the ring screen. The alarm's name is what people see, so name it for the moment.

If it does not work

  • Nansen refuses the alert. The link must be the full address from the alarm's link card, starting with https://api.lfg.gm/horn/.
  • The alert switches itself off before it ever fires. If you made it in Nansen's app, make it through the API instead. The list call (GET /api/v1/smart-alert/list) shows each alert's errorMessage and triggerTimes.
  • The alert fired but nobody's phone rang. The ring may have fallen inside the alarm's cooldown, or the people on it have not joined yet.
  • It rings too often. Raise usdValue or the flow threshold, narrow the subjects, or set a longer cooldown.
  • Still stuck? Write to us from the support page.

Learn more

Sources and further reading

LFG Alarm is not affiliated with Nansen.

questions people ask
Does LFG Alarm see my Nansen data?

No. The ring link never reads what Nansen sends, and it never shows on a screen. LFG only learns that the link was called.

Does LFG need my Nansen login or API key?

No. Nansen calls LFG, so LFG keeps nothing of yours.

Can one alert ring a whole desk?

Yes. Everyone who joined the alarm hears it.

keep exploring

One use case opens another.

Never miss the moment.

Free on Android and iPhone.

Download on the App StoreGet it on Google Play