TL;DR
Markbase converts any web page into clean Markdown format. Pass a URL and get back the article content stripped of ads, navigation, sidebars, and clutter — formatted in readable Markdown. It's an excellent tool for content research, archiving web articles, processing documentation, and building content pipelines. The API handles complex pages including blogs, documentation sites, and news articles.
Quick start: https://markbase.xyz/api/article?url=https://example.com
No API key needed — just make a request!
How to Use This API
1. Convert URL to Markdown
https://markbase.xyz/api/article?url=https://en.wikipedia.org/wiki/API
Returns the article content in Markdown format with headers, links, images, and code blocks preserved.
2. Get Plain Text Instead
https://markbase.xyz/api/article?url=https://example.com&format=text
Use format=text for plain text output instead of Markdown, useful for text analysis pipelines.
3. JavaScript — Save Articles to Markdown
async function urlToMarkdown(url) {
const resp = await fetch(
`https://markbase.xyz/api/article?url=${encodeURIComponent(url)}`
);
return await resp.text();
}
async function saveArticle() {
const markdown = await urlToMarkdown(
'https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API'
);
console.log('Markdown content:');
console.log(markdown.substring(0, 500) + '...');
// Save or display as needed
const container = document.getElementById('content');
if (container) {
container.textContent = markdown;
}
}
saveArticle();
4. Python — Batch Article Archiver
import requests
def convert_to_markdown(url, filename=None):
resp = requests.get(
'https://markbase.xyz/api/article',
params={'url': url}
)
if not filename:
filename = url.replace('https://', '').replace('/', '_') + '.md'
with open(filename, 'w', encoding='utf-8') as f:
f.write(resp.text)
print(f'Saved: {filename}')
return filename
articles = [
'https://en.wikipedia.org/wiki/Python_(programming_language)',
'https://en.wikipedia.org/wiki/API',
'https://en.wikipedia.org/wiki/Markdown'
]
for url in articles:
convert_to_markdown(url)
https://markbase.xyz/api/article?url=https://en.wikipedia.org/wiki/Markdown
Frequently Asked Questions
- What types of pages work best?
- Blog posts, news articles, documentation, and Wikipedia pages work excellently. The parser focuses on extracting the main content and discarding navigation, ads, and sidebars.
- Does it handle JavaScript-rendered pages?
- Markbase primarily processes server-rendered HTML. Pages that require JavaScript to load content may not work well.
- What format is the output?
- Default is Markdown (.md) with proper headings, lists, links, images, code blocks, and blockquotes. Use
format=textfor plain text. - Are there rate limits?
- Free service with reasonable usage limits. Designed for individual use and content curation — not high-frequency scraping.
- Can I use this for commercial projects?
- The service is free and open for most use cases. Check the Markbase website for terms of service regarding commercial usage.
API Details
- API URL
https://markbase.xyz/api- Documentation
- markbase.xyz
- Category
- Business
- Authentication
- Not Required
- Geographic Coverage
- Global
What You Can Build
- Article bookmarking app that saves content as Markdown
- Content research pipeline — batch convert pages to text for analysis
- Personal knowledge base — archive articles in readable format
- Documentation downloader — convert docs to offline Markdown
- Read-later app that strips clutter from web articles