Flux Flux API

**Flux Network Operations** Core network endpoints for interacting with the broader Flux decentralized network. These APIs provide access to network statistics, node information, consensus data, and network-wide operations that facilitate the decentralized cloud infrastructure. **Network Services:** - Node discovery and registry - Network consensus information - Global network statistics - Peer-to-peer communication - Distributed coordination

GitHub OpenAPI

Operations 93

GET /flux/startdaemon Starts Flux daemon #
GET /flux/restartdaemon Restarts Flux daemon #
GET /flux/entermaster Switch to master branch of FluxOS #
GET /flux/enterdevelopment Switch to development branch of FluxOS #
GET /flux/reindexdaemon Reindexes Flux daemon #
GET /flux/updateflux Updates Flux to the latest version #
GET /flux/hardupdateflux Perform hard update to the latest version #
GET /flux/updatedaemon Updates Flux daemon #
GET /flux/updatebenchmark Updates Benchmark daemon #
GET /flux/daemondebug Returns with the Flux debug log #
GET /flux/benchmarkdebug Returns with the Benchmark debug log #
GET /flux/taildaemondebug Returns last lines of Flux debug log #
GET /flux/tailbenchmarkdebug Returns last lines of Benchmark debug log #
GET /flux/errorlog Returns with the Flux error log #
GET /flux/tailerrorlog Returns last lines of Flux error log #
GET /flux/nodetier Node Tier #
GET /flux/info Combined info #
GET /flux/timezone Flux timezone #
GET /flux/version Gets version of Flux #
GET /flux/ip Flux IP #
GET /flux/staticip Flux static IP status #
GET /flux/geolocation Geolocation info #
GET /flux/id Admin's FluxID #
GET /flux/pgp PGP identity #
GET /flux/kadena Kadena Info #
GET /flux/dosstate DOS state #
POST /flux/dosstate Set the DOS state (test builds only) #
GET /flux/health Node fitness #
GET /flux/connectedpeers Gets IP's of connected peers #
GET /flux/connectedpeersinfo Gets info of connected peers #
GET /flux/incomingconnections List of incoming connections #
GET /flux/incomingconnectionsinfo Gets info of incoming connections #
GET /flux/checkfluxavailability Check availability of Flux #
GET /flux/checkcommunication Check incoming/outgoing peers #
GET /flux/uptime FluxOS uptime #
POST /flux/broadcastmessage Broadcast message to peers #
GET /flux/broadcastmessage Broadcast message to peers #
POST /flux/broadcastmessagetooutgoing Broadcast message to outgoing peers #
GET /flux/broadcastmessagetooutgoing Broadcast message to outgoing peers #
POST /flux/broadcastmessagetoincoming Broadcast message to incoming peers #
GET /flux/broadcastmessagetoincoming Broadcast message to incoming peers #
GET /flux/addpeer Add peer option #
GET /flux/removepeer Remove peer option #
GET /flux/removeincomingpeer Remove incoming peer #
GET /flux/allowport Open port on server #
GET /flux/adjustkadena Adjust Kadena Account #
GET /flux/startbenchmark Start Benchmark #
GET /flux/restartbenchmark Restart Benchmark #
GET /flux/softupdateflux Soft Update Flux #
GET /flux/softupdatefluxinstall Install Flux #
GET /flux/warnlog Warning Log #
GET /flux/debuglog Debug Log #
GET /flux/infolog Info Log #
GET /flux/tailwarnlog Tail Warn Log #
GET /flux/taildebuglog Tail Debug Log #
GET /flux/tailinfolog Tail Info Log #
GET /flux/backendfolder Local Folder Location #
GET /flux/mapport Map a specified port (UPnP) #
GET /flux/unmapport Unmap a specified port (UPnP) #
GET /flux/getmap Show list with mappings (UPnP) #
GET /flux/getip Show public IP address (UPnP) #
GET /flux/getgateway Show gateway address (UPnP) #
GET /flux/routerip To show the current user's Router IP setup #
GET /flux/adjustrouterip Update the current routerIP #
GET /flux/apiport Show the current user's Api Port setup in configuration file that is being used… #
GET /flux/adjustapiport Update Api Port setup in configuration file that is being used by FluxOS #
GET /flux/marketplaceurl Show marketplace URL #
GET /flux/restart Restart FluxOS #
GET /flux/systemuptime Show system uptime #
GET /flux/nodejsversions Show nodejs entire versions object #
GET /flux/fluxids Get all Flux IDs #
GET /flux/isarcaneos Check if running on ArcaneOS #
GET /flux/streamchainpreparation Stream chain preparation #
POST /flux/streamchain Stream blockchain data #
POST /flux/checkappavailability Check application port availability #
POST /flux/keepupnpportsopen Keep UPnP port mappings alive #
GET /flux/peers Connected peers #
GET /flux/peers/{filter} Connected peers, filtered #
GET /flux/unstablenodes Nodes flagged as unstable #
GET /flux/peerhistory Peer connection history #
GET /flux/topology Peer-exchange topology #
GET /flux/networkhealth Network health and diagnosis history #
GET /flux/clockdrift Clock drift of this node #
GET /flux/enterpriseappowners Enterprise application owners #
POST /flux/portsinuse Ports in use on this node #
GET /flux/addoutgoingpeer Ask this node to connect back to you #
GET /flux/startdiscovery Start peer discovery #
GET /flux/currentbranch Git branch FluxOS is running #
GET /flux/currentcommitid Git commit FluxOS is running #
GET /flux/rebuildui Reinstall the FluxOS UI #
GET /flux/eventstream Server-sent event stream #
GET /flux/testcounters Internal event counters (test builds only) #
GET /flux/zelid FluxID of the node operator (deprecated) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/runonflux-com:runonflux-com-flux-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

runonflux-com-flux-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 8.20.0
  title: Decentralized Cloud Flux API
  termsOfService: https://cdn.runonflux.io/Flux_Terms_of_Service.pdf
  contact:
    name: InFlux Technologies USA LLC — Flux Development Team
    email: development@runonflux.com
    url: https://docs.runonflux.com
  license:
    name: GNU AGPLv3
    url: https://www.gnu.org/licenses/agpl-3.0.en.html
  description: '# Flux API Documentation


    Welcome to the comprehensive API reference for **Flux**, the world''s leading decentralized Web3 cloud computing platform. This documentation covers all available API endpoints for interacting with the Flux network, nodes, and decentralized applications. ## About Flux


    **Flux** is a decentralized Web3 cloud infrastructure powered by globally distributed, user-operated nodes. Built for scalability and censorship resistance, Flux eliminates single points of failure while providing enterprise-grade computing resources for deploying and managing applications. ### Key Features


    - **🌐 Decentralized Infrastructure**: ~6,400 confirmed FluxNodes worldwide providing 52,000+ CPU cores, 170TB+ RAM and 3PB+ SSD storage across three tiers (Cumulus, Nimbus, Stratus)

    - **⚡ High Performance**: Enterprise-grade computing with automatic placement, fault-domain spreading and high availability

    - **🔐 Secure by Design**: Multiple authentication methods, enterprise app encryption and runtime tampering detection

    - **💰 Cost Effective**: Competitive pricing compared to traditional cloud providers

    - **🚀 Developer Friendly**: Docker-based deployments with comprehensive API support

    - **🛡️ ArcaneOS**: Hardened, attested node operating system with hardware-backed key custody


    *Network figures are a live snapshot; query `GET /daemon/getfluxnodecount` or

    stats.runonflux.io for current totals.*


    ## API Architecture


    The Flux API uses a **seven-level permission model** to ensure secure and controlled access. Every endpoint in this document ends its description with the level it requires:


    | Permission Level | Description | Authentication Required |

    |------------------|-------------|-------------------------|

    | **Public** | Open access endpoints | ❌ No |

    | **User** (`user`) | Any FluxID with a valid signature and a live session | ✅ Yes |

    | **FluxTeam** (`fluxteam`) | Flux Team and Flux Support identities | ✅ Yes |

    | **Admin** (`admin`) | The operator of *this* node (`initial.zelid` in its config) | ✅ Yes |

    | **AdminAndFluxTeam** (`adminandfluxteam`) | Node operator **or** Flux Team | ✅ Yes |

    | **AppOwner** (`appowner`) | The FluxID that registered the application | ✅ Yes |

    | **AppOwnerAbove** (`appownerorfluxteam`) | Application owner **or** Flux Team | ✅ Yes |


    Every privilege is a set of identities and asks whether the caller is one of

    them — the compounds read **OR**, never AND. `admin` is a hardware role: the

    node operator administers the machine and is *not* a party to a customer''s

    application, so app verbs (`appstart`, `appremove`, `appkill`, `redeploy`, …)

    require **AppOwnerAbove** rather than Admin.'
servers:
- url: https://api.runonflux.io
  description: Production API Gateway - global load-balanced endpoint. Requests are served by whichever confirmed FluxNode the gateway routes to, so node-scoped endpoints (anything that reports or changes the state of one machine) should be called against a specific node instead.
- url: https://{nodeip}:16127
  description: Direct Flux Node Connection - Connect directly to specific node
  variables:
    nodeip:
      description: Flux node IP address or hostname
      default: localhost
- url: http://localhost:16127
  description: Local Development Node - For local testing
- url: https://explorer.runonflux.io
  description: Explorer API - Blockchain data and statistics
- url: https://stats.runonflux.io
  description: Network Statistics API - Real-time network metrics
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://artifacts.apis.io/runonflux-com/openapi/runonflux-com-flux-api-openapi.yml