> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get Scrapfly crawl contents batch

> Retrieve multiple formats for up to 100 crawled URLs.

`scrapfly.getCrawlContentsBatch` retrieves selected formats for an explicit URL set in one request.

```ts theme={null}
import { automation, onInvocation } from "automate.ax"
import { scrapfly } from "automate.ax/scrapfly"

export default automation("Read crawl batch", () => {
  onInvocation()
  scrapfly.getCrawlContentsBatch({
    crawlerId: "crawl-id",
    urls: ["https://example.com/a", "https://example.com/b"],
    formats: ["markdown", "page_metadata"],
  })
})
```

`crawlerId`, one to 100 `urls`, and at least one `formats` entry are required. The supported formats match `scrapfly.getCrawlContents`. Returns `{ contents }`, keyed first by URL and then by format. Scrapfly omits formats it did not store for a URL.
