Core PDF services
Host: pdf-services.inlycore.com — structured JSON with @opendataloader/pdf and single-page rasterization (PNG or JPEG) via Poppler. Authenticate every API request (not this page) with a shared token, same pattern as core-cdn: Authorization: Bearer or ?token=.
Auth
Preferred: Authorization: Bearer <your token>
Alternative: query ?token=<your token> (useful when a custom header is awkward).
Legacy: x-api-key: <your token> is still accepted.
POST /extract
Input (choose one):
multipart/form-data— fieldfile(PDF).application/json—{ "url": "https://…" }(PDF is downloaded temporarily).
Response: JSON
curl -H "Authorization: Bearer YOUR_TOKEN" -F "file=@doc.pdf" \
https://pdf-services.inlycore.com/extract
curl -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" \
-d '{"url":"https://example.com/doc.pdf"}' \
https://pdf-services.inlycore.com/extract
curl -F "file=@doc.pdf" \
"https://pdf-services.inlycore.com/extract?token=YOUR_TOKEN"
POST /render
Same input modes as /extract, plus page (optional, default 1) — in JSON or as a multipart field next to file.
Query ?format=png (default) or ?format=jpg (jpeg accepted). For JPEG, optional ?quality=0–100 (default 100). Optional ?width=<pixels> (1–16384): output width in pixels; height follows aspect ratio (pdftoppm -scale-to-x with -scale-to-y -1). Response: image/png or image/jpeg (attachment).
curl -o page.png -H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@doc.pdf" -F "page=1" \
https://pdf-services.inlycore.com/render
curl -o thumb.png -H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@doc.pdf" -F "page=1" \
"https://pdf-services.inlycore.com/render?width=800"
curl -o page.jpg -H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@doc.pdf" -F "page=1" \
"https://pdf-services.inlycore.com/render?format=jpg"
curl -o page.jpg -H "Authorization: Bearer YOUR_TOKEN" \
-F "file=@doc.pdf" -F "page=1" \
"https://pdf-services.inlycore.com/render?format=jpg&quality=85"
curl -o page.png -H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/doc.pdf","page":1}' \
https://pdf-services.inlycore.com/render
curl -o page.png -F "file=@doc.pdf" -F "page=1" \
"https://pdf-services.inlycore.com/render?token=YOUR_TOKEN"
Example extract response
{
"file name": "2771_design.pdf",
"number of pages": 1,
"kids": [
{
"type": "heading",
"content": "LENZERHEIDE HOUSE OF SKI 2026/27",
"page number": 1,
"bounding box": [77.004, 2587.761, 350.894, 2607.761]
}
]
}