SEMrush

API keyData & EnrichmentOrg connection

Org-level connection

SEMrush is connected once at the org level by an admin. The credential is shared across all groups that have been granted access — individual team members don't need to connect their own accounts.

Getting your API key

In SEMrush, go to Profile (top-right) → My Profile → API

Copy your API key (the same key works for all three API surfaces)

Paste it below

IMPORTANT — unit billing: SEMrush charges per data row returned, not per request. The legacy Analytics API defaults to 10,000 rows if display_limit is omitted. On Belay caps legacy calls at 1,000 rows and defaults to 100 when unspecified to protect your unit balance. Pass display_limit explicitly to control cost.

Note: the unit balance-check endpoint is on a different host and is not proxied in this version.

Ready to connect?

Sign in to On Belay and open the Integrations page to add SEMrush.

Sign in →

Permissions (scopes)

These are the data scopes On Belay can be granted for SEMrush. Your org admin controls which scopes are enabled per group.

ScopeDescriptionAccess
domain_analytics:readDomain analytics (organic, paid, competitors)Read only
keyword_research:readKeyword research (volume, difficulty, related)Read only
backlinks:readBacklinks and referring domains (v4 REST)Read only
keyword_metrics:readKeyword metrics (v4 REST)Read only
projects:readProjects — read site audits, position trackingRead only
projects:writeProjects — create and update projectsRead / Write
projects:adminProjects — delete projects (irreversible)Admin

Troubleshooting

"Invalid API key" or "Unauthorized" error
Double-check that you copied the full key without any leading/trailing spaces. Some platforms show a truncated preview — make sure to copy the full token. If the key was generated with restricted scopes, verify it includes the permissions listed above.
Connected but Claude can't access data
Check that your group has been granted access to this integration in On Belay → Groups → [your group] → Integrations. Also verify the specific scopes your group is permitted to use match what your query requires.
The key expires or stops working
Some API keys have expiration policies. Generate a new key in SEMrush and update it in On Belay → Integrations → SEMrush → Update key. Consider creating a dedicated service account or machine user for On Belay so the key isn't tied to a personal account.

Still stuck? We're happy to help.

Contact support →