API

Qogecoin · P2QPK activation pool

base /api

Pool data

  • GET /api/stats Global pool statistics. JSON
  • GET /api/pool_stats Historical pool statistics over time. JSON
  • GET /api/blocks Blocks found, with pending, confirmed and orphaned state. JSON
  • GET /api/payments Payment history, one entry per payout round. JSON

Miner data

  • GET /api/worker_stats?<address> Historical stats for one payout address. The query string is the address itself, not a named parameter. JSON

Example: /api/worker_stats?QhT9xk2LmPq4vR8sN3wY6dF1jK5bC7aZgE

Realtime

  • GET /api/live_stats Live statistics pushed as they change. This is a Server-Sent Events stream, not a single JSON response — consume it with EventSource, not a plain fetch. SSE
  • GET /api/prices Latest coin prices with source and timestamp. JSON

Operations

  • GET /api/metrics Prometheus exposition format for scraping. TEXT
  • GET /api/health Health and readiness probe. Returns 200 when healthy, 503 when degraded. JSON

All endpoints are read-only and unauthenticated. Responses are application/json unless marked otherwise.