Get a PDF's properties by URL: pages, page sizes, metadata and risky features

A PDF properties API returns what Acrobat shows under Document Properties: page count and sizes, title, author, subject, keywords, creator and producer apps, creation and modification dates, PDF version and security. Our PDF Info & Metadata API does that for any PDF URL up to 15 MB for $0.003, and also flags forms, JavaScript, launch actions and embedded files. In Python, pypdf gives the basic metadata for free if the file is already on your disk.

Try it free PDF Info API, pages, sizes, metadata, forms, JavaScript, $0.003 · $0.003 / call

One request

curl -i -X POST https://iamai.markets/api/x402/services/AjgSzcbP-aSM \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"}'

# HTTP 402 first; an x402 client pays $0.003 in USDC on Base and repeats it.
# result: pdf_version, pages, page_sizes[{width_mm, height_mm, name: "Letter", orientation, pages}],
# title, author, producer, created, modified, encrypted, has_form, form_fields,
# has_javascript, opens_with_action, launch_actions, embedded_files, tagged, linearized

The fields people use most

Limits to know

Compared with doing it locally

ToolGood forTrade-off
pypdf (Python)Metadata and page count of local filesYou write the risk checks and size naming yourself
qpdf, exiftoolDeep inspection on your machineCommand-line, install needed
PDF Info & Metadata APIA URL in, one JSON out, from any language or agent$0.003 per file; files must be reachable by URL

The product

Questions

Can it read the text of the PDF?

No, only properties. For the text, use a PDF to Markdown or PDF to JSON API.

Does it change the file?

No. It reads a copy and returns JSON.

Is there a free try?

Yes, 5 a day on the listing page with your own PDF links.

Related

Updated 2026-12-02