Stellar Blockchain Analytics API
Turn raw Stellar blockchain activity into actionable analytics. Track transaction volume, account activity, asset movement, token velocity, whale movements, and payment flows through dashboards and APIs.
What You Can Analyze
LumenQuery transforms Stellar blockchain data into structured analytics across six key dimensions. Access everything through the free dashboard or programmatically via API.
Transaction Volume
Track transactions per second (TPS), daily volume trends, operation counts, and success rates across the network. Identify congestion patterns and protocol capacity utilization.
Account Activity
Monitor active accounts, new account creation rates, and account classification. Identify patterns like dormant account reactivation or unusual account behavior.
Asset Movement
Track payment flows by asset type, monitor stablecoin transfers (USDC, yUSDC), and analyze cross-asset path payments. Break down volume by native XLM vs. issued assets.
Whale Tracking
Detect large XLM transfers above 100,000 XLM. Surface source and destination accounts, aggregate whale activity over time, and identify accumulation or distribution patterns.
Token Velocity
Measure how frequently tokens change hands. High velocity indicates active trading or utility; low velocity suggests holding behavior. Calculated across all issued assets.
Payment Flows
Analyze payment corridors, identify top counterparty pairs, and track cross-border flow patterns. Understand how value moves across the Stellar network at a macro level.
Free Analytics Dashboard
The LumenQuery analytics dashboard is completely free and public. No account required. View network health, token metrics, and smart contract activity across multiple time ranges.
Network Overview
TPS, ledger close, fees
Network Detail
Ledger history, trends
Token Analytics
Velocity, whales, risk
Contract Analytics
Soroban gas, events
Time Range Options
| Range | Data Points | Bucket Size | Cache TTL |
|---|---|---|---|
| 24 hours | 25 | Hourly | 30 seconds |
| 7 days | 43 | 4-hour | 5 minutes |
| 30 days | 20 | Daily | 10 minutes |
Natural Language Blockchain Queries
Ask questions about the Stellar network in plain English. LumenQuery interprets your question, queries the blockchain, and returns structured results. No SQL, no API calls, no data parsing required.
Example Queries
Analytics API Endpoints
Access all analytics data programmatically. Results are cached for optimal performance with configurable time ranges.
/api/analytics/networkNetwork-level metrics including TPS, ledger sequence, success rate, fee statistics, and historical chart data. Supports 24h, 7d, and 30d time ranges.
?range=24h|7d|30d/api/analytics/tokensToken analytics including velocity calculations, whale movement tracking (transfers above 100K XLM), issuer risk assessment, and payment activity charts.
?range=24h|7d|30d/api/analytics/contractsSoroban smart contract analytics including invocation counts, gas usage statistics, event frequency, and contract activity trends.
?range=24h|7d|30dSee the full analytics documentation for response schemas, error codes, and advanced query parameters.
Export and Integrate
Analytics data is available as JSON via API for integration into your own dashboards, reports, and data pipelines. Use with any analytics or BI tool that supports REST APIs.
JSON API
All analytics endpoints return structured JSON. Integrate with any programming language, framework, or data pipeline.
Contract Export
Export Soroban contract call history, events, and storage snapshots in CSV or JSON format for offline analysis.
Webhook Alerts
Configure webhook notifications for whale movements, unusual transaction patterns, and threshold-based alerts.
Frequently Asked Questions
What analytics does LumenQuery provide for the Stellar network?
LumenQuery provides network-level analytics (TPS, ledger close times, success rates, fee statistics), token analytics (velocity, whale movements, issuer risk assessment), smart contract analytics (Soroban invocation counts, gas usage, event frequency), and account-level analytics (transaction patterns, balance history, counterparty analysis).
Is the Stellar analytics dashboard free?
Yes. The LumenQuery analytics dashboard at /analytics is completely free and does not require authentication. It displays network metrics, token statistics, and smart contract activity with 24h, 7d, and 30d time ranges. API access for programmatic queries is available on paid plans.
Can I query Stellar analytics data via API?
Yes. LumenQuery provides REST API endpoints for all analytics data: /api/analytics/network for network metrics, /api/analytics/tokens for token analytics, and /api/analytics/contracts for Soroban contract analytics. Data is cached with configurable TTLs for optimal performance.
How does whale tracking work on Stellar?
LumenQuery tracks XLM transfers above 100,000 XLM as whale movements. The analytics API identifies large transfers, surfaces the source and destination accounts, and aggregates whale activity over configurable time periods. This data is available through both the dashboard and API.
Can I use natural language to query the Stellar blockchain?
Yes. LumenQuery provides a natural language query interface at /query where you can ask questions about the Stellar network in plain English. The system interprets your question, queries the blockchain, and returns structured results without requiring SQL or API knowledge.
Related Resources
Unlock Stellar Blockchain Analytics
View the free analytics dashboard now, or create an account for API access. Track network health, whale movements, and smart contract activity in real time.