Fluxme.io
Advanced Operations

FluxOS API Reference

Essential API endpoints for monitoring, automation, and building tools on top of the Flux network.

15 min readVerified November 10, 2026
apifluxosendpointsmonitoring

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.js on 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 zelidauth header.
  • •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.

PrivilegeWire valueWho it isExample endpoints
(none)—Anyone, with no zelidauth header/flux/info, /apps/listrunningapps, /daemon/getblockcount
USERuserAny FluxID with a valid signature and a live session/benchmark/getstatus, /id/loggedsessions
NODE_OPERATORadminThe operator of this node, from config initial.zelid/flux/restart, /daemon/wallet endpoints
FLUX_TEAMfluxteamThe Flux team and Flux support/flux/updateflux, /flux/daemondebug
NODE_OPERATOR_OR_FLUX_TEAMadminandfluxteamEither of the two aboveNode administration shared with support
APP_OWNERappownerThe FluxID that registered the application/apps/appstart, /apps/applog, /apps/appexec
APP_OWNER_OR_FLUX_TEAMappownerorfluxteamThe app owner or the Flux teamApp 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 .data

Blockchain & 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 .data

Application 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 .data

A 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.

EndpointShape of dataCache
/daemon/getblockcountinteger — 3,114,06830 s
/daemon/getfluxnodecountobject — total, stable, ipv4, ipv6, onion, and the per-tier enabled counts30 s
/daemon/getfluxnodestatusobject — status, tier, collateral, payment_address, last_paid_height, activesince and more30 s
/daemon/getnetworkinfoobject — version, subversion, protocolversion, connections, networks, relayfee30 s
/daemon/getbenchmarksstring — a JSON document, not an object: parse it twice30 s
/flux/infoobject — apps, benchmark, daemon, flux, geolocation, node, appsHashesTotal, hashesPresent60 s
/flux/versionstring — "8.23.1" on the node that answered30 s
/flux/nodetierstring — "stratus_new"; note the suffix, the value is not a bare tier name30 s
/flux/connectedpeersarray of IP strings — 16 on the node that answered30 s
/flux/geolocationobject — country, countryCode, continent, lat, lon, isp, asn, org, hosting, proxy, dataCenter30 s
/flux/systemuptimeinteger — seconds30 s
/flux/isarcaneosboolean30 s
/flux/daemondebugERROR without auth — answers status: "error" with {code, message, name}. FLUX_TEAM only.not cached
/benchmark/getstatusobject — status, benchmarking, flux, systemsecure30 s
/apps/listrunningappsarray of objects — Names, State, Status15 s
/apps/fluxusageobject — nodeSpecs, runningApps, stoppedApps, totalApps30 s
/apps/appspecifications/{name}object — name, owner, version, compose, enterprise, instances, nodes, expire, height, hash, geolocation, staticip, contacts, description30 s
/apps/location/{name}array of objects — ip, name, hash, broadcastedAt, expireAt, osUptime, runningSince, staticIp30 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.

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.