Data-Sweep icon

Data-Sweep

Get SERP results from DataSweep API

Search

AI-generated

Overview

This node performs Google search queries using the DataSweep API to retrieve search engine results pages (SERP). It supports searching by keyword with options to specify country, language, date range, and number of results. It also allows retrieving the history of previous searches. This node is useful for automating keyword research, competitive analysis, and monitoring search trends.

Use Case Examples

  1. Search for 'Buying a laptop' in the US with English results from the past month, retrieving 20 results.
  2. Retrieve the history of previous search queries with pagination.

Properties

Name Meaning
Query Keyword to search on Google, required for the search operation.
Country Country code to localize the search results (e.g., us, uk, de). Optional, defaults to 'us' if empty.
Language Language code for the search results (e.g., en, es, fr). Optional, defaults to 'en' if empty.
Date Range Filter search results by time range such as past hour, day, week, month, or year.
Number of Results Number of search results to return, must be a multiple of 10 and maximum 100.

Output

JSON

  • json - The search results or search history data returned from the DataSweep API.

Dependencies

  • DataSweep API with API key credential

Troubleshooting

  • Ensure the 'Number of Results' is a multiple of 10; otherwise, the node throws an error.
  • If the API request fails, the node throws an error with the failure message unless 'Continue On Fail' is enabled, in which case it outputs the error in the JSON.
  • Check that the API credentials for DataSweep API are correctly configured and valid.

Links

Discussion