ApexaMiner API
Connect your systems to ApexaMiner: read orders, invoices and machine performance, or, as a partner, send offers, telemetry and metered usage.
Getting a key
Customers create keys in their account (API access). Approved suppliers and hosting partners create them in the partner portal. A key is shown once; we keep only a fingerprint. Revoke it any time.
Basics
Base URL: https://ooqwgytvaqisqktkbadv.supabase.co/functions/v1/apexaminer-global/v1
Send Authorization: Bearer amk_…. JSON in and out. 120 requests a minute per key. Amounts are in US dollars; hashrate in TH/s; times in UTC (ISO 8601).
All keys
GET /v1/machines
The published machine catalogue with manufacturer nameplate specifications (slug, model, hashrate, power, efficiency, source).
Customer keys
GET /v1/orders customer
Your orders with status, machines, hosting facility and hosting start date.
curl -H "Authorization: Bearer $APEXAMINER_KEY" https://ooqwgytvaqisqktkbadv.supabase.co/functions/v1/apexaminer-global/v1/orders
GET /v1/invoices customer
Issued invoices with totals, amounts paid and balances.
GET /v1/telemetry?order=AMO-…&days=30 customer
Daily average hashrate, worker counts and uptime for one order, with its nameplate hashrate.
Hosting partner keys
GET /v1/facilities hosting partner
Your facilities as recorded by ApexaMiner.
GET /v1/orders hosting partner
ApexaMiner orders hosted, or being deployed, at your facilities.
POST /v1/telemetry hosting partner
Report performance readings (one object or an array of up to 500). Fields: order_ref, observed_at, and any of hashrate_th, workers_ok, workers_off, workers_total, uptime_pct, kwh, temp_c, note.
curl -X POST -H "Authorization: Bearer $APEXAMINER_KEY" -H "content-type: application/json" \
-d '{"order_ref":"AMO-0001","observed_at":"2026-11-25T10:00:00Z","hashrate_th":26800,"workers_ok":99,"workers_off":1,"workers_total":100}' \
https://ooqwgytvaqisqktkbadv.supabase.co/functions/v1/apexaminer-global/v1/telemetryPOST /v1/usage hosting partner
Report a month's metered energy for an order: order_ref, month (YYYY-MM), kwh, and optionally machines_online and uptime_pct. If that month's hosting invoice is still a draft, it is updated; ApexaMiner checks the figure before issuing.
Supplier keys
POST /v1/offers supplier
Submit a machine offer for review: machine (a slug from /v1/machines), condition (new, refurbished, used), unit_cost_usd, qty_available, and optionally delivery_days, warranty, valid_until, incoterms, ship_from, min_order, notes.
GET /v1/submissions supplier or hosting partner
Your submissions and their review status.
Errors
Errors return a JSON body {"error": "…"} with status 400 (invalid input), 401 (missing or revoked key), 404 (not found or not allowed for this key) or 429 (rate limit).
Questions? info@apexaminer.com