---
title: "Extract web page content"
method: GET
path: "/extract"
---

# Extract web page content

`GET /extract`

Extracts text content from a web page URL. Returns page text and detected language.

## Query parameters

- `url` string, nullable — URL of the web page to extract content from.
- `domain` string, nullable — Bare domain to extract — alias for url=https://{domain}; hits the cached page when available.

## Response `200`

Successful Response

- ExtractResponse — Response from the /extract endpoint.
  - `language` string, nullable — Source language of the web page text in ISO-639-2 two-letter language codes
  - `text` string, required — The extracted text content of the web page

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/discolike/apis/discolike-api.md) · [All operations](https://skmtc.net/discolike/apis/discolike-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discolike/discolike-api/revisions/3248fc62024c/schema)
