Institutional-Grade Crypto Screener, DEX Tape Whale Flow Detector & Risk Engine powered by the CoinMarketCap Pro API.
Built for the Build with CMC: API Hackathon (Track: Markets and Trading Tools & Data and Visualisation).
Most cryptocurrency dashboards in hackathons fall into one of two traps:
- Generic CEX Clones: Simple tables re-displaying CoinMarketCap's front page without any unique quantitative layer.
- Disconnected Tools: Fragmented utilities with poor UX that force traders to hop between different sites to analyze market cycles, track on-chain DEX order manipulation, evaluate portfolio concentration, and monitor take-profit levels.
CryptoScope solves this by unifying 6 high-value CoinMarketCap API endpoints into an institutional, Bloomberg-inspired dark matte intelligence workstation. It turns raw market feeds into actionable risk diagnostics, on-chain whale forensic traces, and autonomous alerts with zero cognitive clutter.
- Live CMC Quotes & Dynamic Metrics: Evaluates 24h & 7d performance, 24h volume, market cap, and sparklines.
- Sentiment & Macro Indicators: Seamlessly embeds real-time Fear & Greed Index (
/v3/fear-and-greed/latest) and the Altcoin Season Index (/v1/altcoin-season-index/latest) directly into the header stream. - Direct Coin Integration: Instant search, categorical tag filtering, and 1-click modal to inspect coin mechanics or directly inject holdings into your portfolio.
- Direct On-Chain Swap Forensics: Integrates CMC's advanced decentralized exchange transactions endpoint (
/v1/dex/tokens/transactions) on the Ethereum network. - Institutional Volume Separation: Quantifies maker concentration by analyzing top swap volume vs total block volume.
- Frictionless Presets & Audit Tape: Pre-configured with top DeFi tokens (
UNI,PEPE,WETH,LINK,AUSD) with direct links to Etherscan tx hashes and maker wallet addresses. - Cryptographic Export: Export parsed transaction receipts in clean JSON format for offline algorithmic compliance.
- Herfindahl-Hirschman Index (HHI): Mathematical diversification scoring that categorizes capital risk (Diversificado, Concentración Moderada, Hiperconcentrado) with actionable diversification recommendations.
- Multi-User Private Sandboxes: Secured via Laravel Auth, scoped to individual user accounts with cryptographic
UUIDdatabase identifiers. - Autonomous Take-Profit & Stop-Loss Engine:
- Define custom targets in USD price or ROI percentage.
- Periodic background polling (
/api/portfolio/check-targets) with native browser desktop notifications and sound alerts.
- Black Swan Stress Test Simulator: Real-time simulated portfolio balance under custom flash crash scenarios (-5% to -80%).
- Proactive Market Watchdog: Set target crossover alarms (Above / Below) tied to authenticated user workspaces.
- Auditory & Visual Synthesizer: Emits an Apple-grade crystal chime via the Web Audio API alongside Native Web Push notifications even when the browser tab is in the background.
- Macro Cycle Thermometer: Deconstructs global metrics (
/v1/global-metrics/quotes/latest), Bitcoin Dominance, Ethereum Dominance, and Altcoin capital share into interactive radial gauges and donut visualizations. - Liquidity Velocity & Phase Diagnosis: Automatically detects whether the market is in Acumulación, Expansión (Mark-up), Euforia especulativa, or Distribución.
- Total Transparency for Hackathon Judges: A real-time telemetry console showing exact API credits consumed, server round-trip latency in milliseconds, HTTP response codes, and sanitized payload previews for every CMC endpoint called.
CryptoScope deeply leverages 6 distinct CoinMarketCap Pro endpoints, demonstrating high technical versatility:
| Endpoint | HTTP Method | Tier | Role in CryptoScope |
|---|---|---|---|
/v1/cryptocurrency/listings/latest |
GET |
Pro / Basic | Powers the primary Opportunity Screener with real-time volume, rankings, and market cap. |
/v1/cryptocurrency/quotes/latest |
GET |
Pro / Basic | Live pricing engine for user portfolio positions and real-time alert trigger checks. |
/v1/global-metrics/quotes/latest |
GET |
Pro / Basic | Feeds the Global Market Pulse: Total Market Cap, 24h Volume, BTC/ETH Dominance. |
/v3/fear-and-greed/latest |
GET |
Public / Pro | Powers the macro sentiment gauge displayed on the screener header. |
/v1/altcoin-season-index/latest |
GET |
Public / Pro | Computes the 90-day Altcoin cycle index to diagnose capital rotation from Bitcoin. |
/v1/dex/tokens/transactions |
GET |
DEX Tier | DEX Whale Tape: Retrieves on-chain swaps on Ethereum to compute whale volume concentration. |
flowchart TD
subgraph Frontend ["Frontend Client (Inertia.js + React 18)"]
UI["Shadcn UI Dark Matte Design System"]
Audio["Web Audio API (Crystal Chime)"]
Notify["Web Notifications API (Desktop Push)"]
Inspector["Live CMC API Telemetry Drawer"]
end
subgraph Backend ["Backend Gateway (Laravel 12 / PHP 8.2+)"]
Auth["Sanctum / Session Authentication (UUID Isolation)"]
Client["CmcClient Service (Guzzle HTTP Client)"]
Cache["Stale-While-Revalidate Intelligent Caching"]
Whale["WhaleAnalyzer (DEX Volume Concentration Engine)"]
Risk["RiskEngine (HHI Diversification & Stress Model)"]
end
subgraph Database ["Persistence Layer"]
DB[(SQLite / MySQL: Users, Holdings, Targets, Alerts)]
end
subgraph CMC ["CoinMarketCap Pro API"]
CMC_Spot["Cryptocurrency Listings & Quotes"]
CMC_Global["Global Metrics & Dominance"]
CMC_Sentiment["Fear & Greed / Altcoin Season"]
CMC_DEX["DEX Token Transactions (Ethereum / Uniswap)"]
end
UI <--> Auth
Auth <--> DB
UI --> Whale
UI --> Risk
Risk <--> DB
Whale --> Client
Risk --> Client
Client <--> Cache
Client <--> CMC_Spot
Client <--> CMC_Global
Client <--> CMC_Sentiment
Client <--> CMC_DEX
Client -.->|Latency & Credit Logs| Inspector
Risk -.-> Audio & Notify
- Bridging CEX and DEX in a Single Dashboard: Traditional tools require separate APIs for centralized exchange data and decentralized pools. CMC's unified data ontology allowed us to seamlessly transition from macro market caps to granular Ethereum Uniswap transaction tapes without data schema mismatch.
- Accurate Historical Sparklines & Media Assets: Instant access to verified 64x64 vector coin icons and 7-day sparkline SVGs via CMC's high-performance CDN.
- Zero-Trust Client Security & CORS: Direct browser calls to
pro-api.coinmarketcap.comfail due to browser CORS policies and leak private API keys.
Solution: We engineered a server-side proxy architecture via Laravel'sCmcClientservice with strict input sanitization. - API Credit Preservation (Hackathon Quotas): High-frequency trading UI refreshes can burn credits quickly.
Solution: We designed a multi-tier cache (60sfor listings,30sfor quotes,120sfor global metrics) with an automatic stale-while-revalidate fallback mechanism. - DEX Payload Normalization: DEX swap transaction feeds use abbreviated keys (
tp,ma,v,tx,ts).
Solution: We developedWhaleAnalyzer.phpto parse and normalize DEX transaction tapes into human-readable Maker wallets, Etherscan explorer links, and buy/sell pressure ratios.
- PHP >= 8.2
- Composer 2.x
- Node.js >= 18.x & NPM
- A CoinMarketCap Pro API Key (Get your free API key here)
-
Clone the repository:
git clone https://github.com/brad-basilio/cryptoscope.git cd cryptoscope/cryptoscope-laravel -
Install backend & frontend dependencies:
composer install npm install
-
Configure Environment Variables:
cp .env.example .env php artisan key:generate
-
Add your CoinMarketCap API Key in
.env:CMC_API_KEY=your_coinmarketcap_pro_api_key_here
-
Run Migrations & Seeders:
php artisan migrate --seed
This initializes the SQLite database and seeds the default Super Admin credential:
- Email:
admin@cryptoscope.mousydev.website - Password:
Admin2026!CryptoScope
- Email:
-
Build assets & Start server:
# Terminal 1: Build & Watch Frontend npm run dev # Terminal 2: Start Laravel Server php artisan serve
-
Open your browser and navigate to:
http://127.0.0.1:8000Producción Oficial: https://cryptoscope.mousydev.website
To verify that live API data is flowing from CoinMarketCap:
- Open CryptoScope in your browser.
- Click on the "API Inspector" button located in the top navigation bar or floating footer.
- The drawer will show live call logs, execution times (e.g.
~180ms), HTTP 200 OK status codes, and exact endpoint URIs consumed.
- UUID Isolation: All portfolio holdings, take-profit rules, and price alerts are indexed with
UUIDv4 identifiers and strictly scoped by authenticateduser_id. - Credential Protection: API keys reside exclusively in backend environment variables and are never transmitted to client browsers.
- Zero Third-Party Trackers: No third-party analytical cookies or external data harvesters.
- Event: Build with CMC: API Hackathon (Sept 9 – Sept 30, 2026)
- Primary Track: Markets and Trading Tools
- Secondary Track: Data and Visualisation
- License: MIT