WebFetch API
WebFetch API
Public overview for fetching structured content from public web pages with Lexmount WebFetch.
Lexmount WebFetch is the public API for fetching web pages, rendering when needed, and returning structured output without building your own scraping pipeline.
What It Covers
POST /v1/extractfor all-in-one structured extractionPOST /v1/dom/dumpfor captured HTML and DOM snapshot reusedom_idreuse between fetch and extract flows- trace and raw DOM controls for debugging
- common HTTP and API error handling patterns
Authentication
- The API is currently in internal testing
- External requests must include both
X-API-KeyandX-Project-Id - Create or copy them from https://browser.lexmount.cn/settings/api-keys
- For overseas access, use https://browser.lexmount.com/settings/api-keys and replace the endpoint with
https://api.lexmount.com
Start Here
- Quick Start for the first request, response shape, and when to use
dump-dom - All-in-One Extract for the full
/v1/extractrequest and response contract - Dump DOM for engine selection, HTML capture, and
dom_idreuse - Common Errors for integration troubleshooting
Typical Workflow
- Call
POST /v1/extractwithextract.urlfor the normal production path. - If you need workflow diagnostics, explicitly enable
trace.include_steps. - If extraction fails or you need to inspect captured HTML, call
POST /v1/dom/dump. - Reuse the returned
dom_idin/v1/extractto separate fetch problems from extraction problems.
Common Output Fields
The most common result fields are:
titledescriptionmain_textfinal_urlauthorpublish_timelinksimagesenginedom_id
Lexmount Docs