Back to Web research and extraction

Web Scrape

Bright Data

Extract one public HTTPS page as bounded Markdown or HTML text.

Current price
$0.0033/call
Availability
Ready to run
Last accepted verification

What this API does

Fetch one public HTTPS URL and return bounded text with status, content type, truncation state and capture time. The first cut supports Markdown or HTML only; it excludes authenticated pages, arbitrary headers, cookies, request bodies, screenshots, browser actions and automatic supplier fallback.

Agents select this operation with tool ID brightdata.web-scrape, then inspect its current executable contract before a run.

Public input and output shape

Input

formatstring · optional

Value supplied for format.

enum: markdown, html

urlstring · required

Value supplied for url.

format: uri · maxLength: 2048

Output

captured_atstring

Returned captured at value.

contentstring

Returned content value.

content_typestring

Returned content type value.

requested_urlstring

Returned requested url value.

resolved_urlnull

Returned resolved url value.

statusnumber

Returned status value.

truncatedboolean

Returned truncated value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "brightdata.web-scrape",
  "input": {
    "url": "https://example.com/",
    "format": "markdown"
  }
}

Output

{
  "status": 200,
  "content": "# Example Domain\n\nThis domain is for use in illustrative examples.",
  "truncated": false,
  "captured_at": "2026-08-20T00:00:00.000Z",
  "content_type": "text/markdown",
  "resolved_url": null,
  "requested_url": "https://example.com/"
}
Teaching errors and limitations
  • invalid_input: url must resolve only to public internet addressesexample: {"url":"https://example.com/","format":"markdown"}
  • configuration_error: The web scraper is not configured on the server.The wallet was not charged.
Updated
20 August 2026

Use Web Scrape with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.