# SML GreenLight — agent API (x402)

> Live multi-timeframe US-equity setup scanner by SCRIPTMASTERLABS: a dynamic universe from Alpaca and Polygon market lists, scored 15m/30m/1h/4h setups, and entry/stop/target trade plans from real closed bars. Agents pay per call in USDC on Base with x402 v2. Read-only; never places trades. Not financial advice.

## Paid endpoints (x402 v2, USDC on Base, payTo 0xc29185fa176357612f3194735753e520e91adc46)

- GET https://sml-greenlight.onrender.com/api/x402/board?top=20 — $0.05: Live SML GreenLight setup board: the dynamic US-equity universe (Alpaca most-actives and movers, Polygon volume surges and 20-day-high breakouts) ranked by multi-timeframe setup score, with price, day change, relative volume, best setup and per-timeframe trend/squeeze state (15m, 30m, 1h, 4h). Query: top (1-50, default 20).
- GET https://sml-greenlight.onrender.com/api/x402/setup/{symbol} — $0.05: One symbol evaluated now across 15m/30m/1h/4h closed bars: detected setups, trend and squeeze state per timeframe, and the scored long/short trade plan (entry, stop, first target, final target, R multiple, risk %). 400 for invalid symbols (not charged).

Flow: request → 402 with PAYMENT-REQUIRED → retry with PAYMENT-SIGNATURE → 200 with PAYMENT-RESPONSE. Data is computed first; if unavailable you get 503 and are not charged.

## Discovery

- https://sml-greenlight.onrender.com/.well-known/x402
- https://sml-greenlight.onrender.com/openapi.json
- Directory of all SCRIPTMASTERLABS x402 services: https://scriptmasterlabs.com/x402-services
