Mercury
APIClean web parsing API for structured article content
Overview
Mercury API is a RESTful web parser that extracts clean, structured content from web pages. Its main endpoint accepts a target URL and returns JSON with key details: article title, author, publication date, formatted/plain body text, images, and reading time. It strips away ads, navigation, and other non-essential elements, making it ideal for content aggregators, reading apps, or tools needing efficient web content processing. It supports both desktop and mobile URLs, handling diverse layouts without manual HTML parsing.
Example Integration (JavaScript)
fetch('https://mercury.postlight.com/web-parser/')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful architecture
- JSON response format
- Extracts core content (title, author, body)
- Calculates reading time
- Removes ads/navigation elements
- Supports mobile/desktop URLs
Frequently Asked Questions
? Is Mercury free to use?
Yes, Mercury offers a free tier with 1,000 requests/month. Paid plans are available for higher volume and additional features.
? Does it require an API Key?
Yes, you need to sign up for an API key to authenticate requests to the Mercury API.
? What is the response format?
The Mercury API returns responses in JSON format, containing structured fields like title, author, publication date, body text, and reading time.
Top Alternatives
People Also Ask about Mercury
Tool Info
Pros
- ⊕ Easy to integrate with apps
- ⊕ High-quality structured output
- ⊕ Minimal setup required
- ⊕ Handles diverse page layouts
Cons
- ⊖ Free tier has rate limits (1,000 requests/month)
- ⊖ Paid plans needed for large-scale use
- ⊖ Limited support for non-article content (e.g., e-commerce pages)