get https://api.similarweb.com/v4/keywords//analysis/competitors
The top websites driving search traffic for a specified keyword or custom keyword list.
Device | Granularity | Metrics |
---|---|---|
desktop, mobile, or total | Monthly or last 28 days | site, domain name, clicks, traffic share, serp_features, position, top_url |
To retrieve 'Last 28 days' data, remove the start_date & end_date parameters.
Price
0.07 data credits per domain.
The default number of results for this endpoint is 100, which means the credit cost by default will be 7 data credits.
How to find your Keyword List ID
- Insert your API key into the following endpoint, then use the JSON result: "response" > "keyword_groups" > "id" to retrieve the keyword groups created or shared in your account.
https://api.similarweb.com/v2/keywords/analysis/describe?api_key={similarweb_api_key}.
To retrieve only the Keyword Lists created by your user, add the parameter "&userOnlyGroups=true".- Visit an existing keyword list on the Similarweb platform and extract the ID (e.g. 5dd82db8-3ec5-462c-9699-5aa37a1b71de) from the URL (e.g. https://pro.similarweb.com/#/marketing/keyword/search/999/3m/*5dd82db8-3ec5-462c-9699-5aa37a1b71de/overview
Currently, this endpoint only supports a single month of data. Hence, start_date and end_date must be equal
Now also available via Batch API
You can now retrieve this data via our Batch API to streamline large-scale data access and reduce complexity.
🐨
Batch API - Keywords from REST
Open Recipe
Benefits
- Get bulk results in a single CSV file
- Automate delivery to: AWS S3, Google Cloud Storage, Snowflake
- Easily integrate into your data pipeline
- Schedule and track report generation
- Reduce the number of individual API calls
Limitations
- Supported granularities: daily, monthly
- Up to 100 keywords per request
Need help?
See our Batch API starter guide or check out the Batch API Reference to get started and discover more features.