URL to Markdown

Convert web pages to clean, readable Markdown format.

Endpoint

POST https://www.acrewity.com/api/services/execute

Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

n8n Integration

This service is also available via our n8n community node: @acrewity/n8n-nodes-acrewity

Operations

Convert URL to Markdown

Convert a webpage to markdown format

Operation ID: url_to_markdown

Parameters

Parameter Type Required Default Description
url string Yes - URL to convert to markdown

Note: The service automatically detects single-page applications (SPAs) and JavaScript-heavy sites. If the initial static fetch returns minimal content, it automatically retries using Puppeteer for full JavaScript rendering.

Example Request

Convert Web Page:

{
  "service": "url-to-markdown",
  "operation": "url_to_markdown",
  "parameters": {
    "url": "https://blog.example.com/scaling-nodejs-applications"
  }
}

Convert Documentation Site:

{
  "service": "url-to-markdown",
  "operation": "url_to_markdown",
  "parameters": {
    "url": "https://docs.example.com/api-reference"
  }
}

Example Response

{
  "success": true,
  "result": {
    "data": {
      "url": "https://blog.example.com/scaling-nodejs-applications",
      "title": "Scaling Node.js Applications",
      "markdown": "# Scaling Node.js Applications\n\nLearn how to scale your Node.js apps to handle millions of requests...\n\n## Key Strategies\n\n- **Clustering**: Use all CPU cores\n- **Load Balancing**: Distribute traffic\n- **Caching**: Redis for session storage\n\n...",
      "html_length": 15420,
      "markdown_length": 4823,
      "word_count": 892,
      "filename": "scaling-nodejs-applications.md"
    }
  },
  "credits_used": 1
}

More Examples

See Content Automation Examples for complete workflow examples including knowledge base building, competitor analysis, and content aggregation.