> Parel documentation. Index of every page: https://parel.si/docs/llms.txt. This page in HTML: https://parel.si/docs/tools/compare_domain_keywords

# compare_domain_keywords

> The keywords two domains share or that only one ranks for, with positions and volume. ₹1.40 per call; a result that finds nothing is ₹0.

## What it does

The keywords two domains both rank for in Google, with each domain's position, the search volume and cost per click of each keyword, in one market: data with up to 100 keywords a call. Set intersections false to get the keywords only the first domain ranks for, the gap list.

Use it to see where you and a competitor fight for the same searches and where they rank and you do not; [`get_serp_competitors`](https://parel.si/docs/tools/get_serp_competitors.md) finds the competitors, [`get_ranked_keywords`](https://parel.si/docs/tools/get_ranked_keywords.md) lists one domain's keywords. Flat price per call. Under five seconds.

India: location_code 2356.

## Inputs

Generated from the contract captured from staging on 2026-11-05.

| Field | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | How many keywords, up to 100.; max 50 |
| `target1` | string | one of | Your domain, bare ("mamaearth.in"). |
| `target2` | string | one of | The other domain, bare ("minimalist.co"). |
| `item_types` | array of values | no | Result types (["organic"]). |
| `intersections` | boolean | no | true for keywords both rank for (default), false for keywords only the first ranks for. |
| `language_code` | string | no | Two-letter language code ("en"). |
| `location_code` | integer | no | Market as a numeric code: 2356 is India. |
| `include_serp_info` | boolean | no | Include the result page details per keyword. |

One of these sets must be complete (anything else is `invalid_input`, ₹0): `target1` + `target2`.

## What drives the cost

Flat per call for up to 100 keywords. A result that finds nothing is `class: "ok_free"`, ₹0. The timeout is 33 seconds.

## Price today

| | |
|---|---|
| Price today | **₹1.40** per call (`cost_paise: 140`) at ₹93.93 per US dollar on 17 November 2026 |
| Hold before the call | ₹2.10 (`hold_paise: 210`); when the call settles the real price is charged and the unused part is released |
| ₹0 when | it fails, or the provider answers but there is nothing in it (an empty list, no email, no page): `class: "ok_free"`, ₹0 |
| Timeout | 33 s, then `upstream_timeout` (₹0, retryable) |
| Over MCP | `run_tool` with `tool: "compare_domain_keywords"` |
| Over REST | `POST https://api.parel.si/v1/run` with `"tool": "compare_domain_keywords"` |
| Confirmation | not needed (the estimate is under the ₹200 threshold) |

## Request

```bash
curl https://api.parel.si/v1/run \
  -H "Authorization: Bearer $PAREL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"compare_domain_keywords","input":{"limit":20,"target1":"nykaa.com","target2":"purplle.com","language_code":"en","location_code":2356}}'
```

## What comes back

`data`, as the live check of 2026-11-05 recorded it, trimmed:

```json
{
  "target1": "nykaa.com",
  "target2": "purplle.com",
  "total_count": 52033,
  "items_count": 20,
  "items": [
    {
      "keyword_data": {
        "keyword": "ghar soaps",
        "keyword_info": {
          "search_volume": 673000,
          "cpc": 0.15000000596046448,
          "competition_level": "HIGH"
        },
        "search_intent_info": {
          "main_intent": "informational"
        }
      },
      "first_domain_serp_element": {
        "rank_absolute": 13,
        "url": "https://www.nykaa.com/ghar-soaps-sandalwood-saffron-magic-soap-pack-of-2/p/20177470",
        "title": "Buy Ghar Soaps Magic Soap | For reducing tan"
      },
      "second_domain_serp_element": {
        "rank_absolute": 19,
        "url": "https://www.purplle.com/brand/ghar-soaps",
        "title": "Buy Genuine GHAR SOAPS Products Online in India"
      }
    },
    {
      "keyword_data": {
        "keyword": "bombay shaving company",
        "keyword_info": {
          "search_volume": 368000,
          "cpc": 0.029999999329447746,
          "competition_level": "HIGH"
        },
        "search_intent_info": {
          "main_intent": "navigational"
        }
      },
      "first_domain_serp_element": {
        "rank_absolute": 11,
        "url": "https://www.nykaa.com/dp/bombay-shaving-company-trimmers",
        "title": "Buy Bombay Shaving Company Trimmers Online"
      },
      "second_domain_serp_element": {
        "rank_absolute": 18,
        "url": "https://www.purplle.com/brand/bombay-shaving-company",
        "title": "Bombay Shaving Company"
      }
    },
    {
      "keyword_data": {
        "keyword": "wishcare",
        "keyword_info": {
          "search_volume": 301000,
          "cpc": 0.029999999329447746,
          "competition_level": "HIGH"
        },
        "search_intent_info": {
          "main_intent": "navigational"
        }
      },
      "first_domain_serp_element": {
        "rank_absolute": 6,
        "url": "https://www.nykaa.com/brands/wishcare/c/6726",
        "title": "Buy Wishcare Products Online"
      },
      "second_domain_serp_element": {
        "rank_absolute": 13,
        "url": "https://www.purplle.com/brand/wishcare",
        "title": "Switch to effortless body care with WishCare"
      }
    }
  ]
}
```

## Notes

- Flat per call for up to 100 keywords.
- intersections false turns it into the gap list: keywords the first domain has and the second does not.
- Bare domains, no https or www.

## Siblings

- [`get_serp_competitors`](https://parel.si/docs/tools/get_serp_competitors.md)
- [`get_ranked_keywords`](https://parel.si/docs/tools/get_ranked_keywords.md)
