{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "unclecode-crawl4ai--scrape-page-via-hosted-api",
 "repo": "unclecode/crawl4ai",
 "repo_url": "https://github.com/unclecode/crawl4ai",
 "repo_slug": "unclecode-crawl4ai",
 "title": "Scrape a page with one curl call",
 "page_title": "How to scrape a page with one curl call with Crawl4AI",
 "summary": "Call the hosted scrape endpoint and pipe the Markdown through jq.",
 "who": "A developer scripting quick page captures in a shell pipeline.",
 "problem": "Running a browser locally for one page is heavy.",
 "outcome": "Markdown of the page from a single HTTP request.",
 "steps": [
  "Get a key and export CRAWL4AI_KEY",
  "POST the URL to https://api.crawl4ai.com/scrape",
  "Pipe the response to jq to read the markdown field",
  "Save it to a file"
 ],
 "agent_prompt": "Call the Crawl4AI hosted /scrape endpoint for <url> and save the markdown field to page.md. Confirm the file is non-empty.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Self-hosting avoids per-request costs.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip",
  "Playwright Chromium (installed by crawl4ai-setup)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Keep CRAWL4AI_KEY out of shared scripts."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/unclecode-crawl4ai/scrape-page-via-hosted-api/",
 "md": "https://dedupedai.com/use-cases/unclecode-crawl4ai/scrape-page-via-hosted-api/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/unclecode-crawl4ai--scrape-page-via-hosted-api.json",
 "api_version": "v1"
}
