# POST /seo-research/competitor-gap

**Resource:** [SEO Research](./seo.md)  
**MCP tool:** `seo_competitor_gap`  
**Scopes:** `seo:write`  
**Write operation:** yes

Find the keywords a competitor domain ranks for via TrustPager SEO, with volume/CPC/difficulty. Optionally pass your_domain to focus on the gap. Costs credits. Saved as a run.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `competitor_domain` | body | string | yes | Competitor domain, e.g. competitor.com. |
| `website_id` | body | string | yes | UUID of the website this research is for. Always required — every SEO run must belong to a website. |
| `your_domain` | body | string | no | Optional — your own domain to compare against. |
| `location` | body | string | no | Country code: AU (default), US, GB, NZ, CA. |
| `language` | body | string | no | Language code, default en. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/seo-research/competitor-gap"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"competitor_domain":"...","your_domain":"...","location":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`