Search the web
https://api.crawl4ai.com/searchCrawl4AI's own web search: results ranked and cleaned for reading, browser-free. Add rich=1 to also get the on-page extras — follow-up questions, related queries, an entity card and more (see below). For a direct answer, use /answer.
Request
curl "https://api.crawl4ai.com/search?q=rust+web+crawler" \ -H "Authorization: Bearer sk_live_..."
Query
qrequiredstring | The search query (max 512 chars). |
rich0 | 1 | Default 0Default 0 (ranked links only). |
Response
A ranked list in results. Each result:
titlestring | The page's title. |
urlstring | The page itself, not a redirect. |
snippetstring | The text shown for the page; can be empty. |
sourcegg | gs | index |
|
Rich response rich=1
Every key below is optional — each appears only when that block is on the page. For a direct answer to a question, use /answer.
{ "results": [ … ranked links, same as always … ], "rich": { "follow_up_questions": [ "Why is the sky blue at sunset?" ], "related_queries": [ "why is the ocean blue" ], "entity": { "title": "Apple Inc", "subtitle": "NASDAQ: AAPL" }, "videos": [ { "title": "…", "url": "https://…" } ], "news": [ { "title": "…", "url": "https://…" } ], "discussions": [ … ], "did_you_mean": "corrected spelling" } }
Run this call in the playground and see the real answer, the time and the units.
Next
Ask a question, get a direct answer.
Google results (SERP)GET /serpGoogle's results page as structured data: true ranks, every block Google showed.
Scrape a pagePOST /scrapeFetch a page and return clean Markdown (and/or HTML).
Something unclear or wrong on this page? Tell us.