---
title: "Get Subpages"
method: GET
path: "/companies/{company_id_or_domain}/subpages"
tags: ["Subpages Dataset"]
---

# Get Subpages

`GET /companies/{company_id_or_domain}/subpages`

## Request

- Base URL: `https://predictleads.com/api/v3`
- URL: `https://predictleads.com/api/v3/companies/{company_id_or_domain}/subpages`
- Auth: one of:
  - API key in header `X-API-KEY` and API key in header `X-API-TOKEN`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://oauth.predictleads.com/token`

Returns a list of company's Subpages.

## Path parameters

- `company_id_or_domain` string, required

## Query parameters

- `first_seen_at_from` string, date
- `first_seen_at_until` string, date
- `page` integer
- `limit` integer

## Response `200`

Request was successfully processed.

- SubpagesDataset: Since 2021, PredictLeads has detected some 709 million subpages on about 82 million websites, with the goal to track how their websites are evolving through time. <br><br> The Subpages dataset tracks when subpages such as "about us", "blog", "careers", "api docs", "customer support" etc. are added over time.
  - `data` Subpage[], required (unresolved $ref)
  - `included` CompanyLite[], required: Contains objects referenced in property `relationships`. (unresolved $ref)
  - `meta` object: Meta information about `SubpagesDataset` object.
    - `schema_version` string, required: Represents schema version of objects.
    - `record_state` 'active', required: Represents record state of objects.
    - `count` integer: Total number of results. <br> **NOTE**: Only included in API responses when the request parameter `page` is provided, for performance reasons.

## Other responses

- `400`: Invalid request body or parameters.
- `401`: Authentication credentials are invalid or API subscription is not activated.
- `402`: Exceeded the monthly request limit.
- `403`: Request rate over limit.
- `404`: Record not found.
- `422`: Provided data failed to validate.
- `429`: Too many requests.
- `500`: Internal server error.
- `503`: Service temporarily unavailable.

## Changes

- **2026-10-01** `113413aee4a2`: 1 info
  - api operation id `company_subpages` removed and replaced with `get_api_v3_companies_subpages`
- **2026-09-29** `bf33620a940b`: 2 breaking, 3 info
  - the `data/items/attributes/last_extraction_states/items/` response's property type changed from no type to `object` for status `200`
  - removed the required property `data/items/attributes/last_extraction_states/items/attributes` from the response with the `200` status
  - added the required property `data/items/attributes/last_extraction_states/items/processed_at` to the response with the `200` status
  - added the required property `data/items/attributes/last_extraction_states/items/status` to the response with the `200` status
  - …1 more
- **2026-09-01** `a56831a1efd4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/predictleads/apis/predictleads-api-reference/changes/companies/:company_id_or_domain/subpages/get.md)

---

[API](https://skmtc.dev/predictleads/apis/predictleads-api-reference.md) - [All operations](https://skmtc.dev/predictleads/apis/predictleads-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/predictleads/apis/predictleads-api-reference/revisions/ccb9fec6a710?raw)
