API

Use any API

Configuration

URL*
Enter URL
Method*
Select...
Query Params
Query Params
Headers
Headers
Custom headers (standard headers like User-Agent, Accept, etc. are added automatically)
Body
json
Enter JSON...

Tools

http_request

Make HTTP requests with comprehensive support for methods, headers, query parameters, path parameters, and form data. Features configurable timeout and status validation for robust API interactions.

Input

ParameterTypeRequiredDescription
urlstringYesThe URL to send the request to
methodstringNoHTTP method (GET, POST, PUT, PATCH, DELETE)
headersobjectNoHTTP headers to include
bodyobjectNoRequest body (for POST, PUT, PATCH)
paramsobjectNoURL query parameters to append
pathParamsobjectNoURL path parameters to replace (e.g., :id in /users/:id)
formDataobjectNoForm data to send (will set appropriate Content-Type)
timeoutnumberNoRequest timeout in milliseconds
validateStatusobjectNoCustom status validation function

Output

ParameterTypeDescription
datajsonResponse data from the HTTP request (JSON object, text, or other format)
statusnumberHTTP status code of the response (e.g., 200, 404, 500)
headersobjectResponse headers as key-value pairs
headers.content-typestringContent type of the response
headers.content-lengthstringContent length

Input

ParameterTypeRequiredDescription
urlstringYesRequest URL
methodstringYesHTTP method
headersjsonNoRequest headers
bodyjsonNoRequest body data
paramsjsonNoURL query parameters

Output

ParameterTypeDescription
datajsonAPI response data (JSON, text, or other formats)
statusnumberHTTP status code (200, 404, 500, etc.)
headersjsonHTTP response headers as key-value pairs

Usage Instructions

Send an HTTP request using the configured method, URL, headers, query parameters, and optional body. Standard request headers are added automatically. Reference upstream outputs and workflow variables using their exact TradingGoose tags. Responses expose data, status, and headers. Non-successful requests fail the block; connect an error path for recovery. The block does not automatically retry failed requests.

Notes

  • Category: blocks
  • Type: api