Extract text from PDFs. Pay per request. No API keys.
Extract text from all pages of a PDF
Test extraction with limited pages
Health check
Upload a PDF file to extract its text content:
curl -X POST \ -F "file=@document.pdf" \ https://your-api-url/test/extract
Response:
{
"total_pages": 10,
"extracted_pages": 3,
"pages": [
{"page": 1, "text": "..."},
{"page": 2, "text": "..."},
{"page": 3, "text": "..."}
],
"full_text": "...",
"notice": "Test mode: Only first 3 of 10 pages..."
}
This API uses the x402 protocol for micropayments.
Network: Base (mainnet)
Currency: USDC
Wallet:
0x6b21227Ca9Bb3590BB62ff60BA0EFbBf9Ba22ACC