Skip to main content

Fastcrawl Python SDK

The official Python client for Fastcrawl — clean, LLM-ready markdown from any URL, for your agents.

pip install fastcrawl
from fastcrawl import Fastcrawl

fc = Fastcrawl(api_key="fc_your_key")

# Scrape → markdown
result = fc.scrape("https://example.com", only_main_content=True)
print(result["markdown"])          # clean, LLM-ready markdown
print(result["credits_remaining"]) # usage meter on every response

# Crawl a site (async) → poll
crawl = fc.crawl("https://example.com", max_pages=20)
print(crawl["crawl_id"])
print(fc.crawl_status(crawl["crawl_id"]))

# Map a site, search the web, extract structured data
fc.map("https://example.com", max_urls=100)
fc.search("best AI scraping API", limit=5)
fc.extract("https://example.com/product", schema={"type": "object", "properties": {"name": {"type": "string"}}})

# PDFs, batch, captures
fc.parse("https://example.com/report.pdf")          # PDF → markdown
fc.batch_scrape(["https://a.com", "https://b.com"])
fc.screenshot("https://example.com", output_path="page.png")
fc.pdf("https://example.com", output_path="page.pdf")

# Watch your meter
fc.usage()

Every error carries a machine-readable error_code (e.g. scrape_timeout, rate_limited) — failed requests are never charged.

Notes

  • 1 credit = 1 successful page operation; failed requests never charge
  • Free tier: 2,000 credits/month, 100/day · Go: $5/mo, 5,000 included, $1 per extra 1,000

Download files

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

Source Distribution

fastcrawl-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

fastcrawl-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fastcrawl-0.1.2.tar.gz.

File metadata

  • Download URL: fastcrawl-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fastcrawl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cc2a7c0669d487c4c43a6e588bee42b89a5770dcc403df21b68fa6774422d43b
MD5 f407b6ab3edd424020ffc3386c80d9ff
BLAKE2b-256 6b3809c347bffc76212822ab4cf67892310509c3d5b1e3b5a859ae9b9d2c3555

See more details on using hashes here.

File details

Details for the file fastcrawl-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fastcrawl-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fastcrawl-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdd8051d2c28e39154b735c838b1161c43938340ebb69a8c65ac233a59dca1e9
MD5 1ccb154b42448a9a383616caa75abe7c
BLAKE2b-256 7645e03517c3a076d90f8bc58fcd7278d6a2c0abf239064374f27c648b2bd522

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

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