Overview
Use the Firecrawl CLI to search for sources on a research question, save each useful page as Markdown with a screenshot, and assemble the findings with links and dates into a document you can share.
Problem or Objective
- Which agents investigate a question and report back?
- Which agents turn a website into clean, model-ready data?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- npm
- Prerequisites
- A Firecrawl API key (some commands also run on a rate-limited keyless free tier) and Node.js with npm to install the CLI; each scrape or crawl consumes credits.
How It Works
Install the Firecrawl CLI with npm and log in with your Firecrawl API key. Write down the research question and what counts as evidence. Run a search on the question with a result limit and read the titles and links it returns. For each source worth keeping, scrape it with only the main content plus a screenshot, and save the output to a file named after the source. Note the URL and the date you collected it next to each file. Then build the document: one section per finding, with a short summary in your own words, the quote or figure it rests on, the screenshot, the link and the date. Open the original page for anything you rely on before you share the document.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Firecrawl.
- Connect the toolsConnect the tools this workflow relies on: npm.
- Check the prerequisitesA Firecrawl API key (some commands also run on a rate-limited keyless free tier) and Node.js with npm to install the CLI; each scrape or crawl consumes credits.
- Gather your detailsCollect what the prompt asks for: Research question, Maximum number of sources, Preferred kinds of source, Folder for saved pages.
- Run the starter promptPaste the starter prompt below into Firecrawl and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.firecrawl.dev before you rely on it.
Practical Starter Prompt: Collect evidence with screenshots
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Using the Firecrawl CLI, research this question: [Research question]. Search for up to [Maximum number of sources] sources, prefer [Preferred kinds of source], and skip pages behind a login. Wait for my approval of the source list before scraping anything. For each source I keep, save the main content as Markdown and a screenshot into the folder [Folder for saved pages], named after the site, and note the URL and today's date. Then draft a document with one section per finding: a short summary, the exact quote or figure it rests on, the screenshot, the link and the date. Show me the draft before it is shared with anyone.Approve the source list before scraping and read the draft before sharing it. Keep each screenshot next to its link and date, and check the original page for any claim you rely on.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Firecrawl's CLI page says it can search the web and optionally scrape the results from the terminal, and its README says scraping returns markdown, JSON, screenshots and more. Putting the document together happens in your own editor, by hand or with a small script; no cited page covers a particular document tool.
Limitations and Considerations
Firecrawl's README makes users responsible for respecting websites' policies, advises following privacy policies and terms of use, and says it respects robots.txt by default. Skip pages behind logins and personal details you have no reason to keep. The CLI page says each scrape or crawl consumes credits, so check your balance before a large run. A screenshot shows a page at one moment: keep the collection date and check pages again before publishing conclusions. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About firecrawl/firecrawl
Firecrawl: biến mọi trang web thành Markdown cho AI (opens in a new tab)
Walkthrough of firecrawl by Săn Repo Hay: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)About firecrawl/firecrawl
Evolution of firecrawl/firecrawl code base (opens in a new tab)
Walkthrough of firecrawl by Code Fireworks: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- CLI | Firecrawl (opens in a new tab)
Project documentation · docs.firecrawl.dev · Undated · Source checked 27 Nov 2026, 04:38 UTC
What this source supports
- Search the web and optionally scrape the results.
- Before using the CLI, you need to authenticate with your Firecrawl API key.
- firecrawl/firecrawl README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 04:38 UTC
What this source supports
- Get LLM-ready context from any website as markdown, JSON, screenshots and more.
- Users are advised to adhere to applicable privacy policies and terms of use.
- By default, Firecrawl respects robots.txt directives.

