---
title: "Read a page as markdown — estimate"
method: POST
path: "/v1/web/scrape/estimate"
tags: ["Web"]
---

# Read a page as markdown — estimate

`POST /v1/web/scrape/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/web/scrape/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/web/scrape`.

## Request body

- object
  - `url` string, uri, required: The page to read
  - `links` boolean: Also return the links on the page
  - `max_age_seconds` integer: A copy fetched within this many seconds is fine (faster, cheaper); 0 = always fresh
  - `only_main_content` boolean: Drop menus, footers and ads

## 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)
