WebExtrator Web Rendering and Structured Extraction API
Turn accessible web pages into HTML, body text, Markdown, and structured JSON for AI Agents, RAG pipelines, and data systems. Real browser rendering, configurable wait conditions, and synchronous/asynchronous modes bring dynamic page rendering and content extraction into one API.
Infrastructure Designed for Web Page Understanding
WebExtrator does more than download HTML. It brings browser rendering, body text extraction, structured fields, and task tracking together in one developer-friendly API.
Real Page Rendering
Open target URLs in a browser environment with support for parameters such as wait_until, delay, and wait_for_selector, suitable for SPAs, news pages, e-commerce pages, and pages requiring login.
Structured Extraction
The Extract API returns titles, descriptions, authors, sites, images, links, Markdown, and the structured field for business systems to store directly or pass to downstream model workflows.
schema.org First
Product, article, recipe, video, and job listing pages often contain structured metadata. WebExtrator prioritizes this deterministic information and adds semantic normalization as needed.
Optional LLM Normalization
When a page lacks clear metadata, use enable_llm to enable semantic normalization and organize long text into a more consistent field structure.
Synchronous and Asynchronous
Small pages can be returned synchronously; for time-consuming pages, set async or callback_url to receive a task ID first, then retrieve the result through a callback or the task API.
Request-Level Control
Configure custom Headers, User-Agent, resource interception, and timeout policies in the request body, without maintaining your own browser pool, queue, or retry layer.
One POST turns a webpage into structured data
Request parameters come from the public OpenAPI: only a URL is required; for more reliable extraction, add the page type, wait conditions, headers, or an asynchronous callback URL.
task_id and trace_id/webextrator/tasksimport requests
resp = requests.post(
"https://api.acedata.cloud/webextrator/extract",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"url": "https://en.wikipedia.org/wiki/Diffbot",
"expected_type": "article",
},
timeout=120,
)
resp.raise_for_status()
result = resp.json()
if result.get("success") and isinstance(result.get("data"), dict):
print(result["data"].get("title"))
print((result["data"].get("markdown") or "")[:400])
else:
print(result)JSON response
The following response excerpt from the existing API guide shows the fields used to read the result. The sample model, task identifiers, and media content come from that historical example; refer to the actual values returned for this request.
{
"success": true,
"task_id": "550e8400-e29b-41d4-a716-446655440000",
"trace_id": "550e8400-e29b-41d4-a716-446655440001",
"elapsed": 2.412,
"data": {
"kind": "extract",
"url": "https://en.wikipedia.org/wiki/Diffbot",
"title": "Diffbot",
"markdown": "# Diffbot\n\nDiffbot is a developer of machine learning ..."
}
}Typical Use Cases
For products that need to “understand web pages”: from Agent browsers to content collection, from e-commerce monitoring to knowledge base ingestion.
AI Agent Browsing Tools
Give agents a reliable web page reading tool that distills dynamic pages into titles, body text, links, and fields instead of stuffing the entire page's HTML into the context.
RAG Content Ingestion
Extract articles, products, documentation, and FAQ pages in bulk, preserving Markdown body text and structured metadata for chunking, retrieval, and citation.
E-commerce Data Monitoring
Extract product titles, descriptions, images, and structured fields from Product pages, reducing the cost of maintaining a parser for each site.
News and Content Aggregation
Consistently extract headline, byline, siteName, description, and Markdown body text to bring content from different sites into a single data model.
Job and Listing Page Organization
Render and then extract job, directory, event, and resource collection pages, using task lookups for bulk backfills and audits.
Web Page Quality Analysis
The Render API returns the final URL, status code, title, HTML, text, and User-Agent for checking redirects, page status, and client-visible content.
Get Started in Three Steps
No browser cluster or additional message queue required. Get your key, submit a URL, and use the result.
Get an API Key
Sign in to the application list, open General Application, and click the copy button to the right of API KEY. Keep the key on your server and use it to replace YOUR_API_KEY in the examples.

Submit a URL
Call the Render or Extract API. Set wait conditions for dynamic content, and set async or a callback URL for asynchronous processing.
Write to Your System
Read data.html, data.text, data.markdown, or data.structured into a database, search index, or model context.
Why not maintain your own crawling pipeline?
The engineering effort of building your own browser, queue, callbacks, and structuring layer can quickly exceed the work on your core business. WebExtrator brings these capabilities together in a callable API.
| Capability | WebExtrator | Some Others |
|---|---|---|
| Dynamic pages | Real browser rendering, with configurable wait events, selectors, and delays. | Often return only static HTML, requiring extra engineering for SPAs or lazy-loaded content. |
| Structured results | Main content + Markdown + structured returned in a single response. | Usually require you to write your own content extraction, field mapping, and cleaning logic. |
| Long-running tasks | Async support, with results available through callbacks or the task query API. | Require you to maintain your own queues, task statuses, callbacks, and history. |
| Request control | Per-request control over Header, User-Agent, resource blocking, timeouts, and wait strategies. | Parameters are scattered across crawler frameworks and browser contexts, making them difficult to expose to business users. |
Choose the right API
Three types of APIs cover the complete workflow, from “getting pages” to “getting fields” to “querying tasks”.
Only need visible page content
Suitable for checking page status, archiving HTML, preprocessing main content, and scenarios where you need to control your own post-processing logic.
/webextrator/render- Returns HTML, text, title, status, finalUrl
- Supports wait conditions, resource blocking, and custom Header
Need fields ready for storage
Suitable for Agent, RAG, content aggregation, e-commerce monitoring, and other scenarios that turn web pages into business objects.
/webextrator/extract- Returns Markdown, images, links, and structured fields
- Use
expected_typeandenable_llmto optimize results
Need async processing and auditing
Suitable for batch tasks, slow pages, recovery from callback failures, and troubleshooting based on trace_id.
/webextrator/tasks- Supports single and batch queries
- Query by
id,trace_id,ids, ortrace_ids
Pay per request, free task queries
Render and Extract are each billed at 0.005 Credits per request; Tasks queries are free。View current plans。
Webpage rendering
Opens a URL and returns the rendered HTML, text, title, final URL, and page status.
- Chromium page rendering
- Header / User-Agent / wait_until
- Synchronous or asynchronous mode
Intelligent extraction
Builds on rendering to output body text, Markdown, images, links, and structured fields, ready for direct integration into data pipelines.
- schema.org first
- Optional LLM normalization
- expected_type page type hint
Task queries
Retrieve asynchronous and historical task results by task ID or trace ID for callback recovery, bulk lookups, and troubleshooting.
- retrieve single query
- retrieve_batch bulk query
- Supports offset / limit
Prices are displayed based on the current cost rules; final charges are determined by the platform service page and billing records.
Frequently Asked Questions
Key questions about WebExtrator parameters, synchronous and asynchronous modes, structured fields, and pricing.
How do I choose between Render and Extract?+
If you only need the rendered page's HTML, text, title, status code, and final URL, use Render. If you also want the platform to organize the main content, Markdown, images, links, and structured fields, use Extract.
When should I use asynchronous mode?+
Use async: true or callback_url when the target page loads slowly, requires additional time to wait for a selector, or when processing in batches. The API first returns a task ID, and the result can be obtained via a callback or the Tasks API.
Which values does expected_type support?+
OpenAPI currently supports product, article, and general. It is a page type hint that can reduce uncertainty in heuristic decisions.
Can I use a login session or custom request headers?+
Yes. The request body supports headers and user_agent. If the target page relies on a Cookie or a specific Header, you can pass it with the request; make sure you have permission to access the target content.
How can I reduce page loading costs?+
You can use block_resources to block resource types such as image, font, media, stylesheet, xhr, and fetch, and use wait_until, timeout, and delay to control the wait strategy.
Is there a charge for task queries?+
/webextrator/tasks queries are free. Render and Extract deduct Credits per request, and the price in US dollars varies by plan.
Related Services
Integrate content extracted by WebExtrator into search, chat, image generation, or video generation workflows.
Turn Web Pages into Usable Data Interfaces
Starting with your first URL, integrate dynamic web pages, main content, and structured fields into your Agent, RAG, monitoring, and automation workflows.