Web Fetch

Fetch data from an HTTP or HTTPS URL with GET, POST, PUT, or DELETE, and extract values with a JSONPath expression.

What it does

Web Fetch calls an HTTP or HTTPS URL and pulls the response into the graph. It sends GET, POST, PUT or DELETE requests, attaches a request body and custom headers, and extracts a single value from a JSON response with a JSONPath expression. Point it at a REST endpoint, a public API, or a local server.

Being a live input, it keeps polling on its own schedule rather than fetching once and stopping. Turn Enabled off to pause it without deleting the node.

When to use it

ParameterTypeDefault
urlString""
methodString"GET"
bodyString""
headersString""
json_pathString""
timeoutNumber10
poll_intervalNumber5
enabledBooleantrue

Gotchas

Poll Interval controls how often the URL is re-fetched. This is not a one-shot fetch: a short interval against a rate-limited API can get you throttled or blocked.

Worked example

  1. Add a Web Fetch node and paste your endpoint into URL.

  2. Leave Method on GET for a simple read. Set JSON Path to something like $.data.temperature to pull just that field out of a JSON response.

  3. Raise Poll Interval if you don't need second-by-second updates, which reduces load on the server being fetched from.

  4. Wire Number or Value into the rest of your graph, and check Success to gate downstream logic on whether the fetch actually worked.

See also

WebSocket Input · MQTT Subscribe · JSON Import · Numbers, signals & audio