> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# Estimate competitor total traffic, AI referral share, and top landing pages

> Combine POST /v1/seo/site-traffic, POST /v1/seo/domain-overview, and POST /v1/seo/top-pages to produce a competitor traffic brief covering all-channel visits, gen_ai share, and top SEO landing pages.

When sizing a competitor's audience for market research or GEO planning, combine `POST /v1/seo/site-traffic` (global all-channel visits and `gen_ai` referral share) with `POST /v1/seo/domain-overview` and `POST /v1/seo/top-pages` (single-market Google organic search footprint) into one verified brief without mixing the two traffic definitions.

## Prerequisites and cost scope

* **Inputs:** 1–5 competitor domains, a history window (`3`, `6`, or `12` months) for `site-traffic`, and one target `country` + `language` for search endpoints.
* **Pricing:** `site-traffic` costs `$0.005` (3m) / `$0.01` (6m) / `$0.015` (12m); `domain-overview` costs `$0.0183` (1 row); `top-pages` with `limit: 20` costs at most `$0.024`. Auditing one competitor end-to-end costs under `$0.06`. See [BeatAPI pricing](https://beatapi.io/pricing).

## 1. Pull global all-channel traffic and AI referral share

With [BeatAPI MCP](https://beatapi.io/integrations) connected in Claude Code or Cursor, you can generate the brief directly:

> For `competitor.com`, run BeatAPI `data:seo.site_traffic` (`months: 6`), `data:seo.domain_overview` (`country: "us"`, `language: "en"`), and `data:seo.top_pages` (`limit: 20`). Summarize `site_visits_estimate`, `traffic_sources.gen_ai`, top countries, and top landing page templates in a Markdown table. Keep total visits and search traffic estimates in separate columns, and include total `usage.price_usd`.

To run step 1 over HTTP (do not send `country` or `language`):

```bash
curl -sS https://api.beatapi.io/v1/seo/site-traffic \
  -H "Authorization: Bearer $BEATAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: seo-traffic-competitor-2026-11-23" \
  -d '{"domain":"competitor.com","months":6}' \
  -o site-traffic.json
```

Save:

* `site_visits_estimate` and `monthly_visits[]` (6-month trajectory).
* `traffic_sources`, especially `search`, `direct`, `referrals`, `social`, and `gen_ai` (AI referral share).
* `top_countries[]`, `bounce_rate`, `pages_per_visit`, and `avg_visit_seconds`.

## 2. Pull single-market organic search footprint

Call `POST https://api.beatapi.io/v1/seo/domain-overview` for your primary target market:

```json
{
  "domain": "competitor.com",
  "country": "us",
  "language": "en"
}
```

Record `organic.ranking_keywords`, `organic.search_traffic_estimate`, `organic.traffic_value_usd_estimate`, `organic.rank_distribution`, and recent movement (`new`, `up`, `down`, `lost`).

## 3. Identify the competitor's top organic landing pages

Call `POST https://api.beatapi.io/v1/seo/top-pages` with a bounded `limit`:

```json
{
  "domain": "competitor.com",
  "country": "us",
  "language": "en",
  "limit": 20
}
```

Group the top 20 `url` entries by page type (homepage, feature landing pages, alternative/comparison pages, docs, blog) to see which templates drive the competitor's organic acquisition.

## 4. Assemble the brief with clean metric boundaries

Example cost breakdown per competitor (6-month traffic window + 20 top pages):

| Step                                  | Endpoint                       | Example volume       | Cost          |
| ------------------------------------- | ------------------------------ | -------------------- | ------------- |
| Global all-channel traffic + `gen_ai` | `POST /v1/seo/site-traffic`    | 1 call (`months: 6`) | `$0.0100`     |
| Single-market organic footprint       | `POST /v1/seo/domain-overview` | 1 call, 1 row        | `$0.0183`     |
| Top 20 organic landing pages          | `POST /v1/seo/top-pages`       | 1 call, 20 rows      | `$0.0240`     |
| **Total per competitor**              | **3 calls**                    | -                    | **`$0.0523`** |

Keep `site_visits_estimate` (global all-channel visits, not unique visitors) and `search_traffic_estimate` (single-market Google search estimate) in **separate columns**, and never add them together or compare them directly. Note the observation date, `has_data` status, and settled `usage.price_usd` for each domain.

## Related

* [BeatAPI SEO Data API](https://beatapi.io/seo)
* [SEO API reference](/seo)
* [Site traffic vs search FAQ](/faq/seo-site-traffic-check)
* [Top pages FAQ](/faq/seo-top-pages)