Logo of LexmountLexmount Docs
Logo of LexmountLexmount Docs
Homepage

Introduction

Documentation Overview
WebFetch APIQuick Start
X (Twitter)
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/extract for all-in-one structured extraction
  • POST /v1/dom/dump for captured HTML and DOM snapshot reuse
  • dom_id reuse 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-Key and X-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/extract request and response contract
  • Dump DOM for engine selection, HTML capture, and dom_id reuse
  • Common Errors for integration troubleshooting

Typical Workflow

  1. Call POST /v1/extract with extract.url for the normal production path.
  2. If you need workflow diagnostics, explicitly enable trace.include_steps.
  3. If extraction fails or you need to inspect captured HTML, call POST /v1/dom/dump.
  4. Reuse the returned dom_id in /v1/extract to separate fetch problems from extraction problems.

Common Output Fields

The most common result fields are:

  • title
  • description
  • main_text
  • final_url
  • author
  • publish_time
  • links
  • images
  • engine
  • dom_id

Documentation Overview

Read Lexmount docs by console quick start, SDK integration, demos, and integrations.

Quick Start

Send your first WebFetch request and understand the default response behavior.

Table of Contents

What It Covers
Authentication
Start Here
Typical Workflow
Common Output Fields