PDF Api Hub icon

PDF Api Hub

HTML to PDF

Actions36

OCR — Read Scanned PDFs & Image → Analyze Document

AI-generated

Summary

Analyzes a PDF to extract structured information, forms, tables, and answers questions about English documents.

Inputs

  • Input Type (required) — Method to provide the PDF: URL (default), Base64, or Binary File from a previous node.
  • PDF URL — Public URL of the PDF to analyze. Required if Input Type is URL.
  • Base64 PDF — Base64-encoded PDF in raw base64 or data URL format. Required if Input Type is Base64.
  • Binary Property Name — Binary property name containing the PDF file. Required if Input Type is Binary File.
  • Pages — Pages to analyze: "all", a single page, a range (e.g., 1-3), or a mixed selection.
  • Features (required) — Select structured information to return (Text is always included). Options: Forms, Layout, Queries, Signatures, Tables.
  • Queries — Questions to answer about the document (max 15 per page). Each query requires a Question and an optional Alias for the answer.

Output shape

A list of items, each containing extracted text and structured data (forms, tables, queries, etc.) alongside the original PDF data.

Analysis runs synchronously once per selected PDF page. Queries support English documents only.

Examples

Example 1: Extract invoice details and a specific field

Input Type: URL, Pages: all, Features: FORMS, QUERIES (Question: 'What is the invoice number?', Alias: 'invoice_number')

Example 2: Extract tables from a multi-page report

Input Type: Base64, Pages: 1-5, Features: TABLES, LAYOUT

Example 3: Locate signatures in a contract

Input Type: Binary File (using property 'data'), Pages: all, Features: SIGNATURES

Links

Discussion