Traffic by URL mask
The SerpstatUrlProcedure.getSummaryTraffic method brings in traffic report by URL mask.
General request parameters and instructions for using Serpstat API
Search databases available
Request parameters | ||||
Parameter |
Description |
Type |
Optional |
Value Options |
id |
A request id: the response contains the same id. Enter any number (number) or text (string) value |
int/string |
no |
1, test |
method |
API method name |
string |
no |
SerpstatUrlProcedure.getSummaryTraffic |
params |
The object with parameters {...}, it lists all the following parameters and arrays [...] |
array |
no |
|
domain |
Domain to be searched |
string |
no |
adidas.com |
se |
ID of the search base to be searched (there are both Google and Yandex databases available, for example: g_us or y_157). |
string |
no |
g_us |
urlContains |
Searched part of URL |
string |
no |
/women-shoes |
Response parameters | |
Parameter |
Description |
id |
Response id corresponds the request id |
result |
Contains the answer |
totalTraff |
Total organic traffic found by URL mask |
urls |
Number of URLs to be searched |
summary_info |
Object with data |
left_lines |
API credits remaining |
Credits: When calculating used credits any API queries are taken into account in accordance with you pricing plan. This method charges 1000 API limits for a query.
Метод | Название процедуры | Логика списания средств |
1. Отправка ключевых фраз на Парсинг частотности | SerpstatTaskProcedure.addKeywordListFreq | Количество фраз * стоимость фразы = количество списанных средств |
2. Получение результатов Парсинга частотности | SerpstatTaskProcedure.getTaskResult | |
3. Статус пробивки в рамках Парсинга частотности | SerpstatTaskProcedure.getTaskStatus |