Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Boring Datasheet 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: datasheet
description: 'Compares two revisions of a discrete MOSFET datasheet (PDF) and reports changed VDS, ID, VGS, RDS(on), VTH, QG, RthJC and TJ max values with page, table row and quote for both revisions, unchanged values, changed test conditions and open cases, plus an explainable review priority (e.g. lower VDS rating is critical, RDS(on) max up 5 % is high). Answers ''did the datasheet of this MOSFET change?'' from the part number alone: finds the current datasheet at the manufacturer and earlier revisions in the Internet Archive, and compares the newest with the previous revision (or the one valid at a given date) like Datasheet Revision Compare. TI, Nexperia, onsemi, Infineon and ST.'
paths:
/v1/datasheet/compare:
post:
tags:
- datasheet
summary: Compare two revisions of a MOSFET datasheet
description: 'Compares two revisions of a discrete MOSFET datasheet.
**Validation:** 85 hand-read values from 5 real MOSFET datasheets (TI, Nexperia, Infineon,
Wolfspeed: 99 % found, 0 wrong values) and 5 real revision pairs without a false change; a real
pair with an actual value change has not been tested yet. Every response carries the warning
`VALIDATION_SCOPE`. IGBTs, modules, diodes and gate drivers are refused with `OUT_OF_SCOPE`.
**Input:** multipart `old_file` and `new_file` (or `old_file_url`, `new_file_url`): text-based
PDFs, each up to 20 MiB and 60 pages. Optional `options` as a JSON string following
`/v1/schemas/datasheet-compare-options`: `target_mpn` (exact part number for family sheets).
**Behaviour:** the ReLaEx engine (`relaex`, profile `mosfet_table_v1`) extracts VDS, ID, VGS,
RDS_ON, VTH, QG, RTH_JC and TJ_MAX from the datasheet tables with min/typ/max, units and test
conditions, pairs only identical contexts (same statistic, unit and conditions) and computes
deltas in canonical units. Changed conditions, one-sided values and unreadable rows are open
cases without deltas. Review priority rules `mosfet-risk-0.1` (R001–R009): heuristic, without
design context. Nothing is guessed; a missing value is never reported as removed.
**Output:** `ApiResponse` with the engine report (schema 0.2.0): documents (part number,
revision, date, SHA-256), observations with page, table, row, box and quote, findings (status,
delta, percent, quality, rule, actions), summary (coverage, counts, review priority, open cases,
limitations).
**Errors:** 400 `INVALID_PDF`, `ENCRYPTED_PDF`, `OCR_REQUIRED`; 413 `FILE_TOO_LARGE`,
`PAGE_LIMIT_EXCEEDED`; 422 `PART_MISMATCH`, `AMBIGUOUS_PART`, `INVALID_OPTIONS`; 429; 504.
**Languages:** responses are in English. Error, warning and rule codes are stable and
language-neutral; agents may translate messages for the user. Datasheet labels in English or German are recognised.
**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
`datasheet_compare` at `/mcp` (Streamable HTTP).'
operationId: datasheet_compare_v1_datasheet_compare_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_datasheet_compare_v1_datasheet_compare_post'
responses:
'200':
description: ApiResponse with the ReLaEx comparison report
content:
application/json:
schema: {}
'400':
description: INVALID_PDF, ENCRYPTED_PDF, OCR_REQUIRED
'413':
description: FILE_TOO_LARGE, PAGE_LIMIT_EXCEEDED
'422':
description: PART_MISMATCH, AMBIGUOUS_PART, INVALID_OPTIONS
'429':
description: RATE_LIMITED
'504':
description: ANALYSIS_TIMEOUT
/v1/datasheet/changes:
post:
tags:
- datasheet
summary: Datasheet changes of a MOSFET by part number
description: 'Datasheet changes of a discrete MOSFET, from the part number alone.
**Input:** JSON `{"mpn": "", "since": "YYYY[-MM[-DD]]"}`; `since` is optional.
**Behaviour:** finds the current datasheet at the manufacturer''s download URL (TI, Nexperia,
onsemi, Infineon) and earlier revisions in the Internet Archive (ST only there). Copies with the
same text, or the same printed revision and date, count as one revision. Without `since` the
newest revision is compared with the one before it, with `since` with the revision valid at that
date. The comparison is the Datasheet Revision Compare engine (eight table parameters with
conditions, sources and review priority).
**Output:** `ApiResponse` with `mpn`, `manufacturer`, `snapshots_found`, `revisions` (newest
first: printed revision and date, capture date, manufacturer and archive URL, SHA-256), `status`
(`compared`, `no_change`, `single_revision`, `not_found`) and `comparison` (the engine report).
**Errors:** 422 `INVALID_MPN`, `UNKNOWN_MANUFACTURER`, `OUT_OF_SCOPE`; 429; 504 when the
archive is too slow (fetched files are cached, a retry is faster).
**Languages:** responses are in English. Error, warning and rule codes are stable and
language-neutral; agents may translate messages for the user. Datasheet labels in English or German are recognised.
**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
`datasheet_changes` at `/mcp` (Streamable HTTP).'
operationId: datasheet_changes_route_v1_datasheet_changes_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ChangesRequest'
required: true
responses:
'200':
description: ApiResponse with the revision history and the comparison
content:
application/json:
schema: {}
'422':
description: INVALID_MPN, UNKNOWN_MANUFACTURER, OUT_OF_SCOPE
'429':
description: RATE_LIMITED
'504':
description: ANALYSIS_TIMEOUT
components:
schemas:
Body_datasheet_compare_v1_datasheet_compare_post:
properties:
old_file:
anyOf:
- type: string
contentMediaType: application/octet-stream
- type: 'null'
title: Old File
new_file:
anyOf:
- type: string
contentMediaType: application/octet-stream
- type: 'null'
title: New File
options:
anyOf:
- type: string
- type: 'null'
title: Options
old_file_url:
anyOf:
- type: string
- type: 'null'
title: Old File Url
new_file_url:
anyOf:
- type: string
- type: 'null'
title: New File Url
type: object
title: Body_datasheet_compare_v1_datasheet_compare_post
ChangesRequest:
properties:
mpn:
type: string
maxLength: 40
minLength: 3
title: Mpn
description: Manufacturer part number
since:
anyOf:
- type: string
pattern: ^20\d\d(-\d\d(-\d\d)?)?$
- type: 'null'
title: Since
description: Compare the newest revision with the one valid at this date (YYYY[-MM[-DD]])
type: object
required:
- mpn
title: ChangesRequest