Skip to main content

langchain-wellmarked

The official LangChain integration for WellMarked — load any URL as clean Markdown Documents.

pip install langchain-wellmarked

Quick start

Set your API key (get one at wellmarked.io):

export WELLMARKED_API_KEY="wm_..."

Load a single page:

from langchain_wellmarked import WellMarkedLoader

loader = WellMarkedLoader("https://example.com/article")
docs = loader.load()

docs[0].page_content   # clean Markdown
docs[0].metadata       # {"source": ..., "title": ..., "author": ..., "retrieved_at": ...}

Or crawl a whole site BFS-style — one Document per successfully extracted page (Pro plan and above):

loader = WellMarkedLoader("https://docs.example.com", mode="crawl", depth=2)
docs = loader.load()

docs[0].metadata["depth"]   # how far from the root URL this page sits

lazy_load() works too, and the loader passes render_js=True through to the API for JS-heavy pages.

Options

Parameter Default Description
url (required) Page to extract, or root URL to crawl from
api_key env var WellMarked API key; falls back to WELLMARKED_API_KEY
mode "extract" "extract" (single page) or "crawl" (same-site BFS)
depth 1 Crawl depth (mode="crawl" only)
render_js False Render JS-heavy pages with a headless browser (Pro and above)
job_timeout 300.0 Seconds to wait for a crawl job; None waits forever

In crawl mode, pages that fail to extract (timeouts, robots-disallowed, no content) are skipped; only successful pages become Documents.

Related

Metadata

Release files for langchain-wellmarked 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-wellmarked 0.1.0
File Size Uploaded Provenance Actions
langchain_wellmarked-0.1.0.tar.gz 5.1 kB With provenance Details for langchain_wellmarked-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-wellmarked 0.1.0
File Interpreter ABI Platform Actions
langchain_wellmarked-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_wellmarked-0.1.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / langchain_wellmarked-0.1.0.tar.gz

Download URL langchain_wellmarked-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
65055cc1f4477197ece972f68fd7c6f490ba521146c4d04e201848a29e129ff0
BLAKE2b-256 checksum
How to use checksums
eb0af4668734c3bc680bb873a2a3b66baa522386c46eabaeecf1f18f1dfd1a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / langchain_wellmarked-0.1.0-py3-none-any.whl

Download URL langchain_wellmarked-0.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a3af11202adc2d043337a33723a46e2d66d60df889c9f24de5574fdfb89532
BLAKE2b-256 checksum
How to use checksums
286972325f9bfee562ea8fa0fed26c771dc70a0ef6368ba79bf54fbd796b0384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Security for langchain-wellmarked 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_wellmarked-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page