# Browse

> Pages that need JavaScript are read in a browser. Hosted browser render is for Pro and Scale plans.

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

> Renders JavaScript-heavy pages in a hosted browser. It does not bypass bot protection or CAPTCHAs. Pro and Scale plans only: 6 credits per started browser-minute, at least 6, up to 500 minutes a month on Pro and 2,500 on Scale. Modes: markdown, content (HTML), links and scrape (CSS selectors).

**Hosted browser render**

```sh
curl https://api.clawifi.dev/browse/cloud \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","mode":"markdown"}'
```

## POST /browse

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

**cURL**

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

**Python**

```python
from clawifi import Clawifi

client = Clawifi()  # reads CLAWIFI_API_KEY
result = client.post("/browse", json={"url":"https://example.com"})
```

## POST /browse/cloud

Cloud Render. Full parameters on the [endpoint page](https://clawifi.dev/docs/api/post-browse-cloud).

**cURL**

```sh
curl -X POST https://api.clawifi.dev/browse/cloud \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

**Python**

```python
from clawifi import Clawifi

client = Clawifi()  # reads CLAWIFI_API_KEY
result = client.post("/browse/cloud", json={"url":"https://example.com"})
```
