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

# batch

> Run multiple Kagi searches in parallel, including stdin-fed query batches.

# `kagi batch`

Run multiple searches in parallel with shared filters and rate limiting.

## Synopsis

```bash theme={null}
kagi batch [OPTIONS] [QUERIES]...
```

If no query arguments are provided, `batch` reads one query per stdin line.

## Examples

```bash theme={null}
kagi batch "rust" "python" "go" --concurrency 3 --rate-limit 60
printf 'rust\npython\ngo\n' | kagi batch --format compact
kagi batch "rust" "zig" --template '{{rank}} {{title}} {{url}}'
kagi batch "rust" "go" --limit 3
```
