Skip to main content

Install

uv add beecrawl-py

Usage

from beecrawl_sdk import BeeCrawlClient

client = BeeCrawlClient(
    api_key="your-key",
    base_url="https://api.beecrawl.dev",
)

page = client.scrape(
    "https://example.com",
    formats=["markdown", "links"],
    use_browser="auto",
)

job = client.crawl("https://example.com", limit=100, maxDepth=2)
result = client.poll_crawl(job["id"], interval=2)
An async client with the same API is available as AsyncBeeCrawlClient.