Skip to main content
GET
Domain vs Domain
Cross-domain keyword position comparison across up to 5 domains. Billing is per returned data row, $0.72 per row (up to 20 rows). A broad seed returns more rows, so the input size decides the cost — start narrow. ⚠️ The response is semicolon-delimited text, not JSON — parse it as CSV-style rows. Related: get_semrush-domain-organic-competitors.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

domains
string
required

Comparison spec: sign|type|domain groups joined by | (sign in + - * /, type in or/ad). Example: +|or|ahrefs.com|+|or|semrush.com.

Example:

"+|or|ahrefs.com|+|or|semrush.com"

database
string
required

Regional database / country code, e.g. us.

Example:

"us"

Response

200 - text/plain

Semicolon-delimited rows. Header: Keyword;ahrefs.com.

The response is of type string.