Data-Sweep icon

Data-Sweep

Get SERP results from DataSweep API

Get History

AI-generated

Overview

This node interacts with the DataSweep API to either perform Google keyword searches or retrieve the history of previous searches. It is useful for automating the retrieval of search engine results or accessing past search data for analysis or reporting. For example, a user can search for specific keywords with filters like country, language, and date range, or fetch paginated search history records.

Use Case Examples

  1. Perform a keyword search for 'Buying a laptop' in the US with English results, retrieving 10 results.
  2. Get the search history with 15 items per page on page 1.

Properties

Name Meaning
Per Page Number of items to retrieve per page when fetching search history.
Page Page number to retrieve when fetching search history.

Output

JSON

  • json - The JSON response from the DataSweep API containing either search results or search history data.

Dependencies

  • Requires an API key credential for the DataSweep API to authenticate requests.

Troubleshooting

  • If the number of results for a search is not a multiple of 10, the node throws an error. Ensure the 'Number of Results' input is a multiple of 10.
  • API request failures will throw errors with messages indicating the failure reason. Use 'Continue On Fail' option to handle errors gracefully and continue processing other items.
  • Ensure valid country and language codes are used; invalid or empty values default to US and English respectively.

Links

Discussion