{"agent":{"expose":"direct","prompt":"Use Crawl4AI to read news.ycombinator.com and give me the top five stories."},"also":["web scraping","scraper","get page content","page text"],"beta":false,"call":{"aliases":["POST /scrape"],"method":"POST","path":"/tools/scrape"},"categories":["web-pages"],"cost":{"cases":[{"price":"0.05 credit","when":"Archive"},{"price":"0.1 credit","when":"Plain"},{"price":"0.5 credit","when":"Browser"},{"price":"2 credits","when":"Hard site"},{"price":"","when":"Extra addresses x4"},{"price":"free","when":"Failed pages"}],"estimate":{"tiers":{"hard":2,"heavy":0.5,"instant":0.05,"light":0.1,"standard":0.1}},"rule":"archive 0.05 · plain 0.1 · browser 0.5 · hard site 2 · extra addresses x4 · failed pages are free","text":"0.05 to 2 cr"},"description":"Give it a URL, get the page as clean Markdown. A real browser and better addresses are used only when the page needs them, and you pay for the effort the page needed.","docs":"/tools/scrape","essential":true,"essential_order":1,"examples":[{"answer":{"body":{"data":{"bytes":33859,"cache":"miss","content_hash":"ac3ba44a106f0376a34e9f937396ec130fc070a0aaaa975c4af3fa1b67e4f0eb","engine":"http","fell_back":false,"final_url":"https://news.ycombinator.com/","html":"<html lang=\"en\" op=\"news\"><head><meta name=\"referrer\" content=\"origin…","ladder":[{"ms":730,"outcome":"sounder:http","rung":"http"}],"markdown":"1. [Matrix Multiplication is Θ(n^2.25) [pdf]](https://github.com/open…","ms":1072,"ok":true,"reason":"sounder:http","text_len":5307,"usage":{"boxes":["crawl"],"units":1}},"request_id":"req_…","took_ms":1412,"tool":"scrape","usage":{"credits":0.1}},"credits":0.1,"more":0,"rows":null,"took_ms":1412},"input":{"url":"https://news.ycombinator.com"},"label":"news.ycombinator.com"},{"input":{"url":"https://github.com/trending"},"label":"github.com/trending"},{"input":{"url":"https://en.wikipedia.org/wiki/Web_scraping"},"label":"A Wikipedia article"}],"id":"scrape","input_schema":{"additionalProperties":true,"properties":{"country":{"description":"Two-letter country the page is fetched from.","type":"string"},"engine":{"default":"auto","description":"auto picks; browser-light and browser start at a browser. A recent copy from that engine may be served: send the Crawl4AI-Fresh header to fetch now.","enum":["auto","browser-light","browser"],"type":"string"},"format":{"default":"both","description":"What comes back: Markdown, HTML or both.","enum":["both","md","html"],"type":"string"},"parse":{"description":"Also return structured page data.","items":{"enum":["links","media","metadata","tables"],"type":"string"},"type":"array"},"proxy":{"default":"standard","description":"extra tries harder when a site refuses; a page served that way costs 4x.","enum":["standard","extra"],"type":"string"},"timeout":{"description":"Answer within this many seconds, 5 to 120. Set it a little below your client's own timeout.","type":"number"},"url":{"description":"A public http or https URL.","type":"string"}},"required":["url"],"type":"object"},"inputs":[{"example":"https://news.ycombinator.com","help":"A public http or https URL.","name":"url","required":true,"type":"string"},{"advanced":true,"default":"both","help":"What comes back: Markdown, HTML or both.","name":"format","type":"enum","values":["both","md","html"]},{"advanced":true,"default":"auto","help":"auto picks; browser-light and browser start at a browser. A recent copy from that engine may be served: send the Crawl4AI-Fresh header to fetch now.","name":"engine","type":"enum","values":["auto","browser-light","browser"]},{"advanced":true,"default":"standard","help":"extra tries harder when a site refuses; a page served that way costs 4x.","name":"proxy","type":"enum","values":["standard","extra"]},{"advanced":true,"example":"gb","help":"Two-letter country the page is fetched from.","name":"country","type":"string"},{"advanced":true,"help":"Also return structured page data.","name":"parse","type":"string[]","values":["links","media","metadata","tables"]},{"advanced":true,"help":"Answer within this many seconds, 5 to 120. Set it a little below your client's own timeout.","name":"timeout","type":"number"}],"kind":"pages","name":{"lead":"Scrape","rest":"a page"},"output":{"fields":[{"meaning":"The page as clean Markdown","name":"markdown","type":"string"},{"meaning":"The page's HTML (format html or both)","name":"html","type":"string"},{"meaning":"What served the page, for example archive or a browser","name":"engine","type":"string"},{"meaning":"Where the answer came from when it was not fetched fresh","name":"cache","type":"string"},{"meaning":"Size of the page we read","name":"bytes","type":"integer"},{"meaning":"Characters of text on the page","name":"text_len","type":"integer"},{"meaning":"SHA-256 of the content: the same page gives the same hash","name":"content_hash","type":"string"},{"meaning":"Time we took, in milliseconds","name":"ms","type":"integer"}],"view":"markdown"},"related":[{"id":"extract","why":"Say what you want in plain words, get typed rows"},{"id":"site","why":"Every page of a site as Markdown, as one job"},{"id":"search","why":"Web results, with the pages already read when you ask"}],"source":"any","status":"verified","summary":"Any URL in, clean Markdown out","synonyms":["fetch","read a page","markdown","html to markdown","crawl a page","web page","web scraping","scraper","scrap","get page content","page text","download a page","read a webpage","url to markdown","render javascript","headless browser","fetch an article","page html","llm ready text","screenless browser"],"test":{"expect":{"min_chars":100},"input":{"url":"https://example.com"}},"typical":"0.9 s","version":1,"visibility":"public"}