Signal Detection

Market Screener API
for AI Agents

Instead of polling 275 perpetual markets one by one, agents use the screener to instantly surface the top setups that match their strategy criteria โ€” ranked, filtered, and ready to act on.

Access the Screener โ†’ API Reference

The Opportunity Cost of Manual Market Scanning

Time spent scanning is time not spent trading. Screeners eliminate the bottleneck.

Hyperliquid lists 275 perpetual markets. If your agent checks each one individually โ€” fetching OHLC data, calculating RSI, comparing volume to 30-day averages, checking funding rates โ€” you're looking at hundreds of API calls and significant latency before a single trade decision is made.

Purple Flea's screener runs all of those calculations centrally, updated every 60 seconds across all markets simultaneously. Your agent makes one API call with its filter criteria and receives a ranked list of opportunities that already match the strategy. The difference between catching a breakout at its inception versus 5 minutes late is the difference between a 3% gain and entry at the top.

Beyond speed, the screener enables strategies that are computationally impractical for individual agents โ€” cross-market statistical comparisons, relative strength rankings, and composite signal scoring across the entire universe of tradable assets.

What the screener enables
  • Find breakout setups across all 275 markets in <200ms
  • Filter by multiple simultaneous conditions (AND logic)
  • Sort results by any metric (momentum, volume, funding)
  • Run strategy-specific presets with a single call
  • Set persistent screener watchlists with alerts
  • Compare relative strength across correlated assets
  • Detect funding rate extremes across the full market
  • Identify volume anomalies before price moves follow

Python Example

One call. 275 markets scanned. Ranked results delivered.

import purpleflea screener = purpleflea.ScreenerClient(api_key="YOUR_KEY") # Find momentum breakout setups results = screener.scan( filters=[ { "metric": "price_change_24h_pct", "condition": "above", "value": 5 }, { "metric": "volume_24h_change_pct", "condition": "above", "value": 50 }, { "metric": "funding_rate_pct", "condition": "between", "values": [-0.05, 0.05] }, ], sort_by="volume_24h_change_pct", limit=10 ) for r in results: print( f"{r['market']}: +{r['price_change_24h_pct']:.1f}%" f" | vol +{r['volume_24h_change_pct']:.0f}%" )
Response Structure
Each result includes all screened metrics plus the asset's full market context for immediate trading decisions.
{
  "market": "SOL-PERP",
  "price_change_24h_pct": 7.4,
  "volume_24h_change_pct": 182,
  "funding_rate_pct": 0.012,
  "rsi_14": 68.2,
  "oi_change_pct": 23.1,
  "score": 0.91
}
Persistent Screener Watchlists
Save screener configurations as named watchlists. Poll them on a schedule or subscribe to webhook alerts when new results enter the list.

Available Metrics

12 core metrics updated every 60 seconds across all 275 markets.

Metric Description Update Freq Conditions
price_change_24h Absolute price change over last 24 hours in USD 60s above, below, between
price_change_24h_pct Percentage price change over last 24 hours 60s above, below, between
volume_24h Total notional volume traded in last 24 hours (USD) 60s above, below
volume_24h_change_pct Volume change vs 30-day average (%) 60s above, below, between
funding_rate_pct Current 8-hour funding rate (positive = longs pay) 60s above, below, between
oi_change_pct Open interest change vs 24h ago (%) 60s above, below, between
oi_usd Total open interest in USD 60s above, below
rsi_14 14-period RSI on hourly closes 60s above, below, between
atr_14 14-period Average True Range (normalized as % of price) 60s above, below
spread_bps Current bid-ask spread in basis points 5s above, below
liq_24h_usd Total liquidations in last 24h (USD) 60s above, below
mark_vs_index_pct Divergence between mark price and index price (%) 5s above, below, between

Strategy Presets

Pre-configured screener templates for the most common AI agent trading strategies.

Trend Following
Breakout Scanner
Identifies markets with strong price momentum backed by volume confirmation. Looks for assets up 5%+ with volume surging 50%+ above average, while RSI stays below overbought (avoiding chasing exhausted moves).
price_change_24h_pct > 5%
volume_24h_change_pct > 50%
rsi_14 < 75
Mean Reversion
Funding Rate Fade
Finds markets where extreme funding rates signal crowded positioning. When funding exceeds 0.1% (183% annualized), shorts become profitable as longs bleed the funding cost. Pairs well with the escrow API for delta-neutral execution.
funding_rate_pct > 0.1%
oi_change_pct > 20%
volume_24h > $5M
Volatility Play
High OI Squeeze
Finds markets with heavy open interest relative to volume โ€” a setup where forced liquidations can create explosive moves. Monitors for conditions where a 5% move could cascade into a short or long squeeze.
oi_usd / volume_24h > 3x
liq_24h_usd > $500k
atr_14 > 3%

Screener Infrastructure

275
Perpetual markets scanned
12+
Screening metrics available
60s
Market data update frequency
Start Screening

Find Your Next Trade in Milliseconds

Access the full screener with a Purple Flea API key. Works with the Trading API for end-to-end signal-to-execution pipelines.

Get API Key Free โ†’