## web/extract

`GET /v1/web/extract`

Deterministic structured extraction from a public page: meta/Open Graph/Twitter tags, parsed JSON-LD blocks, canonical URL, feeds, and heading outline — no AI involved. Fetch modes: direct by default; browser, enhanced and rendered are deployment-gated and off by default. Requested output shapes are unchanged. An unavailable non-direct mode returns 424 rather than silently ignoring the requested mode.

*Extract structured data from a web page*

| Parameter | Required | Description |
| --- | --- | --- |
| `url` | yes | Page URL to extract from (http/https, public hosts only) — e.g. `https://example.com` |
| `timeout` | no | Fetch budget in milliseconds, clamped to 1000-15000 — e.g. `10000` |
| `fetch_mode` | no | Fetch mode: direct (default) reads static HTML; browser explicitly runs JavaScript in an owned, isolated browser. Enhanced and rendered try direct first and permit configured fallbacks. Non-direct modes require deployment enablement, an approved target and applicable resource or spending limits; otherwise the request is refused. Output formats are unchanged. — e.g. `direct` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. — e.g. `1` |

**Cost:** 1 credit at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/web/extract?url=https%3A%2F%2Fexample.com" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "url": "https://example.com/article",
  "text": "Illustrative article text."
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/web/extract#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/web/extract.json)
