Zum Inhalt springen
GET /v1/info

PDF metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/pdftext-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/pdftext-api/v1/info" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pdftext-api/v1/info", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pdftext-api/v1/info");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/pdftext-api/v1/info",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "pages": 1,
        "title": null,
        "author": "Evangelos Vlachogiannis",
        "creator": "Writer",
        "subject": null,
        "keywords": null,
        "language": null,
        "producer": "OpenOffice.org 2.1",
        "encrypted": false,
        "size_bytes": 13264,
        "fingerprint": "f7d77b3d22b9f92829d49ff5d78b8f28",
        "has_outline": true,
        "pdf_version": "1.4",
        "creation_date": "D:20070223175637+02'00'",
        "modification_date": null
    },
    "meta": {
        "timestamp": "2026-05-31T03:47:45.143Z",
        "request_id": "726747ad-d4a0-46de-bb27-6e3d94b7b426"
    },
    "status": "ok",
    "message": "PDF info retrieved",
    "success": true
}