QFC Explorer API

Complete REST API reference for the QFC blockchain explorer. 61 endpoints across 16 categories.

Base URL

https://explorer-api.testnet.qfc.network

Format

JSON

Chain

QFC Testnet (9000)

Response Format

All endpoints return a consistent JSON envelope. Check the ok field to determine success or failure.

Success

{
  "ok": true,
  "data": { ... }
}

Error

{
  "ok": false,
  "error": "Human-readable message"
}

Authentication

Most public endpoints (blocks, transactions, tokens, search, etc.) are accessible without authentication. User-specific endpoints (watchlist, API keys, profile) require a JWT access token.

JWT Access Tokens

Obtained via /auth/login or /auth/register. Pass as a Bearer token in the Authorization header:

Authorization: Bearer eyJhbGciOiJIUzI1NiIs...

API Keys

For programmatic access with higher rate limits. Create via /api-keys (requires JWT auth). Pass the key as a query parameter or header:

# Query parameter
curl "https://explorer-api.testnet.qfc.network/blocks?apikey=qfc_ab12cd34..."

# Header
curl "https://explorer-api.testnet.qfc.network/blocks" -H "X-Api-Key: qfc_ab12cd34..."

Refresh Tokens

Stored as an HTTP-only cookie (qfc_refresh). Refreshed automatically via /auth/refresh with token rotation for security.

Rate Limiting

Requests are rate-limited per IP (anonymous) or per API key (authenticated). Exceeding limits returns 429 Too Many Requests.

TierRate LimitDaily LimitNotes
Anonymous100 req/min/IP--No API key required
Free5 req/sec10,000Default tier for new API keys
Standard20 req/sec100,000Available on request
Pro50 req/secUnlimitedAvailable on request

Auth endpoints (/auth/*) have a stricter limit of 10 requests per minute per IP.


Blocks

Transactions

Addresses

Contracts

Tokens

Analytics

Network

Stats

Gas Oracle

Leaderboard

Batch

Authentication

Watchlist

API Keys

Health