Robinhood Chain

Create an RHC price alert (PRO+)

Market-cap drop alert with an optional recovery leg, baselined against the token's market cap at creation. One-shot state machine: watching → dipped → recovered; dip_low ratchets down while dipped; terminal on the dip when no recovery_pct is set.

⚠️ Latency differs from the Solana price alerts. Solana alerts are evaluated inside a live in-memory price loop every 250 ms. RHC alerts are event-driven: each trade on the chain's trade feed (rhc:dex_trade) is checked against the alerted token set, with price-table polls (every 5 s while the feed is degraded or a trade carried no market cap, 60 s otherwise) and a trade-tape replay after a feed outage as safety nets. Latency is a few seconds (the chain trade flush is about 2 s), not sub-second. Every create response carries an evaluation block restating this. Do not size a strategy on the Solana figure. token_address, drop_pct and recovery_pct are immutable after creation.

post/rhc/price-alerts

Request

  • Base URL: https://madeonsol.com/api/v1
  • URL: https://madeonsol.com/api/v1/rhc/price-alerts
  • Auth: HTTP bearer

Request body

namestring
token_addressstring required

Lowercase 0x token address, must be tracked with a market cap

drop_pctnumber required
recovery_pctnumber

Omit for a dip-only, terminal alert

delivery_mode'webhook' | 'websocket' | 'both'
webhook_urlstring uri

Response

Created — includes one-time webhook_secret and an evaluation block describing how the alert is evaluated.

chain'robinhood'
webhook_secretstring nullable

One-time HMAC secret — only present when webhook delivery is configured.

notestring

Example response

{
  "evaluation": {
    "trigger": "rhc:dex_trade",
    "interval_seconds": 5,
    "fallback_poll_seconds": {
      "fast": 5,
      "slow": 60
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.