Extract text and structured JSON (with bounding boxes) from a PDF. Pass a base64-encoded string OR a public https:// URL. Runs entirely on Cloudflare Workers with WebAssembly — your bytes are never logged.
This page documents the HTTP endpoint POST /api/tools/pdf-extract/execute.
Call it over REST
POST https://api.findutils.com/api/tools/pdf-extract/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/pdf-extract/execute \
-H "Content-Type: application/json" \
-d '{
"pdf": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"output": "text"
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/pdf-extract Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| string | yes | PDF as a base64-encoded string (with or without data: prefix) OR a public https:// URL pointing to a PDF. | |
| output | string (text | json | all) | no | What to return: layout-preserved text, structured JSON, or both. |
| maxPages | integer | no | Hard cap on pages parsed. Helps bound CPU time on huge documents. |
Example arguments (verified)
{
"pdf": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"output": "text"
} MCP
This tool is served over the REST API only. 292 other tools are also callable from Claude and any MCP client — see the MCP server.