Skip to main content

langchain-quanticdata

LangChain integration for QuanticData: give an agent live web data — pages as clean Markdown, structured SERP results, whole-site crawls, SEO audits, 74 ready-made collectors and prompt-driven datasets — all routed through residential proxies with real-browser TLS fingerprints, billed only on success.

pip install langchain-quanticdata

Set your key once (free monthly usage, no card required — get one at quanticdata.io):

export QUANTICDATA_API_KEY=qd_live_your_key_here

Document loaders

from langchain_quanticdata import QuanticDataLoader, QuanticDataCrawlLoader

# one or more URLs, rendered only when the page needs it
docs = QuanticDataLoader(["https://example.com"], content_mode="smart").load()
print(docs[0].page_content)          # Markdown
print(docs[0].metadata["title"], docs[0].metadata["engine"])

# a whole site, breadth-first
docs = QuanticDataCrawlLoader("https://docs.example.com", limit=50, depth=2).load()

Retriever

Search the live web and get the top sources back as documents — useful when an index would go stale:

from langchain_quanticdata import QuanticDataRetriever

retriever = QuanticDataRetriever(k=3, country="us")
docs = retriever.invoke("what changed in the EU AI act")

Agent toolkit

from langchain.agents import create_agent
from langchain_quanticdata import QUANTICDATA_TOOLS

agent = create_agent(model, tools=QUANTICDATA_TOOLS)
agent.invoke({"messages": [("user", "Find the 5 cheapest Nintendo Switch OLED offers in the US")]})
Tool What it does
quanticdata_scrape A page as clean Markdown; render=True for JS-heavy sites
quanticdata_extract Structured JSON from a page, driven by a plain-language instruction
quanticdata_search Google results with title, link and snippet
quanticdata_research Search plus the top pages, assembled into citation-ready context
quanticdata_map_site Every URL of a site from its sitemaps, filterable
quanticdata_seo_audit A URL with and without JavaScript, and the difference
quanticdata_list_collectors The catalogue of ready-made collectors
quanticdata_run_collector Run one by slug — Amazon, Google Maps, LinkedIn jobs, app stores…
quanticdata_create_dataset A validated dataset from a description of the rows you want

Import any of them individually if you want a smaller surface:

from langchain_quanticdata import quanticdata_search, quanticdata_scrape

Notes

  • Failed calls (blocked pages, captchas) are never billed.
  • The tools call the public QuanticData API with your own key; nothing else is stored or proxied.
  • Full parameter reference: quanticdata.io/docs.

MIT licensed.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_quanticdata-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_quanticdata-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file langchain_quanticdata-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_quanticdata-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.6

File hashes

Hashes for langchain_quanticdata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d92294c0537e31a90baf4d36c9c25cda7496fa302defde81b9358bfb66d4de37
MD5 7c40e1622260c59c419038b71f75e2f7
BLAKE2b-256 50a40d4bcacf1af744676984afcfa31e29d2cc47297f287f0695cb14702f4354

See more details on using hashes here.

File details

Details for the file langchain_quanticdata-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_quanticdata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 542d2d444f304d0e9319fb30af7274af2d1a0fbcedb4e2475c8b2d83858bd56d
MD5 eb36ebda6e160f62993f8c278e178d84
BLAKE2b-256 d0aab8e0817a166088018cd51b1265c0a74b460ca0caffc72a40021b91a5fce9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page