What problem does it solve?
Ensures consistent, up-to-date, and validated data delivery from multiple external market APIs into the CYPHER V3 UI by enforcing layered caching, schema validation, deterministic transformations, and intelligent fallbacks so users never see stale or invalid values.
Core Features & Use Cases
- Layered caching with TTLs: Edge CDN, Redis/Upstash, and client-side caches with explicit TTLs to balance freshness and availability.
- Schema validation & transformation: Zod schemas and transform functions convert raw API payloads into safe, frontend-ready models.
- Multi-source aggregation and failover: Prioritized sources (CoinGecko, Hiro, Binance) with automatic fallback and stale-cache acceptance when upstreams fail.
- Operational pipelines: Dedicated pipelines for BTC price, ordinals collections, runes, and fee estimates with clear TTL guidance for each data class.
- Use Case: Power a live trading dashboard that shows real-time BTC price, ordinals floor and volume, and mempool fee estimates without serving stale or malformed data.
Quick Start
Use the data-pipeline skill to fetch the current BTC price via CoinGecko with a 15s Redis TTL and fallback to Binance when CoinGecko fails.