the402 endpoint detail

← All endpoints

agent402.tools api pdf-summarize

https://agent402.tools/api/pdf-summarize

answers 402

Fetch a PDF from a URL, extract its text, and return a concise AI-generated summary - factual, no information added beyond what's in the document. Body: {"url":"https://…/file.pdf","maxWords":200?}. Uses the same OpenAI-compatible gateway as /v1/chat/completions internally; the model that actually served is disclosed in the response.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.03
Network
base
Pay to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
126 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:17:21.645Z (2h ago)
Category
web-scraping

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fpdf-summarize"