Skip to main content
The Parallel Fetch Web Request command (Command Type: 26) sends multiple web requests in parallel using the browser’s fetch API. Parameters are split by a delimiter and each variant is fetched concurrently.

Command Type

Command Type ID: 26

Parameters

ParameterTypeDescriptionRequired
urlstringThe URL of the web request (may contain httpParams placeholder)Yes
httpParamsstringParameters split by delimiter and injected into URL/body/headers in parallelYes
timeoutnumberTimeout in millisecondsYes
bodyobject or stringRequest body for POST/PUTNo
delimiterstringDelimiter for splitting httpParams (default: ";")No
excludeFailedbooleanExclude failed requests from results (default: false)No
headersobject or ArrayHeadersNo
isJsonbooleanParse responses as JSON (default: true)No
methodstringHTTP method. Defaults to "GET"No

Usage Examples

Parallel Fetch for Multiple IDs

{
  "command": "parallel-fetch-web-request",
  "params": {
    "url": "https://api.example.com/item/#{httpParams}",
    "httpParams": "101;102;103;104",
    "timeout": 30000
  }
}

Parallel POST Requests

{
  "command": "parallel-fetch-web-request",
  "params": {
    "url": "https://api.example.com/query",
    "httpParams": "sport1;sport2;sport3",
    "timeout": 20000,
    "method": "POST",
    "body": { "category": "#{httpParams}" }
  }
}