Ex Extract API

Extract API documentation

Extract API is a standalone REST service for extracting structured fields from freight PDF documents. Integrate it into your TMS, ERP, or automation pipeline with a single API key — no dashboard required.

Base URL

https://cyber.lerepop.lv/api/v1

Production URL: https://cyber.lerepop.lv/api/v1

What you can build

  • Automated invoice processing — extract amounts, VAT, references, parties
  • CMR / POD digitisation — populate shipment records from scanned documents
  • Customs declaration parsing — HS codes, values, declaration types
  • Email-to-data pipelines — combine with async mode + webhooks

Quick links

TopicPage
First request in 5 minutesQuickstart
API key & Bearer authAuthentication
POST /extract parametersExtract documents
invoice, cmr, pod, …Document types
Queue + polling + webhooksAsync processing
Stripe credit packsBilling & credits
GDPR, cache, Mistral/OpenAIData & privacy
HTTP status codesErrors & limits
OpenAPI / SwaggerAPI reference

Architecture at a glance

Client → AuthenticateApiKey → Page-count credit reserve → Cache lookup (per account)
       → PDF pipeline (Poppler local → optional Mistral OCR → optional LLM)
       → JSON response (page_count + credits_charged) · refund on failure

Billing unit: 1 credit = 1 PDF page. Billing docs → · Data-processing & sub-processors →

Support

Technical support: hello@cyber.lerepop.lv . Security issues: security@extract.example.com .