Bright Data Scrape As Markdown

1.8 credits/call
ae_brightdata_scrape_as_markdown

Fetch a single web page through Bright Data for reading, summarization, or content extraction. Provide the required `url` as a page URL. The optional `format` parameter accepts `markdown` (default), `text`, `html`, or `ld_json`. The documented result is JSON containing `url`, `title`, `format`, and `content`. Markdown provides readable page content; text provides plain text without links or headings; HTML provides raw markup for inspection or later extraction with CSS selectors; LD-JSON provides schema.org data present on the page, such as price, rating, or author. The content is returned in one format. If the page has no data in the requested format, the tool returns Markdown instead and includes a note. The tool does not render JavaScript. Requests that take longer than 45 seconds time out.

Productivity
1.8 credits/call

Pricing

1.8 credits/call
ConditionCharge
Each call1.8 credits/call

Each call fetches one webpage and returns its content in one format. Supported formats are markdown (default), text, html, and ld_json. If the page has no data in the requested format, Markdown is returned instead with a note.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
urlstringYesURL of the web page to fetch.—
formatenum (markdown | text | html | ld_json)NoFormat for the returned page content: markdown (default), text (plain text without links or headings), html (raw HTML), or ld_json (schema.org data present on the page). If the page has no data in the requested format, Markdown is returned instead with a note.markdown

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_brightdata_scrape_as_markdown' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "format": "markdown",
    "url": "https://m.ly.com/travel/flight/KNC-NGB"
  }
}'
Response exampleresponse.json
JSONPartial content
"{\"content\":\"[同程旅行](/travel/)\\n\\n吉安 → 宁波\\n\\n11/11周三¥715\\n\\n11/12周四¥260\\n\\n11/13周五¥818\\n\\n11/14周六¥378\\n\\n11/15周日¥680\\n\\n11/16周一¥681\\n\\n11/17周二¥318\\n\\n11/18周三¥490会员日\\n\\n11/19周四¥268\\n\\n11/20周五¥680\\n\\n11/21周六¥258\\n\\n11/22周日¥490\\n\\n11/23周一¥680\\n\\n11/24周二¥318\\n\\n11/25周三¥490\\n\\n# 吉安到宁波机票查询\\n\\n 共 1 个航班 · 2026-11\",\"format\":\"markdown\",\"title\":\"吉安到宁波机票查询_航班时刻票价 | 同程旅行\",\"url\":\"https://m.ly.com/travel/flight/KNC-NGB\"}"

This example shows part of the response. Copied content is valid JSON.

Guides using this tool

See how this tool fits into real workflows