Firecrawl icon

Firecrawl

Scrape, crawl, map, search, and extract structured data from websites using Firecrawl API

Agent → Extract Data With AI Agent

AI-generated

Summary

Submit a natural-language prompt to Firecrawl’s AI Agent to find and extract data from the web. Optionally focus the agent on specified URLs and define the result structure with a JSON example or JSON Schema; set a maximum wait time for the job.

Inputs

  • Prompt (required) — Describe the data to extract, up to 10,000 characters.
  • Specify URLs — Enable to limit the agent’s focus to URLs you provide. If disabled, the agent searches and navigates the web autonomously.
  • URLs — When Specify URLs is enabled, provide one or more URLs as a single URL, comma- or newline-separated values, or a JSON array.
  • Schema Type — Choose no schema, generate one from a JSON example, or define one with JSON Schema.
  • JSON Example — When generating a schema from an example, provide the desired JSON structure.
  • Schema — When defining a schema manually, provide JSON Schema. $refs are not supported.
  • Max Wait Time — Maximum wait in seconds (2–600); defaults to 300. If the agent exceeds this time, the job ID is returned so its status can be checked manually.
  • Use Custom Body — Use a custom request body instead of the standard fields.
  • Custom Body — When enabled, provide the JSON body to send to the Agent endpoint.
  • Request Options — Optional request settings include batching, SSL certificate verification, HTTP proxy, and request timeout.

Output shape

A single response record from the Agent endpoint.

The operation may return a job ID when the configured maximum wait time is exceeded; the properties indicate that the job can then be checked manually. The exact response fields are not shown in the provided source pack.

Links

Discussion