Skip to main content
This page is a practical workflow for engineers who want to use the API from zero to production-style integration. Scenario:
  • You want to create a Strategy programmatically.
  • The Strategy should focus on safe new launches with minimum liquidity and social proof.
  • You want to backtest it, activate it, observe notifications, track performance, and receive webhook events.

Prerequisites

Set your environment variables:
Common header:

Step 1: Confirm plan and limits

Use this to confirm:
  • your plan (PRO or DEGEN)
  • strategy activation limit
  • requests-per-minute limit

Step 2: Create a strategy

This example strategy:
  • triggers on newly created tokens
  • uses a single external rules[] list
  • marks critical checks as dealbreakers
  • applies market, launch-origin, volume/activity, and social filters
  • sets alertCooldownMins to suppress duplicate alerts per token
  • keeps default trigger config empty because this example does not use twitter trigger types
Save strategy.id from the response for the next steps.

Step 3: Activate the strategy

Step 4: Verify strategy state

Check:
  • isActive is true
  • alertCooldownMins is present
  • response contains dealbreakers and grouped rules generated from your rules[] payload

Step 5: Update strategy rules

Example update:
  • increase liquidity threshold
  • tighten cooldown window
  • keep excluding Pump.fun-origin launches
  • keep wallet quality checks as normal rules, not dealbreakers
  • replace the full stored rules set with the new rules[] payload
To fully clear existing rules, use replacement semantics with an empty list:
Trigger updates follow the same replacement behavior: if you send triggers, the full trigger set is replaced; if omitted, existing triggers stay unchanged.

Step 6: Optional backtest before going live

Run a backtest when you want to replay a Strategy against recent stored token observations before relying on it in production.
PRO users can run 25 backtests per UTC day with a 7-day lookback. DEGEN users have unlimited daily backtests with a 14-day lookback.
Create a backtest job:
Save the returned id as your backtest job ID, then poll job status:
List filtered results:
Backtest results store matches and missed winners only. currentMultiple is calculated from the token’s highest market cap during the backtest window compared with its market cap when it was evaluated, not from a live market lookup. The results total is the stored-row count; use the job metrics.tested value for the full evaluated-token count.

Step 7: Optional twitter/dev discovery queries

Get tracked twitter handles:
Get twitter tags (all scopes by default):
Get followed developers:
For twitter trigger strategies (twitter_mention_direct / tweet_metadata_match), include triggerConfigs.<eventType>.tagId in create/update payloads. For followed developer strategies, use triggerConfigs.followed_dev_new_token_created to choose the source:
If you omit this config, followed_dev_new_token_created uses all active followed developers.

Step 8: Read notifications programmatically

List recent notifications:
Notifications default to source=all, which returns your personal alerts plus official alerts from official strategies you are subscribed to. Use source=personal or source=official to narrow the result. Each notification item includes source so clients can tell which kind of alert it is. Read one notification in detail:

Step 9: Check performance

Synchronous summary:
Asynchronous flow for larger workloads:
Then poll:

Step 10: Configure webhook delivery

Check current config:
Set webhook endpoint:
Use returned fields:
  • hasSecret
  • secret (when generated/rotated)
  • verifiedAt
  • verificationError (if verification failed)

Step 11: Deactivate strategy

Step 12: Optional cleanup

Practical implementation checklist

  • Keep API key server-side only.
  • Persist strategy IDs in your own DB.
  • Use idempotent update logic in your integration.
  • Handle 429 throttling with retry/backoff.
  • Validate rule payloads with the Strategy Rules Spec before sending.

APIs

Full endpoint reference and payload examples.

Strategy Rules Spec

Rule schema, operators, and supported rule types.