FetchSERP

Interact with the FetchSERP API

Overview

This node integrates with the FetchSERP API to retrieve search engine results page (SERP) data and other SEO-related information. Specifically, the "Get SERP Text" operation fetches textual content extracted from SERPs based on user-defined query parameters. This is useful for SEO professionals, marketers, and developers who want to programmatically analyze search results, extract relevant text snippets, or monitor keyword performance.

Practical examples include:

  • Extracting summarized text from Google search results for a given keyword.
  • Monitoring changes in SERP text content over time for competitive analysis.
  • Feeding SERP text data into further processing workflows like sentiment analysis or content generation.

Properties

Name Meaning
Query Parameters (JSON) JSON object specifying query parameters for the API request, e.g., {"domain":"example.com"}. These parameters define what SERP text data to retrieve.

Output

The node outputs an array of items where each item contains a json field holding the response from the FetchSERP API for the requested operation. For the "Get SERP Text" operation, the json output includes the textual content extracted from the search engine results page according to the specified query parameters.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for the FetchSERP service to authenticate requests.
  • The node makes HTTP requests to the FetchSERP API endpoint, defaulting to https://www.fetchserp.com.
  • Proper configuration of the API key credential within n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Malformed JSON in the "Query Parameters (JSON)" property can lead to parsing errors.
    • Using unsupported or incorrect query parameters may result in API errors or empty responses.
  • Error messages:

    • "Unknown operation": Indicates that the selected operation is not recognized by the node; ensure "Get SERP Text" is selected.
    • HTTP request errors typically return the error message from the FetchSERP API; check the API key validity and parameter correctness.
    • JSON parsing errors occur if the input JSON is invalid; verify the syntax of the JSON string.

To resolve these issues:

  • Verify the API key is correctly set up and active.
  • Validate JSON input using online tools before entering it.
  • Consult FetchSERP API documentation for correct query parameter usage.

Links and References

Discussion