sst_sa_keyword_top: Top for a keyword

Description Usage Arguments Value API rows consumption Examples

View source: R/search_analytics.R

Description

Returns a list of results (URLs) from search engine results page (SERP) including organic results, paid results and different types of SERP features.

Usage

1
sst_sa_keyword_top(api_token, keyword, se, top_size = 100)

Arguments

api_token

(required) Serpstat API token from your profile.

keyword

(required) A keyword to search for.

se

(required) Search engine alias (db_name) returned by sst_sa_database_info.

top_size

(optional) Set the number of URLs to get in response.

Value

Returns a list with the data about search engine results page for the keyword.

API rows consumption

1 per URL in response.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
api_token <- 'api_token'
sst_sa_keyword_top(
  api_token = api_token,
  keyword   = 'serpstat',
  se        = 'g_us',
  top_size  = 10
)

## End(Not run)

serpstatr documentation built on Jan. 11, 2021, 1:36 a.m.