Get a website as clean Markdown
get_website_markdownConvert web pages into clean Markdown by crawling site links or web search results, removing navigation, ads, and footers for RAG, AI agents, documentation import, and content audits.
Instructions
Reads web pages and returns their main content as clean Markdown (navigation, ads and footers removed), with title, URL, word count and headings: start from site links and follow links on the same site, or start from web search words. Useful for RAG, AI agents, documentation import and content audits. Runs the Apify Actor tacps126/website-markdown on your Apify account (about $0.001 per page; spend per call is capped at $0.5).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_website_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Start pages, e.g. ["https://docs.apify.com/academy"]. | |
| queries | No | Web search words; the top results are read. | |
| max_depth | No | How many links deep to follow from a start page (0 = start pages only). | |
| max_items | No | Maximum results to return (default 50, max 1000). Cost scales with this. | |
| extra_input | No | Advanced: extra Actor input fields, merged over the defaults. | |
| max_pages_per_site | No | Pages to read per site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the tool that produced the result. | |
| count | Yes | Number of records the Actor returned. | |
| items | Yes | The records. Long text fields are shortened to 600 characters. | |
| shown | Yes | Number of records included in `items` (can be lower than count when the result is long). | |
| truncated | Yes | True when records were left out to keep the result short; ask for fewer items. |