Keyword Research API

Getting data on keywords

Description

The method allows getting various data on keywords.

Request format

POST https://api4.seranking.com/research/{source}/analyze-keywords/

Parameters

Name Required Description
sourceYesAlpha-2 code of the country you’re checking
keywordsYesKeywords to analyze. 5,000 max per single request.
sort NoSorting (CPC by default)
sort_order NoSorting 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

[
{
is_data_found: true,
keyword: “seranking.com”,
volume: 10,
cpc: 0.00,
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

Name Description
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 code Error message
400Incorrect order field {sort} {sort_order}
400Number of keywords exceeded. Max keywords per single request: 5000
400Invalid keywords
400Invalid source