FluxOS API Reference
Essential API endpoints for monitoring, automation, and building tools on top of the Flux network.
Every Flux node exposes a comprehensive REST API on port 16127 (HTTP) and 16128 (HTTPS). This API allows you to query node status, manage applications, access blockchain data, and perform administrative tasks. Understanding the API is essential for building monitoring tools, automation scripts, and integration with Fluxme.io.
API Architecture
- •Base URL: `http://NODE_IP:16127/` (direct node) or `https://api.runonflux.io/` (load-balanced gateway)
- •Response format: All responses return JSON with a `status` field ("success" or "error") and a `data` field
- •Caching: 123 of 354 routes are served through apicache. The ladder, counted in
ZelBack/src/routes.json 10 November 2026: 102 routes at 30 seconds, 4 at 60 seconds, 4 at one hour, 4 at one day, 3 at five seconds, and one each at 1 second, 10 seconds, 15 seconds, 2 minutes, 5 minutes and 30 minutes. The remaining 231 are uncached — among them every route that answers per-caller, because apicache keys an entry on the URL alone and would hand one caller another's answer. - •Authentication: Public endpoints require no auth. Protected endpoints use a signed-message challenge-response flow, carried in the
zelidauthheader. - •Surface: 354 routes in total — 298 GET, 55 POST, 1 DELETE.
Access Levels
FluxOS defines exactly six privileges, frozen in ZelBack/src/services/utils/privileges.js. The left column is the name call sites read; the middle is the wire value — the string /id/checkprivilege answers and front ends branch on, so it is the one to match in code.
| Privilege | Wire value | Who it is | Example endpoints |
|---|---|---|---|
| (none) | — | Anyone, with no zelidauth header | /flux/info, /apps/listrunningapps, /daemon/getblockcount |
| USER | user | Any FluxID with a valid signature and a live session | /benchmark/getstatus, /id/loggedsessions |
| NODE_OPERATOR | admin | The operator of this node, from config initial.zelid | /flux/restart, /daemon/wallet endpoints |
| FLUX_TEAM | fluxteam | The Flux team and Flux support | /flux/updateflux, /flux/daemondebug |
| NODE_OPERATOR_OR_FLUX_TEAM | adminandfluxteam | Either of the two above | Node administration shared with support |
| APP_OWNER | appowner | The FluxID that registered the application | /apps/appstart, /apps/applog, /apps/appexec |
| APP_OWNER_OR_FLUX_TEAM | appownerorfluxteam | The app owner or the Flux team | App administration shared with support |
One distinction the names hide. NODE_OPERATOR is not the collateral holder — it is whoever is named in the node's own initial.zelid. The source says so explicitly: that identity administers hardware, and nothing about a customer's application follows from it. Only APP_OWNER, the FluxID that registered the app, can act on the app. Two of the six privileges are app-scoped and are the only ones that read an app name.
Essential Endpoints for Monitoring
Common Node Monitoring Queries
# Node info (tier, version, connections, uptime)
curl -s http://NODE_IP:16127/flux/info | jq .data
# Node tier
curl -s http://NODE_IP:16127/flux/nodetier | jq .data
# FluxOS version
curl -s http://NODE_IP:16127/flux/version | jq .data
# Benchmark results
curl -s http://NODE_IP:16127/daemon/getbenchmarks | jq .data
# Running apps on this node
curl -s http://NODE_IP:16127/apps/listrunningapps | jq .data
# Resource usage
curl -s http://NODE_IP:16127/apps/fluxusage | jq .data
# System uptime
curl -s http://NODE_IP:16127/flux/systemuptime | jq .data
# ArcaneOS detection
curl -s http://NODE_IP:16127/flux/isarcaneos | jq .data
# Geolocation
curl -s http://NODE_IP:16127/flux/geolocation | jq .data
# Connected peers
curl -s http://NODE_IP:16127/flux/connectedpeers | jq .dataBlockchain & Network Endpoints
Blockchain & Network Queries
# Current block height
curl -s https://api.runonflux.io/daemon/getblockcount | jq .data
# Network info
curl -s https://api.runonflux.io/daemon/getnetworkinfo | jq .data
# FluxNode count
curl -s https://api.runonflux.io/daemon/getfluxnodecount | jq .data
# Node status
curl -s http://NODE_IP:16127/daemon/getfluxnodestatus | jq .data
# Address balance
curl -s https://api.runonflux.io/explorer/balance/YOUR_ADDRESS | jq .dataApplication Management
App Management Queries
# All global app specifications
curl -s https://api.runonflux.io/apps/globalappsspecifications | jq .data
# Specific app specification
curl -s https://api.runonflux.io/apps/appspecifications/APP_NAME | jq .data
# App locations (which nodes run it)
curl -s https://api.runonflux.io/apps/location/APP_NAME | jq .data
# Calculate app price — POST, and the body is a WHOLE app specification,
# not a resource summary. It answers {usd, flux, fluxDiscount}.
curl -s -X POST http://NODE_IP:16127/apps/calculatefiatandfluxprice \
-H "Content-Type: application/json" \
--data-binary @my-app-spec.json | jq .dataA correction worth making loudly, because the wrong form is widely copied. /apps/calculatefiatandfluxprice and /apps/calculateprice are POST routes whose body is a complete app specification — name, owner, version, the full compose array, instances, expire and the rest. A body of the form {"cpu": 0.5, "ram": 1000, "hdd": 10, "instances": 3} does not work: the handler runs the specification through specificationFormatter and throws on anything less. The response is {usd, flux, fluxDiscount}, and a free update answers all three as zero. Call it on your own node: on 10 November 2026 the public gateway accepted the POST but returned nothing within 25 seconds.
Stats API (Network-Wide)
The Stats API at stats.runonflux.io provides aggregated data for all nodes. It supports projection queries for efficient partial data retrieval:
Stats API Projections
# All node data (large response ~50MB+)
curl -s https://stats.runonflux.io/fluxinfo | jq .data | head
# Only locked resources per node
curl -s "https://stats.runonflux.io/fluxinfo?projection=apps.resources" | jq .data[0]
# Only benchmark data per node
curl -s "https://stats.runonflux.io/fluxinfo?projection=benchmark" | jq .data[0]
# Only running container images
curl -s "https://stats.runonflux.io/fluxinfo?projection=apps.runningapps.Image" | jq .data[0]The Stats API /fluxinfo endpoint returns data for every node on the network — 6,895 when we measured it on 10 November 2026. Projections are not a nicety. Measured on that date, the same call returns 23.3 MB unprojected, 4.4 MB with projection=benchmark, 572 kB with projection=apps.resources and 208 kB with projection=apps.runningapps.Image — a factor of 112 between the widest and the narrowest. Always project when you only need specific fields.
FluxTools Skills MCP
The community-maintained FluxTools Skills MCP (Model Context Protocol server) provides programmatic access to Flux ecosystem data. It can be used as a resource for querying node information, network statistics, and application data through a standardized MCP interface.
- •Node management: Query node status, benchmark results, uptime, and configuration via MCP tools
- •Network stats: Retrieve network-wide statistics, node counts, and resource utilization data
- •App queries: Fetch app specifications, locations, and deployment status programmatically
- •Integration: Connects to FluxOS API endpoints and aggregates data for AI assistants and automation tools
The FluxTools Skills MCP server is an excellent tool for developers building monitoring dashboards, automation scripts, or AI-powered Flux management tools. See the GitHub repository for installation and usage instructions.
What We Verified, and When
Every read-only endpoint named on this page was called against the public gateway on 10 November 2026, at block 3,114,068, and the response shape recorded. Deliberately not called: the privileged and mutating routes — /flux/restart, /flux/updateflux, /apps/appexec, /apps/appstart, the /daemon/wallet family and /id/loggedsessions. Every endpoint below answered HTTP 200 with status: "success" unless the row says otherwise.
| Endpoint | Shape of data | Cache |
|---|---|---|
| /daemon/getblockcount | integer — 3,114,068 | 30 s |
| /daemon/getfluxnodecount | object — total, stable, ipv4, ipv6, onion, and the per-tier enabled counts | 30 s |
| /daemon/getfluxnodestatus | object — status, tier, collateral, payment_address, last_paid_height, activesince and more | 30 s |
| /daemon/getnetworkinfo | object — version, subversion, protocolversion, connections, networks, relayfee | 30 s |
| /daemon/getbenchmarks | string — a JSON document, not an object: parse it twice | 30 s |
| /flux/info | object — apps, benchmark, daemon, flux, geolocation, node, appsHashesTotal, hashesPresent | 60 s |
| /flux/version | string — "8.23.1" on the node that answered | 30 s |
| /flux/nodetier | string — "stratus_new"; note the suffix, the value is not a bare tier name | 30 s |
| /flux/connectedpeers | array of IP strings — 16 on the node that answered | 30 s |
| /flux/geolocation | object — country, countryCode, continent, lat, lon, isp, asn, org, hosting, proxy, dataCenter | 30 s |
| /flux/systemuptime | integer — seconds | 30 s |
| /flux/isarcaneos | boolean | 30 s |
| /flux/daemondebug | ERROR without auth — answers status: "error" with {code, message, name}. FLUX_TEAM only. | not cached |
| /benchmark/getstatus | object — status, benchmarking, flux, systemsecure | 30 s |
| /apps/listrunningapps | array of objects — Names, State, Status | 15 s |
| /apps/fluxusage | object — nodeSpecs, runningApps, stoppedApps, totalApps | 30 s |
| /apps/appspecifications/{name} | object — name, owner, version, compose, enterprise, instances, nodes, expire, height, hash, geolocation, staticip, contacts, description | 30 s |
| /apps/location/{name} | array of objects — ip, name, hash, broadcastedAt, expireAt, osUptime, runningSince, staticIp | 30 s |
Two shapes catch people out. /daemon/getbenchmarks returns a string containing JSON, so jq .data gives you a quoted blob and you need jq -r .data | jq . to read it. And /flux/nodetier answers "stratus_new", not "stratus" — matching on the bare tier name silently classifies every node as unknown.
Sources & Further Reading
What to read next, and why
Read backing up and migrating a node for copy the file, never print the key.
Read running several nodes on one machine for the density that fits, and the one that does not.
Read deploying on FluxCloud for the FLUX rate card in force since block 1,597,156.
FluxEdge GPU computing is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
the FluxCore desktop app is kept as a record only: FluxEdge and FluxCore were shut down on 4 November 2026, so read it as history, not as instructions.
Other articles in Advanced Operations
ArcaneOS Installation Guide
Step-by-step guide to installing ArcaneOS — the hardened OS carrying the attestation the announced PNR design would require.
Legacy vs ArcaneOS
Feature comparison, migration path, and decision guide for choosing between Legacy and ArcaneOS.
Multitoolbox Reference
Complete reference for all 14 Multitoolbox options — installation, diagnostics, repair, and configuration.
Maintenance Window Deep Dive
Understanding the 480-block confirmation cycle, timing strategies, and monitoring your window status.
Troubleshooting & Diagnostics
Common node issues, log analysis, benchmark failures, DOS list recovery, and diagnostic techniques.
Backup, Restore & Migration
Back up your node identity, restore from scratch, and migrate between hosts without moving your collateral.
Multi-Node & Delegate Setup
Run multiple nodes with UPnP, Proxmox Fractus setups, and the P2SH delegate system.