DataForSEO icon

DataForSEO

DataForSEO

Overview

The "Get Organic Traffic Stats" operation in the Labs resource of this node fetches organic traffic statistics for specified domains or subdomains. It is useful for SEO professionals, digital marketers, and website owners who want to analyze the organic search performance of their websites or competitors' sites. By providing target domains along with location and language parameters, users can retrieve detailed insights into organic traffic trends.

Practical examples include:

  • Monitoring organic traffic changes over time for a set of client websites.
  • Comparing organic traffic stats across different geographic locations or languages.
  • Analyzing the impact of SEO campaigns on organic traffic.

Properties

Name Meaning
Target Domains or Subdomains (targets) One or more domains or subdomains to analyze. The domain should be specified without the https:// prefix and without www.. Multiple targets can be added.
Location (location_name_required) The full name of the geographic location for which to retrieve traffic data. Supported locations are documented externally and must be provided exactly as specified.
Language (language_name_required) The full name of the language for which to retrieve traffic data. Supported languages are documented externally and must be provided exactly as specified.
Item Types (item_types) Specifies the types of search results to include in the response. Options include: Organic, Paid, Featured Snippet, and Local Pack. Multiple selections are allowed.

Output

The node outputs an array of JSON objects where each object corresponds to the organic traffic statistics for one of the specified target domains/subdomains. The exact structure depends on the external API response but generally includes metrics related to organic search traffic such as visits, clicks, impressions, and possibly breakdowns by item type if requested.

If binary data were output, it would typically represent downloadable reports or files, but this operation focuses on JSON traffic statistics only.

Dependencies

  • Requires an active connection to the DataForSEO API v3 endpoint (https://api.dataforseo.com/v3).
  • Requires valid API authentication credentials (an API key or token) configured in n8n.
  • Users need to refer to the DataForSEO documentation for supported location and language names to ensure correct parameter values.
  • No additional external dependencies beyond the API service.

Troubleshooting

  • Invalid Location or Language: If the location or language name is misspelled or unsupported, the API may return errors or empty results. Verify against the official DataForSEO supported locations and languages list.
  • Incorrect Domain Format: Including https:// or www. in the target domain will likely cause the request to fail or return no data. Ensure domains are entered correctly.
  • Empty Results: If no traffic data is returned, check that the targets have sufficient organic traffic and that the selected item types match available data.
  • API Authentication Errors: Ensure the API key credential is correctly configured and has necessary permissions.
  • Rate Limits: Excessive requests may trigger rate limiting; consider batching requests or adding delays.

Links and References

Discussion