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
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Semrush API key before the first call: More: API Key
pnpm corsair setup --plugin=semrush --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.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 keywordWhat’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.