View source: R/search_analytics.R
sst_sa_keyword_top | R Documentation |
Returns a list of results (URLs) from search engine results page (SERP) including organic results, paid results and different types of SERP features.
sst_sa_keyword_top(api_token, keyword, se, top_size = 100)
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
|
top_size |
(optional) Set the number of URLs to get in response. |
Returns a list with the data about search engine results page for the keyword.
Check all the values for request and response fields here.
1 per URL in response.
## Not run:
api_token <- Sys.getenv('SERPSTAT_API_TOKEN')
sst_sa_keyword_top(
api_token = api_token,
keyword = 'serpstat',
se = 'g_us',
top_size = 10
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.