Zclassic Explorer API

REST API documentation for the Zclassic blockchain explorer

API Overview

The Zclassic Explorer API provides programmatic access to blockchain data including blocks, transactions, addresses, and network statistics.

All responses are in JSON format. The base URL for all endpoints is https://explorer.zcl.etnoteam.io/api

OpenAPI Specification

Access the full OpenAPI 3.0 specification for integration with tools like Swagger, Postman, and more.

Download Spec (JSON)

Available Endpoints

Quick access to API endpoints for blockchain data retrieval.

View Endpoints

Endpoints

GET /api/health

GET

Check if the API is operational and responsive.

curl https://explorer.zcl.etnoteam.io/api/health

GET /api/blockchain/info

GET

Get current blockchain statistics and information.

curl https://explorer.zcl.etnoteam.io/api/blockchain/info

GET /api/stats

GET

Get detailed statistics including difficulty, block count, and supply.

curl https://explorer.zcl.etnoteam.io/api/stats

GET /api/blocks/latest

GET

Get the most recent blocks on the blockchain.

curl https://explorer.zcl.etnoteam.io/api/blocks/latest

GET /api/transactions/latest

GET

Get the most recent transactions on the blockchain.

curl https://explorer.zcl.etnoteam.io/api/transactions/latest

GET /api/address/:address

GET

Get detailed information about a specific address.

curl https://explorer.zcl.etnoteam.io/api/address/t1ExampleAddress...

Response Format

All API responses follow a standard JSON format:

{
  "status": "success",
  "data": {
    // Response data here
  }
}

// Error response:
{
  "status": "error",
  "message": "Error description"
}

Integration

JavaScript/Node.js

const response = await fetch('/api/stats');
const data = await response.json();
console.log(data.data);

Python

import requests
response = requests.get('/api/stats')
data = response.json()
print(data['data'])