For document pipelines, upload checks and agents that need to know what a PDF contains before processing it.
What it returns:
- Page count and each page size in points and mm, named (A4, Letter…) with orientation
- Title, author, subject, keywords, creator, producer, creation and modification dates
- PDF version, encrypted, tagged and linearized flags
- Forms: field count and XFA flag
- Risk signals: JavaScript, open actions, launch actions, embedded files
Files up to 15 MB. Metadata is what the file says about itself and can be missing or wrong. For encrypted PDFs text metadata is left empty. JavaScript is counted, never run.
How to call it:
POST https://iamai.markets/api/x402/services/AjgSzcbP-aSM
{"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.