API Description

Keyword Research

Getting data on keywords

Description

The method allows getting various data on keywords.

Request format

Title of the code block
Copy
POST https://api4.seranking.com/research/{source}/analyze-keywords/

Parameters

NameRequiredDescription
sourceYesAlpha-2 code of the country you’re checking 
keywordsYesKeywords to analyze. 5,000 max per single request.
sortNoSorting (CPC by default)
sort_orderNoSorting order: asc or desc (desc by default)
colsNoThe list of return values (separated by commas)


Result

If successful, the server returns the list of keywords with their parameters.
Example

Title of the code block
Copy
[
{
is_data_found: true,
keyword: "seranking.com",
volume: 10,
cpc: 0.0,
competition: "0.00",
difficulty: 90,
history_trend: {
"2020-03-01": 10,
"2020-04-01": 10,
"2020-05-01": 10,
"2020-06-01": 10,
"2020-07-01": 10,
"2020-08-01": 10,
"2020-09-01": 10,
"2020-10-01": 10,
"2020-11-01": 10,
"2020-12-01": 10,
"2021-01-01": 10,
"2021-02-01": 10,
},
},
]

Response parameters

NameDescription
is_data_foundShows whether keyword id data is found: values are either true or false
keywordKeyword
volumeSearch volume
cpcCPC
competitionCompetition
difficultyKeyword difficulty
history_trendSearch volume history


Errors

HTTP codeError message
400Incorrect order field {sort} {sort_order}
400Exceeded keywords size. Max keywords for one request: 10000
400Invalid keywords
400Invalid source