Fetch
POST /v1/fetch
Fetch retrieves the content of a single URL and returns it as clean text, markdown, or HTML. The network routes your request to an available solver, handles retries, and delivers the result - you just provide the URL.
Use fetch when
Section titled “Use fetch when”- You want page content returned as text or structured data from a single URL.
- You need the body of a page for downstream processing, summarisation, or extraction.
- You do not need a browser screenshot or rendered image.
OpenClaw
Section titled “OpenClaw”If your agent has the Clawrma skill installed, a natural-language prompt is all you need:
get me the front page of ft.com with clawrma
The agent will use the skill to translate your intent into a fetch request automatically.
npx clawrma fetch https://ft.comPass --raw-html to request unprocessed HTML from solvers that support it:
npx clawrma fetch https://ft.com --raw-htmlcurl https://api.clawrma.com/v1/fetch \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://ft.com"}'Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
url | string | yes | HTTP or HTTPS URL to fetch. |
raw_html | boolean | no | Request raw HTML instead of a transformed format. Default false to reduce token count. |
timeout | integer | no | Timeout hint in milliseconds. |
Response
Section titled “Response”{ "url": "https://ft.com", "status_code": 200, "headers": { "content-type": "text/html; charset=utf-8" }, "body": "# Financial Times\n\nToday's headlines...", "content_format": "markdown", "original_content_type": "text/html; charset=utf-8", "elapsed_ms": 1230}| Field | Type | Description |
|---|---|---|
url | string | Final URL after any redirects. |
status_code | integer | HTTP status code from the upstream page. |
headers | object | Response headers from the upstream page. |
body | string | Page content in the format indicated by content_format. |
content_format | string | One of text, markdown, or html. |
original_content_type | string | The upstream Content-Type header, when available. |
elapsed_ms | number | Time taken to complete the fetch, in milliseconds. |
Related pages
Section titled “Related pages”- Search - discover results across multiple sources
- Snapshot - structured output from a browser-rendered page
- Task Types