Workflow automation · API / SDK

Node-RED APIs

OpenJS Foundation

Administer automation runtimes and extend behavior through documented APIs.

Official documentationDownload development spec

NODE-RED / DEVELOPER FIELD GUIDE

Choose an interface. Define a verifiable result.

Company or project context, ten technical entry points and a practical analysis of every reference.

2026-10-08 · Integration not tested

Company / project overview

Original summary of official company or project statements; use the source for the full original page.

Node-RED · About
ProjectNode-RED is a flow-based programming tool originally developed at IBM and now part of the OpenJS Foundation.
ArchitectureIts browser editor wires nodes into event-driven applications running on Node.js.
ReuseFlows use JSON for sharing; community nodes extend functionality but require their own review.
Complete official About page ↗
About reference — TA analysis
AudienceBuyers, partners and product owners shortlisting an AI provider.
Our assessmentUse positioning and company history for initial fit. Obtain project-specific deployment, support and commercial terms separately.

Official sources reviewed; no live API, inference or benchmark was run. Expected results are proposed internal contracts.

Top 10 technical entry points

Ten documented technical entry points selected by developer task; not ten separate SDKs or an official ranking.

Choose by the work you need to complete
InterfacePurpose and audience
01 · Admin HTTP APIAPI / SDK / developer guideRead or administer runtime configuration remotely.Runtime administrators
02 · Hooks APIAPI / SDK / developer guideInsert code at documented runtime hooks.Runtime extension developers
03 · Storage APIAPI / SDK / developer guideReplace the runtime storage implementation.Persistence implementers
04 · LoggingAPI / SDK / developer guideConfigure runtime logs and custom destinations.Operations teams
05 · Context Store APIAPI / SDK / developer guideProvide custom storage for node, flow and global context.Stateful flow developers
06 · Library Store APIAPI / SDK / developer guideAdd import/export library backends.Shared library maintainers
07 · Editor APIsAPI / SDK / developer guideUse supported editor widgets and extension APIs.Custom node UI developers
08 · Module APIsAPI / SDK / developer guideEmbed Node-RED modules in a Node.js application.Embedded application teams
09 · Writing FunctionsAPI / SDK / developer guideTransform and route message objects with JavaScript.Flow logic developers
10 · Creating NodesAPI / SDK / developer guidePackage reusable runtime and editor functionality.Node package authors

Reference analysis

Capabilities summarize official documentation. Constraints and proposed tests are our engineering assessment.

01

API / SDK / developer guide

Admin HTTP API

Admin HTTP API · TA
Target audienceRuntime administrators
Documented capabilityRead or administer runtime configuration remotely.
Input → outputAuthorized administration request → configuration response.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintAdmin endpoints control the runtime, not ordinary flow business outputs.
Our suggested validationVerify authentication and deployed revision before mutations.
Official reference · Admin HTTP API ↗
02

API / SDK / developer guide

Hooks API

Hooks API · TA
Target audienceRuntime extension developers
Documented capabilityInsert code at documented runtime hooks.
Input → outputRuntime event → extension behavior.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintHooks can affect message handling and must not silently drop work.
Our suggested validationTest success and exception paths with correlated messages.
Official reference · Hooks API ↗
03

API / SDK / developer guide

Storage API

Storage API · TA
Target audiencePersistence implementers
Documented capabilityReplace the runtime storage implementation.
Input → outputRuntime state → persisted and recovered data.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintBackend failure must not be reported as a successful durable save.
Our suggested validationRestart and verify flows and required stored settings recover.
Official reference · Storage API ↗
04

API / SDK / developer guide

Logging

Logging · TA
Target audienceOperations teams
Documented capabilityConfigure runtime logs and custom destinations.
Input → outputRuntime events → log entries.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintDebug payloads may contain sensitive data and need explicit policy.
Our suggested validationVerify error visibility and redact credentials before collection.
Official reference · Logging ↗
05

API / SDK / developer guide

Context Store API

Context Store API · TA
Target audienceStateful flow developers
Documented capabilityProvide custom storage for node, flow and global context.
Input → outputContext get/set → scoped values.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintStore implementations can differ in synchronous and asynchronous access.
Our suggested validationCheck missing keys, write errors and restart persistence.
Official reference · Context Store API ↗
06

API / SDK / developer guide

Library Store API

Library Store API · TA
Target audienceShared library maintainers
Documented capabilityAdd import/export library backends.
Input → outputLibrary lookup/save → reusable flow content.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintStored flow credentials and environment dependencies require separate handling.
Our suggested validationRound-trip a fixture and check no secret enters shared exports.
Official reference · Library Store API ↗
07

API / SDK / developer guide

Editor APIs

Editor APIs · TA
Target audienceCustom node UI developers
Documented capabilityUse supported editor widgets and extension APIs.
Input → outputEditor input → node configuration.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintEditor validation cannot replace runtime input validation.
Our suggested validationCheck configuration save/reopen and invalid-input feedback.
Official reference · Editor APIs ↗
08

API / SDK / developer guide

Module APIs

Module APIs · TA
Target audienceEmbedded application teams
Documented capabilityEmbed Node-RED modules in a Node.js application.
Input → outputHost application configuration → embedded runtime.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintHost lifecycle and runtime startup/shutdown must be coordinated.
Our suggested validationExercise startup failure and clean shutdown without duplicate listeners.
Official reference · Module APIs ↗
09

API / SDK / developer guide

Writing Functions

Writing Functions · TA
Target audienceFlow logic developers
Documented capabilityTransform and route message objects with JavaScript.
Input → outputmsg object → zero, one or more downstream messages.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintReturning null intentionally stops propagation; new objects can lose req/res fields.
Our suggested validationPreserve correlation and required properties; complete asynchronous work explicitly.
Official reference · Writing Functions ↗
10

API / SDK / developer guide

Creating Nodes

Creating Nodes · TA
Target audienceNode package authors
Documented capabilityPackage reusable runtime and editor functionality.
Input → outputNode definition and messages → reusable processing node.
Execution environmentPinned Node-RED and supported Node.js runtime
Our decision constraintThird-party dependencies need version and runtime compatibility review.
Our suggested validationTest deployment, message handling and close cleanup.
Official reference · Creating Nodes ↗

API reference

API reference · Supporting reference analysis
TAIntegration architects
Our validation adviceChoose administration, runtime extension or flow-level messaging interfaces explicitly.
Official reference · API reference ↗

04 / INPUT · EXPECTED OUTPUT · ACCEPTANCE

Expected results before implementation

Proposed flow message-processing receipt, not Node-RED Admin API output. No flow was deployed, message sent, or external system triggered.

Illustrative contract · no API call or model execution · not measured provider output

Message transformed

Expected behavior — illustrative, not executed
InputAuthorized sample with numeric temperature and correlation ID.
Expected resultok with one normalized downstream message.
AcceptancePreserve correlation and units; verify expected output exactly once.

Intentional filtering

Expected behavior — illustrative, not executed
InputMessage fails a declared filter and Function returns null.
Expected resultok/filtered with output_count: 0 in our receipt.
AcceptanceDifferentiate intended filtering from crash or disconnected nodes.

Asynchronous pending

Expected behavior — illustrative, not executed
InputNode starts an external asynchronous operation.
Expected resultpending until completion; no premature delivery confirmation.
AcceptanceCall completion paths once and use a bounded timeout policy.

Invalid message

Expected behavior — illustrative, not executed
InputPayload has wrong units or missing required value.
Expected resulterror routed to explicit handling; no downstream action.
AcceptanceCatch the error with correlation; do not leak credentials in debug logs.

Map the expected result to your application

Map the actual SDK or service response into this proposed internal contract after integration. All IDs and values below are invented examples; no credentials or live requests are included.

Expected output JSON — illustrative, not measured · NodeREDAPI-expected-results.json
{
  "schema_version": "1.0.0",
  "example": true,
  "provider": "Node-RED",
  "status": "ok",
  "input_id": "sample-001",
  "data": {
    "flow_id": "example-flow",
    "message_id": "example-message",
    "output_count": 1,
    "payload": {
      "temperature_c": 24
    },
    "side_effect_confirmed": false
  },
  "error": null,
  "verification": "illustrative-only;not-provider-response"
}
Download specification, example and acceptance plan
Engineering handoff — our proposed contract and gates
Result interpretationSuccessful transport or execution does not establish model accuracy. Preserve valid empty results separately from operational failure.
ReproducibilityRecord model, runtime, configuration and input identifiers; agree quality and latency criteria before representative tests. No measured performance is claimed.
Operation boundaryProposed flow message-processing receipt, not Node-RED Admin API output. No flow was deployed, message sent, or external system triggered.

Development assessment

Factory notification flow

Development concept · integration not tested

Provider capabilities above are based on official documentation or repositories. The proposed product, inputs, deliverable and acceptance criteria below are our development assessment.

Small prototype

Test one documented operation with a small real sample after access is confirmed. This is a development judgment, not a delivery estimate.

Proposed inputs
A sample event, authorized systems and one defined workflow transition.
Proposed deliverable
A visible job state and audit trail for a single workflow.
Acceptance criterion
A retried event must not create duplicate work; an unavailable upstream must remain visibly pending or failed.
Dependencies
Runtime access, workflow permissions and a reviewed notification or write destination.

Development sequence

  1. Confirm access to Node-RED APIs, license and the exact supported version.
  2. Prepare the sample above and implement one documented operation for “Factory notification flow”.
  3. Normalize the result with source, time and explicit error state; keep the provider response for review.
  4. Run the acceptance criterion before estimating rollout effort or committing a customer deliverable.

How to validate demand

Record product views, documentation clicks, specification downloads and contextual hub clicks. These are event counts, not unique people or completed integrations.

This feasibility assessment uses implementation conditions. No traffic-based rank or delivery-time promise is assigned.

Related products