Semrush Scraper

ENDPOINTS
GET/keywords/rank

Keyword Rank

Where a domain ranks on Google for a keyword: position, ranking page, its traffic and the domain's top keywords.

QUERY PARAMS

Root domain, any link to the site, or a semrush.com/website link. Subdomains and low-traffic sites have no data.

Examples:

  • Domain: openai.com
  • Site link: https://www.openai.com/research
  • Semrush link: https://www.semrush.com/website/openai.com/overview/

Keyword or phrase to analyze (1-200 characters).

Example: email marketing

2-letter code of the Google database to read the keyword from.

Default: US

Allowed values: any ISO 3166-1 alpha-2 code (US, GB, CA, AU, IN, DE, ...)

{
  "domain": "mailchimp.com",
  "keyword": "email marketing",
  "country": "US",
  "is_ranking": true,
  "position": 1,
  "link": "https://mailchimp.com/marketing-glossary/email-marketing/",
  "authority_score": 60,
  "search_traffic": 13570,
  "backlinks_count": 3096,
  "referring_domains_count": 1534,
  "page_keywords_count": 856,
  "serp_features": [],
  "keyword_overview": {
    "search_volume": 1220000,
    "keyword_difficulty": 91,
    "cpc": 30.3,
    "currency": "USD"
  },
  "domain_keywords": [
    {
      "keyword": "mailchimp",
      "position": 1,
      "link": "https://mailchimp.com/",
      "search_volume": 450000,
      "traffic_share_percent": 31.1
    },
    {
      "keyword": "content marketing",
      "position": 3,
      "link": "https://mailchimp.com/marketing-glossary/content-marketing/",
      "search_volume": 3350000,
      "traffic_share_percent": 10.13
    },
    {
      "keyword": "mailchimp login",
      "position": 1,
      "link": "https://login.mailchimp.com/",
      "search_volume": 60500,
      "traffic_share_percent": 4.18
    },
    {
      "keyword": "customer journey",
      "position": 5,
      "link": "https://mailchimp.com/marketing-glossary/customer-journey/",
      "search_volume": 1830000,
      "traffic_share_percent": 3.0
    },
    {
      "keyword": "email etiquette",
      "position": 10,
      "link": "https://mailchimp.com/resources/what-is-email-etiquette/",
      "search_volume": 1830000,
      "traffic_share_percent": 1.42
    },
    {
      "keyword": "email marketing campaigns",
      "position": 1,
      "link": "https://mailchimp.com/resources/email-marketing-campaign-examples/",
      "search_volume": 110000,
      "traffic_share_percent": 1.25
    },
    {
      "keyword": "mailchimp news",
      "position": 1,
      "link": "https://mailchimp.com/newsroom/",
      "search_volume": 14800,
      "traffic_share_percent": 1.02
    },
    {
      "keyword": "keyword research",
      "position": 13,
      "link": "https://mailchimp.com/resources/how-to-do-keyword-research/",
      "search_volume": 1830000,
      "traffic_share_percent": 0.63
    },
    {
      "keyword": "mailchimp pricing",
      "position": 1,
      "link": "https://mailchimp.com/pricing/marketing/",
      "search_volume": 8100,
      "traffic_share_percent": 0.55
    },
    {
      "keyword": "influencer marketing",
      "position": 2,
      "link": "https://mailchimp.com/resources/what-is-influencer-marketing/",
      "search_volume": 135000,
      "traffic_share_percent": 0.51
    }
  ],
  "serp": [
    {
      "feature": "organic",
      "feature_code": -1,
      "count": 10,
      "results": [
        {
          "position": 1,
          "link": "https://mailchimp.com/marketing-glossary/email-marketing/",
          "domain": "mailchimp.com",
          "authority_score": 60,
          "referring_domains_count": 1534,
          "backlinks_count": 3096,
          "page_keywords_count": 856,
          "search_traffic": 13570,
          "serp_features": []
        },
        {
          "position": 2,
          "link": "https://www.coursera.org/articles/email-marketing",
          "domain": "www.coursera.org",
          "authority_score": 52,
          "referring_domains_count": 296,
          "backlinks_count": 887,
          "page_keywords_count": 689,
          "search_traffic": 6474,
          "serp_features": []
        },
        {
          "position": 3,
          "link": "https://www.salesforce.com/marketing/email/",
          "domain": "www.salesforce.com",
          "authority_score": 34,
          "referring_domains_count": 101,
          "backlinks_count": 496,
          "page_keywords_count": 435,
          "search_traffic": 2197,
          "serp_features": []
        },
        {
          "position": 4,
          "link": "https://en.wikipedia.org/wiki/Email_marketing",
          "domain": "en.wikipedia.org",
          "authority_score": 69,
          "referring_domains_count": 3084,
          "backlinks_count": 25994,
          "page_keywords_count": 339,
          "search_traffic": 4507,
          "serp_features": []
        },
        {
          "position": 5,
          "link": "https://www.wgu.edu/blog/what-is-email-marketing2108.html",
          "domain": "www.wgu.edu",
          "authority_score": 48,
          "referring_domains_count": 100,
          "backlinks_count": 260,
          "page_keywords_count": 226,
          "search_traffic": 2927,
          "serp_features": []
        },
        {
          "position": 6,
          "link": "https://www.hubspot.com/products/marketing/email",
          "domain": "www.hubspot.com",
          "authority_score": 64,
          "referring_domains_count": 2193,
          "backlinks_count": 11823,
          "page_keywords_count": 1612,
          "search_traffic": 13860,
          "serp_features": []
        },
        {
          "position": 7,
          "link": "https://www.ama.org/marketing-news/what-is-email-marketing/",
          "domain": "www.ama.org",
          "authority_score": 42,
          "referring_domains_count": 131,
          "backlinks_count": 235,
          "page_keywords_count": 373,
          "search_traffic": 5981,
          "serp_features": []
        },
        {
          "position": 8,
          "link": "https://en.wikipedia.org/wiki/Email_marketing",
          "domain": "en.wikipedia.org",
          "authority_score": 69,
          "referring_domains_count": 3084,
          "backlinks_count": 25994,
          "page_keywords_count": 339,
          "search_traffic": 4507,
          "serp_features": []
        },
        {
          "position": 9,
          "link": "https://www.brevo.com/blog/what-is-email-marketing/",
          "domain": "www.brevo.com",
          "authority_score": 54,
          "referring_domains_count": 597,
          "backlinks_count": 1460,
          "page_keywords_count": 305,
          "search_traffic": 1804,
          "serp_features": []
        },
        {
          "position": 10,
          "link": "https://www.salesforce.com/marketing/email/guide/",
          "domain": "www.salesforce.com",
          "authority_score": 18,
          "referring_domains_count": 3,
          "backlinks_count": 5,
          "page_keywords_count": 220,
          "search_traffic": 109,
          "serp_features": []
        }
      ]
    },
    {
      "feature": "ai overview",
      "feature_code": 52,
      "count": 5,
      "results": [
        {
          "position": 1,
          "link": "https://mailchimp.com/marketing-glossary/email-marketing/",
          "domain": "mailchimp.com",
          "authority_score": 60,
          "referring_domains_count": 1534,
          "backlinks_count": 3096,
          "page_keywords_count": 856,
          "search_traffic": 13570,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.ama.org/marketing-news/what-is-email-marketing/",
          "domain": "www.ama.org",
          "authority_score": 42,
          "referring_domains_count": 131,
          "backlinks_count": 235,
          "page_keywords_count": 373,
          "search_traffic": 5981,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=oppqISbO_ys",
          "domain": "www.youtube.com",
          "authority_score": 24,
          "referring_domains_count": 8,
          "backlinks_count": 9,
          "page_keywords_count": 310,
          "search_traffic": 66,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=By7qL9Wk44M",
          "domain": "www.youtube.com",
          "authority_score": 27,
          "referring_domains_count": 15,
          "backlinks_count": 24,
          "page_keywords_count": 309,
          "search_traffic": 994,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=J0CEiuOfON0&vl=en",
          "domain": "www.youtube.com",
          "authority_score": 22,
          "referring_domains_count": 2,
          "backlinks_count": 2,
          "page_keywords_count": 2221,
          "search_traffic": 3448,
          "serp_features": []
        }
      ]
    },
    {
      "feature": "video carousel",
      "feature_code": 20,
      "count": 3,
      "results": [
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=J0CEiuOfON0&vl=en",
          "domain": "www.youtube.com",
          "authority_score": 22,
          "referring_domains_count": 2,
          "backlinks_count": 2,
          "page_keywords_count": 2221,
          "search_traffic": 3448,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=By7qL9Wk44M",
          "domain": "www.youtube.com",
          "authority_score": 27,
          "referring_domains_count": 15,
          "backlinks_count": 24,
          "page_keywords_count": 309,
          "search_traffic": 994,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.youtube.com/watch?v=OrbhGa4aeAM",
          "domain": "www.youtube.com",
          "authority_score": 48,
          "referring_domains_count": 18,
          "backlinks_count": 20,
          "page_keywords_count": 745,
          "search_traffic": 853,
          "serp_features": []
        }
      ]
    },
    {
      "feature": "people also ask",
      "feature_code": 21,
      "count": 4,
      "results": [
        {
          "position": 1,
          "link": "https://www.linkedin.com/posts/more-than-words-marketing-uk-direct-marketing-specialists-highly-trusted_4-types-of-marketing-emails-transactional-activity-7394277276978266112-c4q2",
          "domain": "www.linkedin.com",
          "authority_score": null,
          "referring_domains_count": null,
          "backlinks_count": null,
          "page_keywords_count": 6,
          "search_traffic": 2,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.bookyourdata.com/blog/how-much-are-email-lists-worth",
          "domain": "www.bookyourdata.com",
          "authority_score": 9,
          "referring_domains_count": 24,
          "backlinks_count": 46,
          "page_keywords_count": 100,
          "search_traffic": 61,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://business.adobe.com/blog/basics/guide-to-email-marketing",
          "domain": "business.adobe.com",
          "authority_score": 47,
          "referring_domains_count": 125,
          "backlinks_count": 337,
          "page_keywords_count": 610,
          "search_traffic": 4808,
          "serp_features": []
        },
        {
          "position": 1,
          "link": "https://www.smtp2go.com/blog/email-marketing-strategies-for-2026/",
          "domain": "www.smtp2go.com",
          "authority_score": 11,
          "referring_domains_count": 29,
          "backlinks_count": 49,
          "page_keywords_count": 33,
          "search_traffic": 31,
          "serp_features": []
        }
      ]
    },
    {
      "feature": "discussions and forums",
      "feature_code": 45,
      "count": 3,
      "results": [
        {
          "position": 4,
          "link": "https://www.linkedin.com/posts/chasedimond_6-timeless-copywriting-formulas-behind-every-activity-7485432701223858177-iRM5",
          "domain": "www.linkedin.com",
          "authority_score": null,
          "referring_domains_count": null,
          "backlinks_count": null,
          "page_keywords_count": 2,
          "search_traffic": 2,
          "serp_features": []
        },
        {
          "position": 4,
          "link": "https://www.reddit.com/r/DigitalMarketing/comments/1v2kcmm/should_we_abandone_email_marketing/",
          "domain": "www.reddit.com",
          "authority_score": null,
          "referring_domains_count": null,
          "backlinks_count": null,
          "page_keywords_count": 2,
          "search_traffic": 0,
          "serp_features": []
        },
        {
          "position": 4,
          "link": "https://www.instagram.com/p/DbEiZLzjmOK/",
          "domain": "www.instagram.com",
          "authority_score": null,
          "referring_domains_count": null,
          "backlinks_count": null,
          "page_keywords_count": null,
          "search_traffic": null,
          "serp_features": []
        }
      ]
    }
  ]
}