API Documentation

REST API for blockchain analytics

Base URL: https://api.mugenlink-network.me/api
OpenAPI Spec

Quick Start

# Get dashboard overview
curl https://api.mugenlink-network.me/api/dashboard/overview

# Search for a wallet
curl "https://api.mugenlink-network.me/api/network/search?query=YOUR_WALLET_ADDRESS"

# Get network stats for Bitcoin (last 7 days)
curl "https://api.mugenlink-network.me/api/dashboard/network-stats?coin_type=BITCOIN&days=7"

Endpoints

Dashboard

GET /api/dashboard/overview

Get complete dashboard metrics including latest blocks, transaction counts, top wallets, and 7-day trends.

Query params: refresh (boolean) - Force refresh from database
GET /api/dashboard/sample-addresses

Get one sample wallet address per coin. Changes daily based on date-based hash.

GET /api/dashboard/network-stats

Get network statistics for a specific coin over a date range.

Query params: coin_type (string) - BITCOIN, LITECOIN, etc. | days (int) - Days to look back
POST /api/dashboard/refresh

Force refresh dashboard cache and fetch fresh data from Snowflake.

Network Explorer

GET /api/network/recent-blocks

Get recent blocks with transaction counts.

Query params: coin_type (string) | limit (int, default: 10)
GET /api/network/recent-transactions

Get recent transactions with fees and input/output counts.

Query params: coin_type (string) | limit (int, default: 10)
GET /api/network/search

Search for transactions by hash or wallets by address. Returns type-specific results.

Query params: query (string, required) - Transaction hash or wallet address

Supported Cryptocurrencies

BTC

Bitcoin

BITCOIN
LTC

Litecoin

LITECOIN
DOGE

Dogecoin

DOGECOIN
DASH

Dash

DASH
ZEC

Zcash

ZCASH
BCH

Bitcoin Cash

BITCOIN_CASH

Response Format

All responses are JSON. Dashboard endpoints include caching metadata:

{
  "latest_blocks": [...],
  "transaction_counts": [...],
  "top_wallets": [...],
  "trends": [...],
  "cached": true,
  "last_updated": "2025-12-07T05:49:55.164889"
}