@seranking/n8n-nodes-seranking 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,6 +151,12 @@ exports.backlinksOperations = [
151
151
  description: 'Get distribution of domain authority scores among linking domains',
152
152
  action: 'Get domain authority distribution',
153
153
  },
154
+ {
155
+ name: 'Get Domain Authority History',
156
+ value: 'getDomainAuthorityHistory',
157
+ description: 'Get historical Domain InLink Rank values for the target domain',
158
+ action: 'Get domain authority history',
159
+ },
154
160
  {
155
161
  name: 'Get Page Authority',
156
162
  value: 'getPageAuthority',
@@ -197,6 +203,7 @@ exports.backlinksFields = [
197
203
  'getAuthority',
198
204
  'getDomainAuthority',
199
205
  'getDomainAuthorityDistribution',
206
+ 'getDomainAuthorityHistory',
200
207
  'getPageAuthority',
201
208
  'getPageAuthorityHistory',
202
209
  ],
@@ -300,6 +307,7 @@ exports.backlinksFields = [
300
307
  'getRefDomainsHistory',
301
308
  'getRefDomainsHistoryCount',
302
309
  'getPageAuthorityHistory',
310
+ 'getDomainAuthorityHistory',
303
311
  ],
304
312
  },
305
313
  },
@@ -322,6 +330,7 @@ exports.backlinksFields = [
322
330
  'getRefDomainsHistory',
323
331
  'getRefDomainsHistoryCount',
324
332
  'getPageAuthorityHistory',
333
+ 'getDomainAuthorityHistory',
325
334
  ],
326
335
  },
327
336
  },
@@ -306,6 +306,19 @@ async function BacklinksOperations(index) {
306
306
  params.target = target;
307
307
  break;
308
308
  }
309
+ case 'getDomainAuthorityHistory': {
310
+ const target = this.getNodeParameter('target', index);
311
+ const dateFrom = this.getNodeParameter('dateFrom', index);
312
+ const dateTo = this.getNodeParameter('dateTo', index);
313
+ if (!(0, validators_1.validateDateFormat)(dateFrom) || !(0, validators_1.validateDateFormat)(dateTo)) {
314
+ throw new Error('Date must be in YYYY-MM-DD format');
315
+ }
316
+ endpoint = '/backlinks/authority/domain/history';
317
+ params.target = target;
318
+ params.date_from = dateFrom;
319
+ params.date_to = dateTo;
320
+ break;
321
+ }
309
322
  case 'getPageAuthority': {
310
323
  const target = this.getNodeParameter('target', index);
311
324
  endpoint = '/backlinks/authority/page';
@@ -25,6 +25,12 @@ exports.generalDataOperations = [
25
25
  description: 'Get a list of supported languages for Google',
26
26
  action: 'List languages for Google',
27
27
  },
28
+ {
29
+ name: 'List Regions for Google',
30
+ value: 'listGoogleRegions',
31
+ description: 'Get a list of Google regions (region ID + name) for location targeting',
32
+ action: 'List regions for Google',
33
+ },
28
34
  {
29
35
  name: 'List Search Engines',
30
36
  value: 'listSearchEngines',
@@ -11,6 +11,9 @@ async function GeneralDataOperations(index) {
11
11
  case 'listGoogleLangs': {
12
12
  return await apiRequest_1.apiRequest.call(this, 'GET', '/project-management/system/google/languages', {}, {}, index);
13
13
  }
14
+ case 'listGoogleRegions': {
15
+ return await apiRequest_1.apiRequest.call(this, 'GET', '/project-management/system/google/regions', {}, {}, index);
16
+ }
14
17
  case 'listVolumeRegions': {
15
18
  throw new Error('listVolumeRegions: The /system/volume-regions endpoint is not available under the unified API (HTTP 404 as of 2026-05-22). ' +
16
19
  'SE Ranking has not yet published a replacement in the unified docs. ' +
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seranking/n8n-nodes-seranking",
3
- "version": "2.0.3",
4
- "description": "n8n community node for SE Ranking's unified API — 190 operations across 21 resources: AI Search, Backlinks, Domain Analysis, Keyword Research, SERP Classic, Website Audits, Project Management, Competitors, Backlink Checker, Sub-Accounts, and more",
3
+ "version": "2.0.4",
4
+ "description": "n8n community node for SE Ranking's unified API — 192 operations across 21 resources: AI Search, Backlinks, Domain Analysis, Keyword Research, SERP Classic, Website Audits, Project Management, Competitors, Backlink Checker, Sub-Accounts, and more",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/seranking/n8n-nodes-seranking",
7
7
  "author": {