langchain-webmetadata-extractor
LangChain tools for the Web Metadata, OpenGraph & Contact Extractor API — give an agent the ability to turn any URL into structured web intelligence, clean Markdown for RAG, contact signals for lead-gen, or a graded SEO audit.
pip install langchain-webmetadata-extractor
Quick start
Get a free API key on RapidAPI (1,000 requests/month, no credit card required).
from langchain_webmetadata_extractor import get_tools
tools = get_tools(api_key="YOUR_RAPIDAPI_KEY")
# or leave api_key out and set the WEBMETADATA_API_KEY environment variable instead
agent = create_react_agent(llm, tools) # or bind_tools(tools), or any LangGraph node
You can also import and use tools individually:
from langchain_webmetadata_extractor import WebMarkdownTool
reader = WebMarkdownTool(api_key="YOUR_RAPIDAPI_KEY")
print(reader.run("https://example.com"))
Tools included
| Tool | Use it when the agent needs to... |
|---|---|
WebMetadataExtractTool |
Get a broad, all-in-one picture of a page (SEO, contacts, tech stack, security, links) |
WebMarkdownTool |
Ingest a page's actual content into a RAG pipeline as clean Markdown |
WebContactsTool |
Find public emails/phones/social links for outreach or lead-gen workflows |
WebSEOAuditTool |
Grade a page's SEO with a score, warnings, and readability metrics |
Every tool supports both sync (.run() / ._run()) and async (.arun() / ._arun()) execution, and returns a JSON string — API errors come back as {"error": true, "status_code": ..., "detail": ...} instead of raising, so an agent loop can react to them without crashing.
Configuration
Pass api_key explicitly per tool, or set it once via the WEBMETADATA_API_KEY environment variable and omit it everywhere:
export WEBMETADATA_API_KEY=your-rapidapi-key
Links
- Python SDK this wraps (
webmetadata-extractor) - Full API documentation
- Live interactive demo — no signup needed
License
MIT
Metadata
Release files for langchain-webmetadata-extractor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_webmetadata_extractor-0.1.0.tar.gz | 5.3 kB | Without provenance | Details for langchain_webmetadata_extractor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_webmetadata_extractor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_webmetadata_extractor-0.1.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / langchain_webmetadata_extractor-0.1.0.tar.gz
| Download URL | langchain_webmetadata_extractor-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8363c64f27894c3b397f303958cc880f1df1356ed331735324deae63fcf49c6
|
|
BLAKE2b-256 checksum How to use checksums |
e8186727bea6ce8bb93da4d4887801a5e4c16d6bb10ea92c279caddd2f7634e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / langchain_webmetadata_extractor-0.1.0-py3-none-any.whl
| Download URL | langchain_webmetadata_extractor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a71d808223df288cb57fad1b29d6b4a0e74c1c669329c52fd3e59fed361c6c0
|
|
BLAKE2b-256 checksum How to use checksums |
0e801571bead57a7a26372292f64a0be849d5a43934cde870f922575b147e608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for langchain-webmetadata-extractor 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.