/v1/extract
Extract full + per-page text
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/pdftext-api/v1/extract" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pdftext-api/v1/extract", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pdftext-api/v1/extract");
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/extract",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"text": "Dummy PDF file\n\n-- 1 of 1 --\n\n",
"pages": 1,
"characters": 30,
"page_texts": [
{
"page": 1,
"text": "Dummy PDF file",
"characters": 14
}
],
"word_count": 8
},
"meta": {
"timestamp": "2026-05-31T03:47:45.053Z",
"request_id": "cc9847e6-2178-418e-b677-e020c9c81d70"
},
"status": "ok",
"message": "Text extracted",
"success": true
}