Logo
POST /api/pdf/form/read

PDF Form Fields API

Send a PDF URL and get every form field back as JSON — name, type, value and options, plus the label and printed text that tell you what each field asks for.

  • Free plan
  • No credit card

Request

curl -X POST https://apdf.io/api/pdf/form/read \
  -H "Authorization: Bearer TOKEN" \
  -d file="FILE_URL"

Every field.
What it asks for.

A name like Text12 says nothing, the page around it does. Each field comes back with the text printed around it.

Page 1 example
Full name
As shown in your passport
Contact me by Email Phone
Send me the newsletter
name "full_name"
type "text"
required true
label "Full name of the applicant"
text.left "Full name"
text.below "As shown in your passport"
contact · radio · Email | Phone newsletter · checkbox · Yes
What each field tells you
name
The ID the fill endpoint takes
type
From text and checkbox to listbox and signature
value
Text, true or false, the chosen option or a list
options
What a checkbox, radio or choice accepts
label
The description stored in the PDF
context
Position and the text printed around it

Know the form first.

Whether you fill a form or collect one, it starts with knowing its fields and what is already in them.

Map a form to your data

List the fields of a form once and match each name to a column in your database before you prefill it.

Collect returned forms

Pull the answers out of filled PDFs that come back by email or upload and push them into your CRM.

Brief an AI agent

Give an agent the labels and printed text of every field, so it knows what Text12 asks for before it fills it.

Check for gaps

See which required fields of a completed form are still empty before it goes out to a client or an office.

Read forms from anywhere.

Turn every incoming form into data your tools can use. One account and one monthly allowance behind every route.

Your code

One authenticated POST from any language. Copy-paste samples in cURL, Node.js, Python and more.

POST /api/pdf/form/read
Open the endpoint docs
Zapier

Pick the action in any Zap and map files from earlier steps. No code and no servers to run.

Get PDF Form Fields
Use it in Zapier
n8n

Add the Apdf node to any workflow, on n8n Cloud or self-hosted, and chain it with your automation.

Read PDF form
Use it in n8n
AI agents

Let Claude, ChatGPT, Gemini or your own agent run it through the MCP server, on any paid plan.

read-pdf-form
See what agents can do

1,000 form reads
a month. Free.

Start on the free plan and move up only when your volume does — up to 1,000,000 operations a month on Business.

  • One call is one operation, however many pages.
  • Only calls that do the work are counted.
  • Hard limits, so no surprise overage charges.
Plan PDF operations / month
Hobby Free
$0 / month
1,000
Pro
$39–$99 / month
20,000 – 60,000
Business
$149–$899 / month
100,000 – 1,000,000

Reading PDF forms, answered

Forms built with regular PDF form fields work, also when they carry an XFA form as well, whose captions then help with the labels. Forms that exist only as XFA, without regular fields, are not supported.
You get an empty fields list. A scanned paper form has nothing to read this way, but OCR can read the text printed on it.
In points, measured from the top left corner of the page as it is displayed, rotation included. The response also lists the size of every page, so you can scale positions onto a page image.
As a URL: Apdf downloads the file, up to 100 MB. In Zapier and n8n you can map the file from an earlier step instead.
Send async=1 and you get a job ID back right away. Check it on the job status endpoint, or pass a webhook_url and the fields are posted to you when they are ready.
After the API call

Your code made the PDF.
Then it went dark.

Opened, read, signed or ignored — you never see any of it. Send the PDFs you generate as personal links, and every open, page read, comment and signature comes back to your software as a webhook. Need it signed? Same link. Same account, same API key, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
signature:signed 11:48

API · Webhook · MCP

Know every field
before you fill it.