pdf
pdf-to-text
document
text-extraction
data
web

PDF to Text ($0.005/call)

Fetch a PDF by URL and extract its text as JSON. Input: url (public http/https pointing to a PDF). Returns {url, pages, word_count, text}. Bounded to the first 50 pages; 3 MB max.

Paid endpoint: $0.005 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

get/pdf

Request

  • Base URL: https://x402.shizu.me
  • URL: https://x402.shizu.me/pdf
  • Auth: none declared

Query parameters

urlstring

Response

Paid result (JSON)

Changes

No recorded changes to this operation across all 1 revision of this API.