# getCompanyWebsitePages

**Identifier:** `predictleads_getCompanyWebsitePages`

**Provider:** [PredictLeads](https://kirha.com/providers/predictleads.md)

Crawled pages of a company's website with their text, by page category. Use it to read what a company says on its pricing, customers, about or jobs page without fetching the site.

## Run it with the CLI

```bash
kirha tools run predictleads_getCompanyWebsitePages \
  --input '{
    "company": "stripe.com"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "predictleads_getCompanyWebsitePages",
  "input": {
    "company": "stripe.com"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "category": {
      "description": "Page category, e.g., about, pricing, customers, partners, jobs, products, leadership, investors",
      "pattern": "^[a-z_]+$",
      "type": "string"
    },
    "company": {
      "description": "Company website domain, passed as is with no prior lookup, e.g., stripe.com",
      "type": "string"
    },
    "includeText": {
      "description": "false to list pages without their text",
      "type": "boolean"
    },
    "limit": {
      "default": 10,
      "maximum": 30,
      "minimum": 1,
      "type": "integer"
    },
    "page": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "company"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "pages": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "firstSeenOn": {
            "type": "string"
          },
          "lastSeenOn": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "pages"
  ],
  "type": "object"
}
```

-----

[All PredictLeads tools](https://kirha.com/providers/predictleads.md) · [< Back to tools list](https://kirha.com/tools.md)