dataforseo-client 2.1.7 → 2.1.8
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.
- package/README.md +4 -12
- package/SKILL.md +220 -0
- package/dist/cjs/api/AiOptimizationApi.js +54 -54
- package/dist/cjs/api/AppDataApi.js +42 -42
- package/dist/cjs/api/AppendixApi.js +4 -4
- package/dist/cjs/api/BacklinksApi.js +24 -24
- package/dist/cjs/api/BusinessDataApi.js +53 -53
- package/dist/cjs/api/ContentAnalysisApi.js +11 -11
- package/dist/cjs/api/DataforseoLabsApi.js +47 -47
- package/dist/cjs/api/DomainAnalyticsApi.js +14 -14
- package/dist/cjs/api/KeywordsDataApi.js +70 -70
- package/dist/cjs/api/MerchantApi.js +38 -38
- package/dist/cjs/api/OnPageApi.js +31 -31
- package/dist/cjs/api/SerpApi.js +176 -176
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +16 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/AppDataAppleAppListTaskPostRequestInfo.d.ts +24 -24
- package/dist/cjs/models/AppDataAppleAppListTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/AppDataAppleAppListTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/AppendixUserDataResultInfo.d.ts +4 -4
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.d.ts +185 -185
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.js +134 -134
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.js.map +1 -1
- package/dist/cjs/models/DataforseoLabsGoogleAvailableHistoryResponseInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleAvailableHistoryResultInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleAvailableHistoryTaskInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleDomainIntersectionLiveItem.d.ts +8 -8
- package/dist/cjs/models/DataforseoLabsGoogleDomainIntersectionLiveRequestInfo.d.ts +30 -30
- package/dist/cjs/models/DataforseoLabsGoogleDomainIntersectionLiveResponseInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleDomainIntersectionLiveResultInfo.d.ts +16 -16
- package/dist/cjs/models/DataforseoLabsGoogleDomainIntersectionLiveTaskInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleKeywordsForSiteLiveRequestInfo.d.ts +4 -4
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveItem.d.ts +6 -6
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveRequestInfo.d.ts +34 -34
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveResponseInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveResultInfo.d.ts +16 -16
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveTaskInfo.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleSearchIntentLiveItem.d.ts +2 -2
- package/dist/cjs/models/DataforseoLabsGoogleSearchIntentLiveItem.js +15 -2
- package/dist/cjs/models/DataforseoLabsGoogleSearchIntentLiveItem.js.map +1 -1
- package/dist/cjs/models/SerpGoogleLocalFinderLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleLocalFinderLiveHtmlRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleLocalFinderTaskPostRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedRequestInfo.d.ts +56 -56
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.d.ts +40 -0
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.js +20 -0
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedResultInfo.d.ts +22 -22
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostRequestInfo.d.ts +56 -0
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostRequestInfo.js +28 -0
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.d.ts +52 -0
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.js +26 -0
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostRequestInfo.d.ts +48 -0
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostRequestInfo.js +24 -0
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.d.ts +40 -0
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.js +20 -0
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedResultInfo.d.ts +32 -32
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.d.ts +56 -0
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.js +28 -0
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/index.d.ts +4 -4
- package/dist/cjs/models/index.js +16 -16
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/esm/api/AiOptimizationApi.js +54 -54
- package/dist/esm/api/AppDataApi.js +42 -42
- package/dist/esm/api/AppendixApi.js +4 -4
- package/dist/esm/api/BacklinksApi.js +24 -24
- package/dist/esm/api/BusinessDataApi.js +53 -53
- package/dist/esm/api/ContentAnalysisApi.js +11 -11
- package/dist/esm/api/DataforseoLabsApi.js +47 -47
- package/dist/esm/api/DomainAnalyticsApi.js +14 -14
- package/dist/esm/api/KeywordsDataApi.js +70 -70
- package/dist/esm/api/MerchantApi.js +38 -38
- package/dist/esm/api/OnPageApi.js +31 -31
- package/dist/esm/api/SerpApi.js +176 -176
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/AppDataAppleAppListTaskPostRequestInfo.d.ts +24 -24
- package/dist/esm/models/AppDataAppleAppListTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/AppDataAppleAppListTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/AppendixUserDataResultInfo.d.ts +4 -4
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.d.ts +185 -185
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.js +130 -130
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.js.map +1 -1
- package/dist/esm/models/DataforseoLabsGoogleAvailableHistoryResponseInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleAvailableHistoryResultInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleAvailableHistoryTaskInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleDomainIntersectionLiveItem.d.ts +8 -8
- package/dist/esm/models/DataforseoLabsGoogleDomainIntersectionLiveRequestInfo.d.ts +30 -30
- package/dist/esm/models/DataforseoLabsGoogleDomainIntersectionLiveResponseInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleDomainIntersectionLiveResultInfo.d.ts +16 -16
- package/dist/esm/models/DataforseoLabsGoogleDomainIntersectionLiveTaskInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleKeywordsForSiteLiveRequestInfo.d.ts +4 -4
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveItem.d.ts +6 -6
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveRequestInfo.d.ts +34 -34
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveResponseInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveResultInfo.d.ts +16 -16
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveTaskInfo.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleSearchIntentLiveItem.d.ts +2 -2
- package/dist/esm/models/DataforseoLabsGoogleSearchIntentLiveItem.js +15 -2
- package/dist/esm/models/DataforseoLabsGoogleSearchIntentLiveItem.js.map +1 -1
- package/dist/esm/models/SerpGoogleLocalFinderLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleLocalFinderLiveHtmlRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleLocalFinderTaskPostRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedRequestInfo.d.ts +56 -56
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.d.ts +40 -0
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.js +20 -0
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedResultInfo.d.ts +22 -22
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicTaskPostRequestInfo.d.ts +56 -0
- package/dist/esm/models/SerpYoutubeOrganicTaskPostRequestInfo.js +28 -0
- package/dist/esm/models/SerpYoutubeOrganicTaskPostRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeOrganicTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.d.ts +52 -0
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.js +26 -0
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostRequestInfo.d.ts +48 -0
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostRequestInfo.js +24 -0
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.d.ts +40 -0
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.js +20 -0
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedResultInfo.d.ts +32 -32
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.d.ts +56 -0
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.js +28 -0
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/models/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
export interface IDataforseoLabsGoogleDomainIntersectionLiveRequestInfo {
|
|
2
|
-
/**
|
|
2
|
+
/** domain required field the domain name of the first target website the domain should be specified without https:// and www. */
|
|
3
3
|
target_1?: string | undefined;
|
|
4
|
-
/**
|
|
4
|
+
/** domain required field the domain name of the second target website the domain should be specified without https:// and www. */
|
|
5
5
|
target_2?: string | undefined;
|
|
6
|
-
/**
|
|
6
|
+
/** full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: United Kingdom */
|
|
7
7
|
location_name?: string | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** location code required field if you don't specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: 2840 */
|
|
9
9
|
location_code?: number | undefined;
|
|
10
|
-
/**
|
|
10
|
+
/** full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: English */
|
|
11
11
|
language_name?: string | undefined;
|
|
12
|
-
/**
|
|
12
|
+
/** language code required field if you don't specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: en */
|
|
13
13
|
language_code?: string | undefined;
|
|
14
|
-
/**
|
|
14
|
+
/** domain intersections in SERP optional field if you set intersections to true, you will get the keywords for which both target domains specified as target1 and target2 have results within the same SERP; the corresponding SERP elements for both domains will be provided in the results array Note: this endpoint will not provide results if the number of intersecting keywords exceeds 10 million if you specify intersections: false, you will get the keywords for which the domain specified as target1 has results in SERP, and the domain specified as target2 doesn't; thus, the corresponding SERP elements and other data will be provided for the domain specified as target1only default value: true */
|
|
15
15
|
intersections?: boolean | undefined;
|
|
16
|
-
/**
|
|
16
|
+
/** search results type indicates type of search results included in the response optional field possible values: ['organic', 'paid', 'featured_snippet', 'local_pack'] default value: ['organic', 'paid'] */
|
|
17
17
|
item_types?: string[] | undefined;
|
|
18
|
-
/**
|
|
18
|
+
/** include data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response default value: false */
|
|
19
19
|
include_serp_info?: boolean | undefined;
|
|
20
|
-
/**
|
|
20
|
+
/** include or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_keyword_info, clickstream_etv, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the response default value: false with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this help center article */
|
|
21
21
|
include_clickstream_data?: boolean | undefined;
|
|
22
|
-
/**
|
|
22
|
+
/** the maximum number of returned keywords optional field default value: 100 maximum value: 1000 */
|
|
23
23
|
limit?: number | undefined;
|
|
24
|
-
/**
|
|
24
|
+
/** offset in the items array of returned keywords optional field default value: 0 if you specify the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords */
|
|
25
25
|
offset?: number | undefined;
|
|
26
|
-
/**
|
|
26
|
+
/** array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, , >=, =, <>, in, not_in, match, not_match, ilike, not_ilike, like, not_like you can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more characters example: ['keyword_data.keyword_info.search_volume','in',[100,1000]] [['first_domain_serp_element.etv','>',0],'and',['first_domain_serp_element.description','like','%goat%']] [['keyword_data.keyword_info.search_volume','>',100], 'and', [['first_domain_serp_element.description','like','%goat%'], 'or', ['second_domain_serp_element.type','=','organic']]] for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide */
|
|
27
27
|
filters?: any[] | undefined;
|
|
28
|
-
/**
|
|
28
|
+
/** results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order you should use a comma to set up a sorting parameter example: ['keyword_data.keyword_info.competition,desc'] default rule: ['keyword_data.keyword_info.search_volume,desc'] note that you can set no more than three sorting rules in a single request you should use a comma to separate several sorting rules example: ['keyword_data.keyword_info.search_volume,desc','keyword_data.keyword_info.cpc,desc'] */
|
|
29
29
|
order_by?: string[] | undefined;
|
|
30
|
-
/**
|
|
30
|
+
/** user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response */
|
|
31
31
|
tag?: string | undefined;
|
|
32
32
|
[key: string]: any;
|
|
33
33
|
}
|
|
34
34
|
export declare class DataforseoLabsGoogleDomainIntersectionLiveRequestInfo implements IDataforseoLabsGoogleDomainIntersectionLiveRequestInfo {
|
|
35
|
-
/**
|
|
35
|
+
/** domain required field the domain name of the first target website the domain should be specified without https:// and www. */
|
|
36
36
|
target_1?: string | undefined;
|
|
37
|
-
/**
|
|
37
|
+
/** domain required field the domain name of the second target website the domain should be specified without https:// and www. */
|
|
38
38
|
target_2?: string | undefined;
|
|
39
|
-
/**
|
|
39
|
+
/** full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: United Kingdom */
|
|
40
40
|
location_name?: string | undefined;
|
|
41
|
-
/**
|
|
41
|
+
/** location code required field if you don't specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: 2840 */
|
|
42
42
|
location_code?: number | undefined;
|
|
43
|
-
/**
|
|
43
|
+
/** full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: English */
|
|
44
44
|
language_name?: string | undefined;
|
|
45
|
-
/**
|
|
45
|
+
/** language code required field if you don't specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: en */
|
|
46
46
|
language_code?: string | undefined;
|
|
47
|
-
/**
|
|
47
|
+
/** domain intersections in SERP optional field if you set intersections to true, you will get the keywords for which both target domains specified as target1 and target2 have results within the same SERP; the corresponding SERP elements for both domains will be provided in the results array Note: this endpoint will not provide results if the number of intersecting keywords exceeds 10 million if you specify intersections: false, you will get the keywords for which the domain specified as target1 has results in SERP, and the domain specified as target2 doesn't; thus, the corresponding SERP elements and other data will be provided for the domain specified as target1only default value: true */
|
|
48
48
|
intersections?: boolean | undefined;
|
|
49
|
-
/**
|
|
49
|
+
/** search results type indicates type of search results included in the response optional field possible values: ['organic', 'paid', 'featured_snippet', 'local_pack'] default value: ['organic', 'paid'] */
|
|
50
50
|
item_types?: string[] | undefined;
|
|
51
|
-
/**
|
|
51
|
+
/** include data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response default value: false */
|
|
52
52
|
include_serp_info?: boolean | undefined;
|
|
53
|
-
/**
|
|
53
|
+
/** include or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_keyword_info, clickstream_etv, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the response default value: false with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this help center article */
|
|
54
54
|
include_clickstream_data?: boolean | undefined;
|
|
55
|
-
/**
|
|
55
|
+
/** the maximum number of returned keywords optional field default value: 100 maximum value: 1000 */
|
|
56
56
|
limit?: number | undefined;
|
|
57
|
-
/**
|
|
57
|
+
/** offset in the items array of returned keywords optional field default value: 0 if you specify the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords */
|
|
58
58
|
offset?: number | undefined;
|
|
59
|
-
/**
|
|
59
|
+
/** array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, , >=, =, <>, in, not_in, match, not_match, ilike, not_ilike, like, not_like you can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more characters example: ['keyword_data.keyword_info.search_volume','in',[100,1000]] [['first_domain_serp_element.etv','>',0],'and',['first_domain_serp_element.description','like','%goat%']] [['keyword_data.keyword_info.search_volume','>',100], 'and', [['first_domain_serp_element.description','like','%goat%'], 'or', ['second_domain_serp_element.type','=','organic']]] for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide */
|
|
60
60
|
filters?: any[] | undefined;
|
|
61
|
-
/**
|
|
61
|
+
/** results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order you should use a comma to set up a sorting parameter example: ['keyword_data.keyword_info.competition,desc'] default rule: ['keyword_data.keyword_info.search_volume,desc'] note that you can set no more than three sorting rules in a single request you should use a comma to separate several sorting rules example: ['keyword_data.keyword_info.search_volume,desc','keyword_data.keyword_info.cpc,desc'] */
|
|
62
62
|
order_by?: string[] | undefined;
|
|
63
|
-
/**
|
|
63
|
+
/** user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response */
|
|
64
64
|
tag?: string | undefined;
|
|
65
65
|
[key: string]: any;
|
|
66
66
|
constructor(data?: IDataforseoLabsGoogleDomainIntersectionLiveRequestInfo);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DataforseoLabsGoogleDomainIntersectionLiveTaskInfo } from "./DataforseoLabsGoogleDomainIntersectionLiveTaskInfo";
|
|
2
2
|
import { BaseResponseInfo, IBaseResponseInfo } from "./BaseResponseInfo";
|
|
3
3
|
export interface IDataforseoLabsGoogleDomainIntersectionLiveResponseInfo extends IBaseResponseInfo {
|
|
4
|
-
/**
|
|
4
|
+
/** array of tasks */
|
|
5
5
|
tasks?: DataforseoLabsGoogleDomainIntersectionLiveTaskInfo[] | undefined;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
8
|
export declare class DataforseoLabsGoogleDomainIntersectionLiveResponseInfo extends BaseResponseInfo implements IDataforseoLabsGoogleDomainIntersectionLiveResponseInfo {
|
|
9
|
-
/**
|
|
9
|
+
/** array of tasks */
|
|
10
10
|
tasks?: DataforseoLabsGoogleDomainIntersectionLiveTaskInfo[] | undefined;
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
constructor(data?: IDataforseoLabsGoogleDomainIntersectionLiveResponseInfo);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { DataforseoLabsGoogleDomainIntersectionLiveItem } from "./DataforseoLabsGoogleDomainIntersectionLiveItem";
|
|
2
2
|
export interface IDataforseoLabsGoogleDomainIntersectionLiveResultInfo {
|
|
3
|
-
/**
|
|
3
|
+
/** search engine type */
|
|
4
4
|
se_type?: string | undefined;
|
|
5
|
-
/**
|
|
5
|
+
/** the first target domain in a POST array */
|
|
6
6
|
target_1?: string | undefined;
|
|
7
|
-
/**
|
|
7
|
+
/** the second target domain in a POST array */
|
|
8
8
|
target_2?: string | undefined;
|
|
9
|
-
/**
|
|
9
|
+
/** location code in a POST array */
|
|
10
10
|
location_code?: number | undefined;
|
|
11
|
-
/**
|
|
11
|
+
/** language code in a POST array */
|
|
12
12
|
language_code?: string | undefined;
|
|
13
|
-
/**
|
|
13
|
+
/** total amount of results in our database relevant to your request */
|
|
14
14
|
total_count?: number | undefined;
|
|
15
|
-
/**
|
|
15
|
+
/** the number of results returned in the items array */
|
|
16
16
|
items_count?: number | undefined;
|
|
17
|
-
/**
|
|
17
|
+
/** contains keywords, relevant SERP elements and related data */
|
|
18
18
|
items?: DataforseoLabsGoogleDomainIntersectionLiveItem[] | undefined;
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}
|
|
21
21
|
export declare class DataforseoLabsGoogleDomainIntersectionLiveResultInfo implements IDataforseoLabsGoogleDomainIntersectionLiveResultInfo {
|
|
22
|
-
/**
|
|
22
|
+
/** search engine type */
|
|
23
23
|
se_type?: string | undefined;
|
|
24
|
-
/**
|
|
24
|
+
/** the first target domain in a POST array */
|
|
25
25
|
target_1?: string | undefined;
|
|
26
|
-
/**
|
|
26
|
+
/** the second target domain in a POST array */
|
|
27
27
|
target_2?: string | undefined;
|
|
28
|
-
/**
|
|
28
|
+
/** location code in a POST array */
|
|
29
29
|
location_code?: number | undefined;
|
|
30
|
-
/**
|
|
30
|
+
/** language code in a POST array */
|
|
31
31
|
language_code?: string | undefined;
|
|
32
|
-
/**
|
|
32
|
+
/** total amount of results in our database relevant to your request */
|
|
33
33
|
total_count?: number | undefined;
|
|
34
|
-
/**
|
|
34
|
+
/** the number of results returned in the items array */
|
|
35
35
|
items_count?: number | undefined;
|
|
36
|
-
/**
|
|
36
|
+
/** contains keywords, relevant SERP elements and related data */
|
|
37
37
|
items?: DataforseoLabsGoogleDomainIntersectionLiveItem[] | undefined;
|
|
38
38
|
[key: string]: any;
|
|
39
39
|
constructor(data?: IDataforseoLabsGoogleDomainIntersectionLiveResultInfo);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DataforseoLabsGoogleDomainIntersectionLiveResultInfo } from "./DataforseoLabsGoogleDomainIntersectionLiveResultInfo";
|
|
2
2
|
import { BaseResponseTaskInfo, IBaseResponseTaskInfo } from "./BaseResponseTaskInfo";
|
|
3
3
|
export interface IDataforseoLabsGoogleDomainIntersectionLiveTaskInfo extends IBaseResponseTaskInfo {
|
|
4
|
-
/**
|
|
4
|
+
/** array of results */
|
|
5
5
|
result?: DataforseoLabsGoogleDomainIntersectionLiveResultInfo[] | undefined;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
8
|
export declare class DataforseoLabsGoogleDomainIntersectionLiveTaskInfo extends BaseResponseTaskInfo implements IDataforseoLabsGoogleDomainIntersectionLiveTaskInfo {
|
|
9
|
-
/**
|
|
9
|
+
/** array of results */
|
|
10
10
|
result?: DataforseoLabsGoogleDomainIntersectionLiveResultInfo[] | undefined;
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
constructor(data?: IDataforseoLabsGoogleDomainIntersectionLiveTaskInfo);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface IDataforseoLabsGoogleKeywordsForSiteLiveRequestInfo {
|
|
2
|
-
/** *
|
|
2
|
+
/** *domain name or page url* **required field** the domain name of the target website, subdomain or URL of the target webpage; the **domain name** must be specified **without** `https://` or `www.`; the **subdomain** must be specified **without** `https://`; the **webpage URL** must be specified **with** `https://` or `www.` **Note:** if you specify the **webpage URL** without `https://` or `www.`, the result will be returned for the **entire domain** rather than the specific page */
|
|
3
3
|
target?: string | undefined;
|
|
4
4
|
/** *full name of the location* **required field if you don't specify** `location_code` **Note:** it is required to specify either `location_name` or `location_code` you can receive the list of available locations with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages` example: `United Kingdom` */
|
|
5
5
|
location_name?: string | undefined;
|
|
@@ -13,7 +13,7 @@ export interface IDataforseoLabsGoogleKeywordsForSiteLiveRequestInfo {
|
|
|
13
13
|
include_serp_info?: boolean | undefined;
|
|
14
14
|
/** *indicates if the subdomains will be included in the search* optional field if set to `false`, the subdomains will be ignored default value: `true` */
|
|
15
15
|
include_subdomains?: boolean | undefined;
|
|
16
|
-
/** *include or exclude data from clickstream-based metrics in the result* optional field if the parameter is set to_`true`, you will receive `clickstream_keyword_info`, `keyword_info_normalized_with_clickstream`, and `keyword_info_normalized_with_bing` fields in the response default value: `false` with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this [help center article](https://dataforseo.com/help-center/what-are-clickstream-based-metrics-and-how-do-we-calculate-them)
|
|
16
|
+
/** *include or exclude data from clickstream-based metrics in the result* optional field if the parameter is set to_`true`, you will receive `clickstream_keyword_info`, `keyword_info_normalized_with_clickstream`, and `keyword_info_normalized_with_bing` fields in the response default value: `false` with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this [help center article](https://dataforseo.com/help-center/what-are-clickstream-based-metrics-and-how-do-we-calculate-them) */
|
|
17
17
|
include_clickstream_data?: boolean | undefined;
|
|
18
18
|
/** *the maximum number of keywords in the results array* optional field default value: `100` maximum value: `1000` */
|
|
19
19
|
limit?: number | undefined;
|
|
@@ -30,7 +30,7 @@ export interface IDataforseoLabsGoogleKeywordsForSiteLiveRequestInfo {
|
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
}
|
|
32
32
|
export declare class DataforseoLabsGoogleKeywordsForSiteLiveRequestInfo implements IDataforseoLabsGoogleKeywordsForSiteLiveRequestInfo {
|
|
33
|
-
/** *
|
|
33
|
+
/** *domain name or page url* **required field** the domain name of the target website, subdomain or URL of the target webpage; the **domain name** must be specified **without** `https://` or `www.`; the **subdomain** must be specified **without** `https://`; the **webpage URL** must be specified **with** `https://` or `www.` **Note:** if you specify the **webpage URL** without `https://` or `www.`, the result will be returned for the **entire domain** rather than the specific page */
|
|
34
34
|
target?: string | undefined;
|
|
35
35
|
/** *full name of the location* **required field if you don't specify** `location_code` **Note:** it is required to specify either `location_name` or `location_code` you can receive the list of available locations with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages` example: `United Kingdom` */
|
|
36
36
|
location_name?: string | undefined;
|
|
@@ -44,7 +44,7 @@ export declare class DataforseoLabsGoogleKeywordsForSiteLiveRequestInfo implemen
|
|
|
44
44
|
include_serp_info?: boolean | undefined;
|
|
45
45
|
/** *indicates if the subdomains will be included in the search* optional field if set to `false`, the subdomains will be ignored default value: `true` */
|
|
46
46
|
include_subdomains?: boolean | undefined;
|
|
47
|
-
/** *include or exclude data from clickstream-based metrics in the result* optional field if the parameter is set to_`true`, you will receive `clickstream_keyword_info`, `keyword_info_normalized_with_clickstream`, and `keyword_info_normalized_with_bing` fields in the response default value: `false` with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this [help center article](https://dataforseo.com/help-center/what-are-clickstream-based-metrics-and-how-do-we-calculate-them)
|
|
47
|
+
/** *include or exclude data from clickstream-based metrics in the result* optional field if the parameter is set to_`true`, you will receive `clickstream_keyword_info`, `keyword_info_normalized_with_clickstream`, and `keyword_info_normalized_with_bing` fields in the response default value: `false` with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this [help center article](https://dataforseo.com/help-center/what-are-clickstream-based-metrics-and-how-do-we-calculate-them) */
|
|
48
48
|
include_clickstream_data?: boolean | undefined;
|
|
49
49
|
/** *the maximum number of keywords in the results array* optional field default value: `100` maximum value: `1000` */
|
|
50
50
|
limit?: number | undefined;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { KeywordDataInfo } from "./KeywordDataInfo";
|
|
2
2
|
import { BaseDataforseoLabsApiElementItem } from "./BaseDataforseoLabsApiElementItem";
|
|
3
3
|
export interface IDataforseoLabsGooglePageIntersectionLiveItem {
|
|
4
|
-
/**
|
|
4
|
+
/** search engine type */
|
|
5
5
|
se_type?: string | undefined;
|
|
6
|
-
/**
|
|
6
|
+
/** keyword data for the returned keyword */
|
|
7
7
|
keyword_data?: KeywordDataInfo | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** contains data on the SERP elements found for the returned keyworddata will be provided in separate arrays for each URL you specified in the pages object when setting a task;depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
9
9
|
intersection_result?: {
|
|
10
10
|
[key: string]: BaseDataforseoLabsApiElementItem;
|
|
11
11
|
} | undefined;
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
}
|
|
14
14
|
export declare class DataforseoLabsGooglePageIntersectionLiveItem implements IDataforseoLabsGooglePageIntersectionLiveItem {
|
|
15
|
-
/**
|
|
15
|
+
/** search engine type */
|
|
16
16
|
se_type?: string | undefined;
|
|
17
|
-
/**
|
|
17
|
+
/** keyword data for the returned keyword */
|
|
18
18
|
keyword_data?: KeywordDataInfo | undefined;
|
|
19
|
-
/**
|
|
19
|
+
/** contains data on the SERP elements found for the returned keyworddata will be provided in separate arrays for each URL you specified in the pages object when setting a task;depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
20
20
|
intersection_result?: {
|
|
21
21
|
[key: string]: BaseDataforseoLabsApiElementItem;
|
|
22
22
|
} | undefined;
|
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
export interface IDataforseoLabsGooglePageIntersectionLiveRequestInfo {
|
|
2
|
-
/**
|
|
2
|
+
/** target URLs of pagesrequired fieldyou can set up to 20 pages in this objectthe pages should be specified with absolute URLs (including http:// or https://)example:'pages': {'1':'https://www.apple.com/mac/*','2':'https://dataforseo.com/*','3':'https://support.microsoft.com/'}if you specify a single page here, we will return results only for this page;you can also use a wildcard ('') character to specify the search patternexample:'example.com'search for the exact URL'example.com/eng/'search for the example.com page and all its related URLs which start with '/eng/', such as 'example.com/eng/index.html' and 'example.com/eng/help/', etc.note: a wilcard should be placed after the slash ('/') character in the end of the URL, it is not possible to place it after the domain in the following way:https://dataforseo.comuse https://dataforseo.com/ insteadNote: this endpoint will not provide results if the number of intersecting keywords exceeds 10 million */
|
|
3
3
|
pages?: {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
} | undefined;
|
|
6
|
-
/**
|
|
6
|
+
/** URLs of pages you want to excludeoptional fieldyou can set up to 10 pages in this arrayif you use this array, results will contain the keywords for which URLs from the pages object rank, but URLs from exclude_pages array do not;note that if you specify this field, the results will be based on the keywords any URL from pages ranks for regardless of intersections between them. However, you can set intersection_mode to intersect and results will contain the keywords all URLs from pages rank for in the same SERP and URLs from exclude_pages do not. use a wildcard ('*') character to specify the search patternexample:'exclude_pages':['https://www.apple.com/iphone/*','https://dataforseo.com/apis/*','https://www.microsoft.com/en-us/industry/services/'] */
|
|
7
7
|
exclude_pages?: string[] | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** full name of the locationrequired field if you don't specify location_codeNote: it is required to specify either location_name or location_codeyou can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:United Kingdom */
|
|
9
9
|
location_name?: string | undefined;
|
|
10
|
-
/**
|
|
10
|
+
/** location coderequired field if you don't specify location_nameNote: it is required to specify either location_name or location_codeyou can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:2840 */
|
|
11
11
|
location_code?: number | undefined;
|
|
12
|
-
/**
|
|
12
|
+
/** full name of the languagerequired field if you don't specify language_codeNote: it is required to specify either language_name or language_codeyou can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:English */
|
|
13
13
|
language_name?: string | undefined;
|
|
14
|
-
/**
|
|
14
|
+
/** language coderequired field if you don't specify language_nameNote: it is required to specify either language_name or language_codeyou can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:en */
|
|
15
15
|
language_code?: string | undefined;
|
|
16
|
-
/**
|
|
16
|
+
/** search results typeindicates type of search results included in the responseoptional fieldpossible values: ['organic', 'paid', 'featured_snippet', 'local_pack']default value: ['organic', 'paid'] */
|
|
17
17
|
item_types?: string[] | undefined;
|
|
18
|
-
/**
|
|
18
|
+
/** the maximum number of returned keywordsoptional fielddefault value: 100maximum value: 1000 */
|
|
19
19
|
limit?: number | undefined;
|
|
20
|
-
/**
|
|
20
|
+
/** offset in the items array of returned keywordsoptional fielddefault value: 0if you specify 10 here, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords */
|
|
21
21
|
offset?: number | undefined;
|
|
22
|
-
/**
|
|
22
|
+
/** indicates if the subdomains will be included in the searchoptional fieldif set to false, the subdomains will be ignoreddefault value: true */
|
|
23
23
|
include_subdomains?: boolean | undefined;
|
|
24
|
-
/**
|
|
24
|
+
/** indicates whether to intersect keywordsoptional fielduse this field to intersect or merge results for the specified URLspossible values: union, intersectunion - results are based on all keywords any URL from pages rank for;intersect - results are based on the keywords all URLs from pages rank for in the same SERP:by default, results are based on the intersect mode if you specify only pages array. If you specify exclude_pages as well, results are based on the union mode */
|
|
25
25
|
intersection_mode?: string | undefined;
|
|
26
|
-
/**
|
|
26
|
+
/** include data from SERP for each keywordoptional fieldif set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the responsedefault value: false */
|
|
27
27
|
include_serp_info?: boolean | undefined;
|
|
28
|
-
/**
|
|
28
|
+
/** include or exclude data from clickstream-based metrics in the resultoptional fieldif the parameter is set to true, you will receive clickstream_keyword_info, clickstream_etv, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the responsedefault value: falsewith this parameter enabled, you will be charged double the price for the requestlearn more about how clickstream-based metrics are calculated in this help center article */
|
|
29
29
|
include_clickstream_data?: boolean | undefined;
|
|
30
|
-
/**
|
|
30
|
+
/** ignore highly similar keywordsoptional fieldif set to true only core keywords will be returned, all highly similar keywords will be excluded; default value: false */
|
|
31
31
|
ignore_synonyms?: boolean | undefined;
|
|
32
|
-
/**
|
|
32
|
+
/** array of results filtering parametersoptional fieldyou can add several filters at once (8 filters maximum)you should set a logical operator and, or between the conditionsthe following operators are supported:regex, not_regex, , >=, =, <>, in, not_in, ilike, not_ilike, like, not_like, match, not_matchyou can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more charactersnote that if you want to filter by any field in the intersection_result array you need to specify the number of corresponding pagefor instance, if you want to filter results by the ranking of the first specified URL, you should set the following filter:[intersection_result.1.rank_absolute,'=',1]if you want to filter results and receive only organic listings for the third specified URL, you should set the following filter:[intersection_result.3.type,'=','organic'] , etc.example:['keyword_data.keyword_info.search_volume','in',[100,1000]][['intersection_result.1.etv','>',0],'and',['intersection_result.1.description','like','%goat%']][['keyword_data.keyword_info.search_volume','>',100],'and',[['intersection_result.2.description','like','%goat%'],'or',['intersection_result.2.type','=','organic']]]for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide */
|
|
33
33
|
filters?: any[] | undefined;
|
|
34
|
-
/**
|
|
34
|
+
/** results sorting rulesoptional fieldyou can use the same values as in the filters array to sort the resultspossible sorting types:asc - results will be sorted in the ascending orderdesc - results will be sorted in the descending orderyou should use a comma to set up a sorting parameterexample:['keyword_data.keyword_info.competition,desc']default rule:['keyword_data.keyword_info.search_volume,desc']note that you can set no more than three sorting rules in a single requestyou should use a comma to separate several sorting rulesexample:['intersection_result.1.rank_group,asc','intersection_result.2.rank_absolute,asc'] */
|
|
35
35
|
order_by?: string[] | undefined;
|
|
36
|
-
/**
|
|
36
|
+
/** user-defined task identifieroptional fieldthe character limit is 255you can use this parameter to identify the task and match it with the resultyou will find the specified tag value in the data object of the response */
|
|
37
37
|
tag?: string | undefined;
|
|
38
38
|
[key: string]: any;
|
|
39
39
|
}
|
|
40
40
|
export declare class DataforseoLabsGooglePageIntersectionLiveRequestInfo implements IDataforseoLabsGooglePageIntersectionLiveRequestInfo {
|
|
41
|
-
/**
|
|
41
|
+
/** target URLs of pagesrequired fieldyou can set up to 20 pages in this objectthe pages should be specified with absolute URLs (including http:// or https://)example:'pages': {'1':'https://www.apple.com/mac/*','2':'https://dataforseo.com/*','3':'https://support.microsoft.com/'}if you specify a single page here, we will return results only for this page;you can also use a wildcard ('') character to specify the search patternexample:'example.com'search for the exact URL'example.com/eng/'search for the example.com page and all its related URLs which start with '/eng/', such as 'example.com/eng/index.html' and 'example.com/eng/help/', etc.note: a wilcard should be placed after the slash ('/') character in the end of the URL, it is not possible to place it after the domain in the following way:https://dataforseo.comuse https://dataforseo.com/ insteadNote: this endpoint will not provide results if the number of intersecting keywords exceeds 10 million */
|
|
42
42
|
pages?: {
|
|
43
43
|
[key: string]: string;
|
|
44
44
|
} | undefined;
|
|
45
|
-
/**
|
|
45
|
+
/** URLs of pages you want to excludeoptional fieldyou can set up to 10 pages in this arrayif you use this array, results will contain the keywords for which URLs from the pages object rank, but URLs from exclude_pages array do not;note that if you specify this field, the results will be based on the keywords any URL from pages ranks for regardless of intersections between them. However, you can set intersection_mode to intersect and results will contain the keywords all URLs from pages rank for in the same SERP and URLs from exclude_pages do not. use a wildcard ('*') character to specify the search patternexample:'exclude_pages':['https://www.apple.com/iphone/*','https://dataforseo.com/apis/*','https://www.microsoft.com/en-us/industry/services/'] */
|
|
46
46
|
exclude_pages?: string[] | undefined;
|
|
47
|
-
/**
|
|
47
|
+
/** full name of the locationrequired field if you don't specify location_codeNote: it is required to specify either location_name or location_codeyou can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:United Kingdom */
|
|
48
48
|
location_name?: string | undefined;
|
|
49
|
-
/**
|
|
49
|
+
/** location coderequired field if you don't specify location_nameNote: it is required to specify either location_name or location_codeyou can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:2840 */
|
|
50
50
|
location_code?: number | undefined;
|
|
51
|
-
/**
|
|
51
|
+
/** full name of the languagerequired field if you don't specify language_codeNote: it is required to specify either language_name or language_codeyou can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:English */
|
|
52
52
|
language_name?: string | undefined;
|
|
53
|
-
/**
|
|
53
|
+
/** language coderequired field if you don't specify language_nameNote: it is required to specify either language_name or language_codeyou can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languagesexample:en */
|
|
54
54
|
language_code?: string | undefined;
|
|
55
|
-
/**
|
|
55
|
+
/** search results typeindicates type of search results included in the responseoptional fieldpossible values: ['organic', 'paid', 'featured_snippet', 'local_pack']default value: ['organic', 'paid'] */
|
|
56
56
|
item_types?: string[] | undefined;
|
|
57
|
-
/**
|
|
57
|
+
/** the maximum number of returned keywordsoptional fielddefault value: 100maximum value: 1000 */
|
|
58
58
|
limit?: number | undefined;
|
|
59
|
-
/**
|
|
59
|
+
/** offset in the items array of returned keywordsoptional fielddefault value: 0if you specify 10 here, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords */
|
|
60
60
|
offset?: number | undefined;
|
|
61
|
-
/**
|
|
61
|
+
/** indicates if the subdomains will be included in the searchoptional fieldif set to false, the subdomains will be ignoreddefault value: true */
|
|
62
62
|
include_subdomains?: boolean | undefined;
|
|
63
|
-
/**
|
|
63
|
+
/** indicates whether to intersect keywordsoptional fielduse this field to intersect or merge results for the specified URLspossible values: union, intersectunion - results are based on all keywords any URL from pages rank for;intersect - results are based on the keywords all URLs from pages rank for in the same SERP:by default, results are based on the intersect mode if you specify only pages array. If you specify exclude_pages as well, results are based on the union mode */
|
|
64
64
|
intersection_mode?: string | undefined;
|
|
65
|
-
/**
|
|
65
|
+
/** include data from SERP for each keywordoptional fieldif set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the responsedefault value: false */
|
|
66
66
|
include_serp_info?: boolean | undefined;
|
|
67
|
-
/**
|
|
67
|
+
/** include or exclude data from clickstream-based metrics in the resultoptional fieldif the parameter is set to true, you will receive clickstream_keyword_info, clickstream_etv, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the responsedefault value: falsewith this parameter enabled, you will be charged double the price for the requestlearn more about how clickstream-based metrics are calculated in this help center article */
|
|
68
68
|
include_clickstream_data?: boolean | undefined;
|
|
69
|
-
/**
|
|
69
|
+
/** ignore highly similar keywordsoptional fieldif set to true only core keywords will be returned, all highly similar keywords will be excluded; default value: false */
|
|
70
70
|
ignore_synonyms?: boolean | undefined;
|
|
71
|
-
/**
|
|
71
|
+
/** array of results filtering parametersoptional fieldyou can add several filters at once (8 filters maximum)you should set a logical operator and, or between the conditionsthe following operators are supported:regex, not_regex, , >=, =, <>, in, not_in, ilike, not_ilike, like, not_like, match, not_matchyou can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more charactersnote that if you want to filter by any field in the intersection_result array you need to specify the number of corresponding pagefor instance, if you want to filter results by the ranking of the first specified URL, you should set the following filter:[intersection_result.1.rank_absolute,'=',1]if you want to filter results and receive only organic listings for the third specified URL, you should set the following filter:[intersection_result.3.type,'=','organic'] , etc.example:['keyword_data.keyword_info.search_volume','in',[100,1000]][['intersection_result.1.etv','>',0],'and',['intersection_result.1.description','like','%goat%']][['keyword_data.keyword_info.search_volume','>',100],'and',[['intersection_result.2.description','like','%goat%'],'or',['intersection_result.2.type','=','organic']]]for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide */
|
|
72
72
|
filters?: any[] | undefined;
|
|
73
|
-
/**
|
|
73
|
+
/** results sorting rulesoptional fieldyou can use the same values as in the filters array to sort the resultspossible sorting types:asc - results will be sorted in the ascending orderdesc - results will be sorted in the descending orderyou should use a comma to set up a sorting parameterexample:['keyword_data.keyword_info.competition,desc']default rule:['keyword_data.keyword_info.search_volume,desc']note that you can set no more than three sorting rules in a single requestyou should use a comma to separate several sorting rulesexample:['intersection_result.1.rank_group,asc','intersection_result.2.rank_absolute,asc'] */
|
|
74
74
|
order_by?: string[] | undefined;
|
|
75
|
-
/**
|
|
75
|
+
/** user-defined task identifieroptional fieldthe character limit is 255you can use this parameter to identify the task and match it with the resultyou will find the specified tag value in the data object of the response */
|
|
76
76
|
tag?: string | undefined;
|
|
77
77
|
[key: string]: any;
|
|
78
78
|
constructor(data?: IDataforseoLabsGooglePageIntersectionLiveRequestInfo);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DataforseoLabsGooglePageIntersectionLiveTaskInfo } from "./DataforseoLabsGooglePageIntersectionLiveTaskInfo";
|
|
2
2
|
import { BaseResponseInfo, IBaseResponseInfo } from "./BaseResponseInfo";
|
|
3
3
|
export interface IDataforseoLabsGooglePageIntersectionLiveResponseInfo extends IBaseResponseInfo {
|
|
4
|
-
/**
|
|
4
|
+
/** array of tasks */
|
|
5
5
|
tasks?: DataforseoLabsGooglePageIntersectionLiveTaskInfo[] | undefined;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
8
|
export declare class DataforseoLabsGooglePageIntersectionLiveResponseInfo extends BaseResponseInfo implements IDataforseoLabsGooglePageIntersectionLiveResponseInfo {
|
|
9
|
-
/**
|
|
9
|
+
/** array of tasks */
|
|
10
10
|
tasks?: DataforseoLabsGooglePageIntersectionLiveTaskInfo[] | undefined;
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
constructor(data?: IDataforseoLabsGooglePageIntersectionLiveResponseInfo);
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { DataforseoLabsGooglePageIntersectionLiveItem } from "./DataforseoLabsGooglePageIntersectionLiveItem";
|
|
2
2
|
export interface IDataforseoLabsGooglePageIntersectionLiveResultInfo {
|
|
3
|
-
/**
|
|
3
|
+
/** search engine type */
|
|
4
4
|
se_type?: string | undefined;
|
|
5
|
-
/**
|
|
5
|
+
/** URLs you specified a POST array */
|
|
6
6
|
pages?: {
|
|
7
7
|
[key: string]: string;
|
|
8
8
|
} | undefined;
|
|
9
|
-
/**
|
|
9
|
+
/** URLs you specified in a POST array that will be excluded from the results */
|
|
10
10
|
exclude_pages?: string[] | undefined;
|
|
11
|
-
/**
|
|
11
|
+
/** location code in a POST array */
|
|
12
12
|
location_code?: number | undefined;
|
|
13
|
-
/**
|
|
13
|
+
/** language code in a POST array */
|
|
14
14
|
language_code?: string | undefined;
|
|
15
|
-
/**
|
|
15
|
+
/** total amount of results in our database relevant to your request */
|
|
16
16
|
total_count?: number | undefined;
|
|
17
|
-
/**
|
|
17
|
+
/** the number of results returned in the items array */
|
|
18
18
|
items_count?: number | undefined;
|
|
19
|
-
/**
|
|
19
|
+
/** contains keywords, relevant SERP elements and related data */
|
|
20
20
|
items?: DataforseoLabsGooglePageIntersectionLiveItem[] | undefined;
|
|
21
21
|
[key: string]: any;
|
|
22
22
|
}
|
|
23
23
|
export declare class DataforseoLabsGooglePageIntersectionLiveResultInfo implements IDataforseoLabsGooglePageIntersectionLiveResultInfo {
|
|
24
|
-
/**
|
|
24
|
+
/** search engine type */
|
|
25
25
|
se_type?: string | undefined;
|
|
26
|
-
/**
|
|
26
|
+
/** URLs you specified a POST array */
|
|
27
27
|
pages?: {
|
|
28
28
|
[key: string]: string;
|
|
29
29
|
} | undefined;
|
|
30
|
-
/**
|
|
30
|
+
/** URLs you specified in a POST array that will be excluded from the results */
|
|
31
31
|
exclude_pages?: string[] | undefined;
|
|
32
|
-
/**
|
|
32
|
+
/** location code in a POST array */
|
|
33
33
|
location_code?: number | undefined;
|
|
34
|
-
/**
|
|
34
|
+
/** language code in a POST array */
|
|
35
35
|
language_code?: string | undefined;
|
|
36
|
-
/**
|
|
36
|
+
/** total amount of results in our database relevant to your request */
|
|
37
37
|
total_count?: number | undefined;
|
|
38
|
-
/**
|
|
38
|
+
/** the number of results returned in the items array */
|
|
39
39
|
items_count?: number | undefined;
|
|
40
|
-
/**
|
|
40
|
+
/** contains keywords, relevant SERP elements and related data */
|
|
41
41
|
items?: DataforseoLabsGooglePageIntersectionLiveItem[] | undefined;
|
|
42
42
|
[key: string]: any;
|
|
43
43
|
constructor(data?: IDataforseoLabsGooglePageIntersectionLiveResultInfo);
|