# Batch

> Many URLs in one call. One failed URL returns its own error and does not stop the batch.

Canonical page: https://clawifi.dev/docs/batch

## POST /fetch/batch

Batch Fetch. Full parameters on the [endpoint page](https://clawifi.dev/docs/api/post-fetch-batch).

**cURL**

```sh
curl -X POST https://api.clawifi.dev/fetch/batch \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com","https://example.org"]}'
```

**Python**

```python
from clawifi import Clawifi

client = Clawifi()  # reads CLAWIFI_API_KEY
result = client.post("/fetch/batch", json={"urls":["https://example.com","https://example.org"]})
```

## POST /browse/batch

Batch Browse. Full parameters on the [endpoint page](https://clawifi.dev/docs/api/post-browse-batch).

**cURL**

```sh
curl -X POST https://api.clawifi.dev/browse/batch \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com","https://example.org"]}'
```

**Python**

```python
from clawifi import Clawifi

client = Clawifi()  # reads CLAWIFI_API_KEY
result = client.post("/browse/batch", json={"urls":["https://example.com","https://example.org"]})
```
