> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Page Content

> Get the content of a page as crawled by an Ahrefs Site Audit project: page text as Markdown, plain text, raw HTML or rendered HTML, from the latest or a past crawl

Get the content of a page as crawled by an Ahrefs Site Audit project: page text as Markdown, plain text, raw HTML or rendered HTML, from the latest or a past crawl. Fixed cost of 50 Ahrefs API units per request. Only projects with verified ownership are supported.

| | |
| - | - |
| **App** | Ahrefs |
| **Operation ID** | `ahrefs_get_page_content` |
| **Type** | Action |
| **Connection** | `ahrefs` (required) |
| **Credits per run** | Free |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `project_id` | string or SelectItem | Yes | - | The Site Audit project (numeric ID from the Ahrefs project URL) that crawled the page. Only projects with verified ownership are supported. |
| `url` | string | Yes | - | The full URL of the crawled page to retrieve. |
| `content` | string or SelectableOption | No | `page_text_md` | What to return: 'page\_text\_md' (page text as Markdown, default), 'page\_text' (plain text), 'raw\_html' or 'rendered\_html'. |
| `date` | string | No | - | Crawl to read from, as YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). Defaults to the most recent crawl. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `List[Dict]`

Returns a single row: url, crawl\_datetime, and one of page\_text\_md, page\_text, raw\_html or rendered\_html depending on the content input.

**Fields**: `url`, `crawl_datetime`, `page_text_md`

**Example**:

```json theme={"dark"}
[
  {
    "url": "https://markifact.com/pricing",
    "crawl_datetime": "2026-09-01T03:12:44Z",
    "page_text_md": "# Pricing\n\nSimple pricing for marketing automation..."
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.