Skip to content
Coming soon. The hosted API is not live yet, and this page describes the planned service as of 16 November 2026. Get notified when it opens.

Quickstart

Set the base URL and your key once. The base URL is the one of your region.

Terminal window
export PDFLUENT_API_URL="<the API base URL of your region>"
export PDFLUENT_API_KEY="<your API key>"

Send the key in the x-api-key header (or as a bearer token), then call any operation. This one turns a PDF into Markdown:

Terminal window
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/extract/markdown" \
-H "x-api-key: $PDFLUENT_API_KEY" \
-o result.md

A successful call returns the result as the body. The response headers x-pdfluent-pages and x-pdfluent-credits tell you how many pages were read and how many credits the call cost.