ReLaEx – Engineers Documents API

Extracts tables from text-based PDFs with page, bounding box and a quality level per table; detects header rows, titles and footnotes, merges tables continued across pages only with evidence; returns JSON or the best table as CSV.

GitHub OpenAPI

Operations 1

POST /v1/documents/tables Extract tables from a PDF #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relaex-engineers-de:relaex-engineers-de-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relaex-engineers-de-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Boring Documents API
  description: 'Small, deterministic analysis APIs for business tables: supplier price list comparison, PDF table extraction, product feed validation and product data mapping into import files. Open with a rate limit; an optional X-API-Key raises it. Answers carry source locations and a quality level. Responses are English with language-neutral codes; input headers are recognised in many languages. For agents also as MCP at /mcp; overview at /llms.txt.'
  version: 0.10.0
servers:
- url: https://api.relaex-engineers.de
tags:
- name: Documents
  description: Extracts tables from text-based PDFs with page, bounding box and a quality level per table; detects header rows, titles and footnotes, merges tables continued across pages only with evidence; returns JSON or the best table as CSV.
paths:
  /v1/documents/tables:
    post:
      tags:
      - Documents
      summary: Extract tables from a PDF
      description: 'Extracts tables from a text-based PDF.


        **Input:** multipart `file` (PDF up to 20 MiB, 60 pages per call) and optional `options` as a JSON

        string following `/v1/schemas/documents-tables-options`: `pages` (e.g. `"1-3,7"`), `strategy`

        (`lines`, `text`, `auto`), `merge_continuations`, `include_cells`, `output` (`json` or `csv`),

        `table_id` to choose the CSV table.


        **Behaviour:** pdfplumber line and text strategies, detection of header rows, titles and

        footnotes, tables continued across pages are merged only with evidence (identical header row

        or column edges). Each table carries page, bounding box in PDF points (origin top left) and a

        quality level with reasons. Cells stay text. Pages without text are reported, scans as

        `OCR_REQUIRED`; nothing is guessed.


        **Output:** `ApiResponse` with `TablesResult`, or with `output=csv` the best table as `text/csv`

        (semicolon) with headers `X-Table-Id`, `X-Table-Page`, `X-Table-Confidence`. The CSV can be

        passed straight to `/v1/supplier/compare`, which also accepts PDFs directly

        (`options.pdf_old`, `options.pdf_new`).


        **Errors:** 400 not a PDF or encrypted, 413 too large or too many pages, 422 invalid options or

        table not found, 429 rate limit, 504 timeout.


        **Languages:** responses are in English. Error, warning and rule codes are stable and

        language-neutral; agents may translate messages for the user. Text in any language or script is extracted as embedded in the PDF.


        **Access:** open, rate-limited per IP and per MCP session; an `X-API-Key` header raises the

        limit. Uploaded files are processed in memory and never stored. Also available as MCP tool

        `documents_tables` at `/mcp` (Streamable HTTP).'
      operationId: documents_tables_v1_documents_tables_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_documents_tables_v1_documents_tables_post'
      responses:
        '200':
          description: ApiResponse with TablesResult (JSON) or the best table as CSV
          content:
            application/json:
              schema: {}
        '400':
          description: INVALID_PDF, ENCRYPTED_PDF
        '413':
          description: FILE_TOO_LARGE, PAGE_LIMIT_EXCEEDED
        '422':
          description: INVALID_OPTIONS, NO_TABLE_FOUND, TABLE_NOT_FOUND
        '429':
          description: RATE_LIMITED
        '504':
          description: ANALYSIS_TIMEOUT
components:
  schemas:
    Body_documents_tables_v1_documents_tables_post:
      properties:
        file:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: File
        options:
          anyOf:
          - type: string
          - type: 'null'
          title: Options
        file_url:
          anyOf:
          - type: string
          - type: 'null'
          title: File Url
      type: object
      title: Body_documents_tables_v1_documents_tables_post