---
title: "Add a website to crawl — estimate"
method: POST
path: "/v1/messaging/accounts/{accountId}/business-agent/websites/estimate"
tags: ["Business Agent"]
---

# Add a website to crawl — estimate

`POST /v1/messaging/accounts/{accountId}/business-agent/websites/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/accounts/{accountId}/business-agent/websites/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/messaging/accounts/{accountId}/business-agent/websites`.

## Path parameters

- `accountId` string, required: WhatsApp social account id (the number must be managed through the Cloud API).

## Request body

- object
  - `url` string, uri, required
  - `single_urls` string[]: Crawl only these exact pages instead of the whole site.
  - `excluded_sub_domains` string[]
  - `included_sub_domains` string[]
  - `excluded_url_patterns` string[]
  - `included_url_patterns` string[]: Only URLs containing one of these substrings are ingested.

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
