Extract Text From PDF

Extract

POST https://extract-text-from-pdf-express-server-production.up.railway.app/api/v1/extract

Multipart form fields:

curl -X POST "https://extract-text-from-pdf-express-server-production.up.railway.app/api/v1/extract" \
  -H "Authorization: Bearer etp_live_YOUR_KEY" \
  -F "file=@invoice.pdf" \
  -F 'fields=[{"name":"Invoice number"}]'

A 200 response includes fields with name, value, and confidence. Treat every value as untrusted text. Do not execute it or paste it into another model prompt without a boundary.

402 means no credits remain. 401 means the key is invalid or revoked.