---
title: "Page intersection"
method: POST
path: "/pages/intersection"
---

# Page intersection

`POST /pages/intersection`

## Request

- Base URL: `https://www.agentseo.dev/api/v1`
- URL: `https://www.agentseo.dev/api/v1/pages/intersection`
- Auth: API key in header `x-api-key`

Compare ranking pages to find shared page keywords or competitor-page keywords excluded from your pages. Costs 5 credits per 100 requested keywords, minimum 5. Clickstream enrichment doubles credit cost.

## Query parameters

- `sync` boolean

## Headers

- `x-project-id` string
- `x-workflow-id` string

## Request body

- PageIntersectionParams
  - `pages` string[], required: Absolute page URLs or wildcard URL patterns to compare.
  - `exclude_pages` string[]: Absolute page URLs or wildcard URL patterns to exclude, usually your own page group.
  - `location` string: Human-friendly search market. If provided with location_code, location_code wins.
  - `location_code` integer: Optional provider location code for deterministic geo-targeting.
  - `language` string
  - `item_types` string[]
  - `limit` integer
  - `offset` integer
  - `include_subdomains` boolean
  - `intersection_mode` 'union' | 'intersect'
  - `include_serp_info` boolean
  - `include_clickstream_data` boolean: Doubles credit cost when true.
  - `ignore_synonyms` boolean
  - `min_search_volume` integer
  - `max_rank` integer
  - `sort_by` 'opportunity' | 'search_volume' | 'traffic_gap' | 'rank' | 'cpc'

## Response `200`

Completed page intersection workflow with agent_workflow

- PageIntersectionResponse
  - `pages` string[]
  - `exclude_pages` string[]
  - `location` object
  - `page_intersection` object
  - `agent_workflow` AgentWorkflow
    - `summary` string
    - `decision` 'ready' | 'act_now' | 'monitor' | 'blocker'
    - `confidence` number
    - `recommended_actions` AgentWorkflowAction[]
      - `priority` 'critical' | 'high' | 'medium' | 'low'
      - `action` string
      - `why` string
    - `evidence` AgentWorkflowEvidence[]
      - `finding` string
      - `detail` string
      - `severity` 'critical' | 'high' | 'medium' | 'low'
    - `limitations` string[]
    - `next_calls` AgentWorkflowNextCall[]
      - `endpoint` string
      - `reason` string
  - `markdown_summary` string

## Other responses

- `202`: Job queued or still processing

---

[API](https://skmtc.dev/agentseo/apis/agentseo-api.md) · [All operations](https://skmtc.dev/agentseo/apis/agentseo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentseo/apis/agentseo-api/revisions/53a62da6f92c?raw)
