Docs · Reference
URL to Markdown
GET /v1/url/markdown1 credit / requestcache 60 minThe main content of a web page as clean Markdown (boilerplate, navigation and ads removed) with title, description, author, publish date and language. Built for LLMs and RAG pipelines. Respects robots.txt by default.
Query parameters
urlstring · required | Public http(s) URL to convert. |
include_linksboolean | Keep hyperlinks in the Markdown. Default: true |
respect_robotsboolean | Refuse URLs disallowed by the site's robots.txt. Default: true |
max_ageinteger | Accept a cached answer up to this many seconds old, billed at 50%. |
Response data fields
title / heading· The HTML <title> and the main content heading.description / author / published / site_name· Metadata detected on the page.language· Language from the html lang attribute.markdown· Main content as Markdown, without navigation, ads or footers.word_count· Words in the Markdown.
Example
curl "https://api.gridlode.com/v1/url/markdown?url=https%3A%2F%2Fexample.com%2F" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the URL to Markdown API page.