Skip to main content
Use Semrush through Corsair: one client, typed API calls. Requires a Semrush Version 4 API key (sent via Authorization: Apikey <key>) on a qualifying Semrush plan with available API units. Semrush limits all API methods to 10 requests per second and 10 simultaneous requests per account. Array query parameters (fields, urls, change_types) are serialized as comma-separated lists. Array query parameters on the other areas (tags, update_mask, statuses, ratings, location_ids) are sent the same way. Access differs by area, all with the same Version 4 key: the SEO, Projects, Position Tracking and Site Audit APIs spend API units from the account’s shared balance (each operation’s description gives its price); Traffic & Market needs the Traffic & Market API add-on; the Local operations (localLocations, localReviews, localGbp) need a Semrush Local subscription and don’t use API units; Map Rank Tracker spends its own credits; the Enterprise operations (enterprise, promptTracking) need a Semrush Enterprise workspace. What you get:
  • 211 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Get monthly SEO and PPC metrics for a keyword
Create a Semrush project
See the full list on the API page.

What’s next

API reference

Every semrush.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.