Free API key

APIs / Web Page to Markdown API

Web Page to Markdown API

Converts public web pages into clean Markdown for LLMs and RAG: main content only (navigation, ads and scripts removed), title, description, language, word count and optional retrieval chunks split along headings. Respects robots.txt.

Get a free API key Quickstart

Request

curl "https://gmpsignal.com/v1/apis/web-to-markdown?url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTTP%2FGuides%2FOverview" \
  -H "X-API-Key: YOUR_API_KEY"

Parameters

ParameterTypeDescription
urlstringPage URL, or up to 5 comma separated URLs. Example: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Overview
chunkSizeintegerOptional chunk size in characters (300-8000) to also return RAG chunks; 0 returns Markdown only. Example: 0
includeLinksstringKeep link targets in the Markdown (true or false). Example: true
includeImagesstringKeep images as Markdown images (true or false). Example: false

Use it from an AI agent

The same API is a tool named web_to_markdown on the MCP server https://gmpsignal.com/mcp. See MCP setup.

Each call uses one call from your plan.