---
title: "Quick extractive summary of any web page"
method: GET
path: "/api/summarize"
tags: ["Web Content"]
---

# Quick extractive summary of any web page

`GET /api/summarize`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/summarize`
- Auth: API key in header `X-PAYMENT`

Quick extractive summary of any web page: fetch the URL, extract the main article, and return the key sentences (TextRank) instead of the full text. For agents that want the gist of a page, not a full scrape. No AI — fast and deterministic. Want an abstractive AI rewrite, or to summarize a PDF/DOCX or your own text? POST /api/summarize-text ($0.01).

Price: $0.002 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `url` string, required
- `sentences` number

## Response `200`

Success

- object
  - `url` string
  - `title` string
  - `summary` string
  - `key_sentences` unknown[]
    - unknown
  - `original_word_count` number
  - `summary_word_count` number
  - `method` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
