Marketing
Semrush logo

Semrush API

semrush.com

SEO and marketing intelligence - domain traffic, keyword metrics, top sites, and backlinks.

Actions
2
Category
Marketing
Login
Not required
Output
JSON

Call the Semrush API

Submit a task, then poll the job until it settles. This example runs act_semrush_domain_traffic_overview.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_semrush_domain_traffic_overview",
    "params": {}
  }'

2 actions on semrush.com

Read

  • Domain Traffic Overview

    act_semrush_domain_traffic_overviewread1 credit / call

    Returns a domain's traffic metrics, global and country ranks, and engagement stats.

  • Top Websites Listing

    act_semrush_top_websites_by_categoryread1 credit / call

    Returns top-ranked websites for a region and category with ranks and traffic.

    region
    string · required
    category
    string · required

Semrush API questions

Is there an API for Semrush?
Semrush does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for semrush.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Semrush data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when semrush.com changes its markup, Anakin updates the action.
Do I need a Semrush account?
No. Every Semrush action listed here runs anonymously — no account and no credentials required.
What does the Semrush API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketing APIs

All Marketing sites