Overview
Extractive summary of a PDF or paged text: the most central sentences, verbatim and in document order, each with its page number, optionally focused on a query. Extracts the text layer of every PDF page with pdfjs-dist (or takes pages as text, or text split by form feeds), removes lines repeated on most pages (headers, footers), joins hyphenated line breaks and splits sentences with Intl.Segmenter plus abbreviation rules.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
denk
Indexed
2026-11-24 12:33:22
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"pages": [
{
"page": 1,
"text": "The pilot started in March. The battery reduced peak load by 23 percent."
},
{
"page": 2,
"text": "Costs fell accordingly."
}
],
"sentences": 2
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Scanned PDFs without a text layer are rejected (no OCR).",
"Extractive selection, not an abstract; sentences keep their original wording and context dependence."
],
"result": {
"method": "LexRank on TF-IDF cosine similarity (Erkan & Radev 2004), damping 0.85; extractive only",
"page_count": 2,
"pages_cited": [
"1"
],
"pages_processed": 2,
"removed_repeated_lines": 0,
"sentences_considered": 2,
"summary": [
{
"char_start": 0,
"page": "1",
"score": 1,
"text": "The pilot started in March."
},
{
"char_start": 28,
"page": "1",
"score": 1,
"text": "The battery reduced peak load by 23 percent."
}
],
"summary_text": "The pilot started in March. (p. 1) The battery reduced peak load by 23 percent. (p. 1)"
},
"service": "page-cited-summary",
"status": "success"
},
"type": "json"
}