---
title: "Extract text from URL"
method: POST
path: "/api/text"
---

# Extract text from URL

`POST /api/text`

Extract the visible text content from any web page, with word count.

## Request body

- object
  - `url` string, uri, required

## Response `200`

Text extracted successfully

- object
  - `data` object
    - `url` string
    - `title` string
    - `text` string
    - `word_count` integer
  - `usage` object
    - `used` integer
    - `limit` integer

## Other responses

- `400` — Invalid request
- `401` — Missing or invalid API key
- `429` — Monthly request limit exceeded

---

[API](https://skmtc.dev/michaelcli/apis/snapapi.md) · [All operations](https://skmtc.dev/michaelcli/apis/snapapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/michaelcli/snapapi/revisions/41f32a15c9ca/schema)
