Skip to main content

quanticdata — Python SDK for the QuanticData API

Scrape any page to clean Markdown, run structured Google/Bing/DuckDuckGo searches, crawl and map whole sites, run 74 ready-made Collectors (Amazon, Google Maps, LinkedIn jobs, app stores…), build datasets from a plain-language prompt — everything through QuanticData' residential proxy network with real-browser TLS fingerprints. Pay per successful call; blocked pages cost nothing.

pip install quanticdata

Quickstart

from quanticdata import QuanticData

client = QuanticData()  # reads QUANTICDATA_API_KEY from the environment

page = client.scrape("https://example.com")
print(page["title"], page["engine"])
print(page["content"])          # the page as clean Markdown

Get a free API key at quanticdata.io — every account includes free monthly usage, no card required. Set it once:

export QUANTICDATA_API_KEY=qd_live_your_key_here

What's in the box

Every REST endpoint, one method each — responses come back with the API envelope already unwrapped:

# Structured search — 3 engines, 17 verticals, SerpApi-compatible JSON
serp = client.search("best espresso machine", country="us", num=20)
for r in serp["organic"]:
    print(r["rank"], r["title"], r["link"])

# SERP → citation-ready Markdown context for an AI prompt
ctx = client.search_and_read("latest EU AI act status", top_n=3)

# Map a site's URLs in seconds (sitemaps + homepage links)
urls = client.map("https://stripe.com", search="/blog")

# Async crawl — wait=True polls until it settles and returns the pages
job = client.crawl("https://docs.python.org", limit=30, depth=2, wait=True)

# Batch-scrape known URLs
job = client.batch(["https://a.example", "https://b.example"], wait=True)

# CSS/AI extraction on one page
data = client.scrape(
    "https://books.toscrape.com",
    extract={"titles": {"selector": "h3 a", "attr": "title", "all": True}},
)

# Learn selectors once with an LLM, then scrape the same layout for free
parser = client.generate_parser(
    "https://news.ycombinator.com",
    fields={"titles": "every story title, as a list"},
)

# 74 ready-made Collectors — semantic input instead of URLs
places = client.run_collector(
    "google_maps_places", keyword="dentist", location="Austin, TX", max_results=20
)

# Dataset from a prompt (validated rows, budget-capped)
ds = client.create_dataset(
    "coffee roasters in Portland with email and phone",
    limits={"max_rows": 50, "max_cost_usd": 2},
    wait=True,
)

# Proxy endpoints of every type — residential, mobile, datacenter, ISP, IPv6
plans = client.list_proxies(active=True)
proxies = client.generate_proxies(plans["proxies"][0]["orderId"], country="us", quantity=5)

Errors and retries

Failures raise QuanticDataError with .status, .message and .payload. Connection errors and HTTP 429 are retried with backoff; billable calls are never re-sent after a response was received, so nothing gets double-billed behind your back.

from quanticdata import QuanticData, QuanticDataError

try:
    QuanticData(api_key="qd_live_wrong").scrape("https://example.com")
except QuanticDataError as err:
    print(err.status, err.message)

Also available

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

quanticdata-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

quanticdata-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quanticdata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a96dd2b459d7946ff960c4605940f8a7d274c87b1393b7514551705213e4da3
MD5 d680bc441da101b94d9e01085b7e3327
BLAKE2b-256 2279f699c28e40aec0f8d90bf0aac2a349c6a3b1374dcaa21e40715b31a088de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quanticdata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.6

File hashes

Hashes for quanticdata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0096f0866e8f889ce41b76c4c4a28ec2214d0306522cf015db1e05cd6fb6d4
MD5 ae347a1f62403aa20905b77483e9d88d
BLAKE2b-256 4ab98fcf5e78e4ed54f9dedcc34aa3d8504c89306bf87b0bc5d4cc65b45f1ed6

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