# SolPulseData - Crypto Telemetry API (x402 v2) Base URL: https://solpulsedata.duckdns.org Tracked Assets: SOL, BTC, ETH, XRP, DOGE, LINK, ADA (USD spot & 1h candles, >200 candles warmed up) Payment Rails: Solana Mainnet USDC (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) and Base Mainnet USDC (eip155:8453) via x402 v2. No API key or subscription. Discovery: https://solpulsedata.duckdns.org/v1/discovery OpenAPI: https://solpulsedata.duckdns.org/openapi.json Data Notes: - Computed telemetry and historical technical indicators only. Not financial, investment, or trading advice. - Hourly candles accumulate in SQLite across all 7 tracked assets. - RSI-14 and the 72-candle floor and ceiling are active once enough candles exist. - SMA-200 is active once 200 hourly candles are recorded (warmup_complete: true). ## Free Endpoints - GET /v1/discovery - Service metadata, tracked_assets, warmup status, payment_rails, and live pricing. - GET /health - Liveness and health status. ## Paid Endpoints (x402 v2 USDC on Solana & Base) - GET /v1/levels?symbol=SOL - Spot price, 72-candle floor/ceiling, RSI-14, SMA-200, and 0-100 dip_score. Accepts symbol or asset in [SOL,BTC,ETH,XRP,DOGE,LINK,ADA]. $0.01 USDC (10000 atomic). - GET /v1/dipscan?min_score=60 - Multi-asset dip scan across all 7 tracked assets in one call. $0.02 USDC (20000 atomic). - GET /v1/cycle - Bitcoin halving cycle progress and timing telemetry. $0.02 USDC (20000 atomic). - GET /v1/solana-movers - SOL on-chain momentum plus the 7 tracked assets ranked by 1h move z-score (anomaly when |z| >= 2); snapshot at most 15 s old. $0.005 USDC (5000 atomic). - GET /v1/delta?symbol=SOL&window=1m - One asset: changed (true/false), price_delta_pct and dip_bucket since 1m, 5m or 15m ago (or since=), plus next_recommended_route when something changed. $0.005 USDC (5000 atomic). ## When to use (agent triggers) - Before a spot buy or sell of SOL, BTC, ETH, XRP, DOGE, LINK or ADA: call /v1/levels to see distance to the 72h floor and ceiling, RSI-14 (below 30 = oversold) and whether price is above SMA-200. - To pick which asset to look at first: call /v1/dipscan once instead of /v1/levels seven times; results are ranked by dip_score (0-100, higher = deeper dip). - For a fast, cheap check of what is moving right now (polling every minute is fine): call /v1/solana-movers; anomalies lists assets whose live 1h move is >= 2 standard deviations from normal. - For a 1-minute polling loop on one asset: call /v1/delta?symbol=SOL&window=1m; only when changed is true, follow next_recommended_route (/v1/levels, $0.01) or /v1/dipscan ($0.02). - When reasoning about the 4-year Bitcoin cycle: call /v1/cycle for blocks and days since and until the halving and cycle_progress_pct. ## Response fields (exact JSON keys) /v1/levels returns one object: symbol, mint, price_usdc, floor, ceiling, distance_to_floor_pct, distance_to_ceiling_pct, rsi_14, sma_200, above_sma_200, dip_score, recorded_candles, warmup_complete, candle_timeframe, window_candles, methodology, data_source, timestamp, disclaimer Example (illustrative): {"symbol":"SOL","price_usdc":72.45,"floor":68.1,"ceiling":79.8,"rsi_14":34.2,"sma_200":70.858,"dip_score":68,"warmup_complete":true} /v1/dipscan returns: tracked_symbols, min_dip_score, count, results[] (each item has the /v1/levels fields), errors, candle_timeframe, methodology, timestamp, disclaimer /v1/solana-movers returns: as_of, refresh_seconds, age_seconds, sol, ranked[] (each: symbol, source, price_usd, change_1h_pct, change_4h_pct, change_24h_pct, return_zscore, realized_vol_24h_pct, direction, anomaly, history_hours), anomalies, errors, methodology, disclaimer /v1/delta returns: symbol, window, since, as_of, price_usd, reference_source (live_buffer | hourly_candle | none), reference_ts, elapsed_seconds, price_delta_pct, threshold_pct, dip_bucket (LOW | MODERATE | ELEVATED | EXTREME), dip_bucket_prev, changed, trigger_reason (price_move_up | price_move_down | dip_bucket_change | none | no_reference), next_recommended_route, related_routes, methodology, disclaimer /v1/cycle returns: asset, method, last_halving_block, next_halving_block, days_since_last_halving, estimated_days_to_next_halving, cycle_progress_pct, timestamp, disclaimer Example: {"asset":"BTC","last_halving_block":840000,"next_halving_block":1050000,"days_since_last_halving":957,"estimated_days_to_next_halving":501,"cycle_progress_pct":65.6} ## How to pay Request the endpoint, decode the base64 PAYMENT-REQUIRED header of the 402 response, sign one entry of accepts[] with an x402 v2 client (for example @x402/fetch, or the Python x402 package), and retry with a PAYMENT-SIGNATURE header. The 402 JSON body also lists the supported networks, assets and amount_atomic, plus a machine-readable code if a payment is rejected.