Actions11
- Custom Endpoint Actions
- Google Map Actions
- Google Search Actions
- LinkedIn Actions
- Trustpilot Actions
- YouTube Actions
Custom Endpoint → Custom Endpoint
AI-generatedSummary
Call any Scrappa API endpoint by specifying a relative API path and HTTP method, optionally including additional query parameters and a JSON body for POST requests.
Inputs
- Custom Endpoint Path (required) — The relative Scrappa API endpoint path to call, e.g., /api/search or /api/google/news. Must start with /api/.
- HTTP Method (required) — The HTTP method to use for the request: GET or POST.
- Additional Query Parameters — A JSON object containing additional query parameters to include in the request. These override any conflicting parameters.
- JSON Body — A JSON object to send as the body of the request for POST method calls.
Output shape
a list of items where each item's json property contains the JSON response from the called Scrappa custom API endpoint
Returns the raw JSON response from Scrappa. If a request fails and 'continue on fail' is enabled, returns an error message for that item; otherwise, execution stops on error.
Examples
Example 1: Invoke a Scrappa custom endpoint with GET method to fetch search results under /api/search with extra query parameters
Set Custom Endpoint Path to /api/search, HTTP Method to GET, and Additional Query Parameters to specify search filters as needed.
Example 2: Invoke a Scrappa custom endpoint with POST method to submit a search with a JSON body
Set Custom Endpoint Path to the desired API path, HTTP Method to POST, provide Additional Query Parameters if needed, and specify the JSON Body with the request data.