# On-page raw HTML

This endpoint returns the HTML of a page you indicate in the request. Needs id and url. Served by DataForSEO.

This endpoint returns the HTML of a page you indicate in the request.

- Tool ID: `dataforseo/on-page-raw-html`
- Name in the catalog: On Page Raw Html
- Provider: [DataForSEO](/providers/dataforseo.md)
- Capability: [Site audit (on-page)](/tools/seo/site-audit.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the task required field you can get this ID in the response of the Task POST endpoint example: \"07131248-1535-0216-1000-17384017ad04\"",
      "maxLength": 80,
      "minLength": 8,
      "pattern": "^[A-Za-z0-9-]+$"
    },
    "url": {
      "type": "string",
      "description": "page url required field the absolute URL of a page to request HTML Note: this field is optional if the task was set using the Instant Pages endpoint",
      "maxLength": 2000,
      "minLength": 1
    }
  },
  "required": [
    "id",
    "url"
  ],
  "additionalProperties": false
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://docs.dataforseo.com/v3/on_page/raw_html/)

[REST inspection](https://api.agentik.cc/v1/tools/dataforseo/on-page-raw-html) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/dataforseo/on-page-raw-html) · [Agent index](/llms.txt)
