Docs
Documentation
Two ways in, four calls
Use the dashboard with no code, or the API and MCP from code. Below are the four calls of one extraction and every contract the API serves. The module table is read from the API registry when this page renders, and the quickstart uses the routes exactly as they exist.
Two ways in
No code
The dashboard
Upload a PDF, choose the modules, check values against the page they came from, download the packs. A new account gets 5 free passes, up to 2 modules each, on a PDF up to 25 MB.
Code
The API, MCP and OpenAPI
Create a key or pay per extraction with Stripe machine payments, post an extraction, poll, then fetch each module's contract. Agents can use the MCP server, which exposes the extraction modules as tools.
Quickstart
One extraction, four calls
Create a key, or pay per extraction
In the dashboard open Tools, then API, and create a key. Keys start with dsv_ and carry scopes. Without an account the same request is answered with an HTTP 402 Stripe machine-payment challenge, and the response then carries a session id that is the only way to read that job back, and it expires 15 minutes after the response.
Authorization: Bearer dsv_...Start the extraction
A JSON body with a publicly reachable PDF URL and the modules you want. The request is validated before anything is charged: a bad URL or an unknown module name is rejected with 400 and the response lists the supported names.
curl -X POST https://datasheetvend.com/api/v1/extract \ -H "Authorization: Bearer dsv_..." \ -H "Content-Type: application/json" \ -d '{"fileUrl":"https://example.com/datasheet.pdf","filename":"datasheet.pdf","modules":["document_map","pinout","footprint"]}'HTTP 202 (abridged: the real body also carries payment and request blocks) { "status": "PROCESSING", "job_id": "<job_id>", "retrieval": { "status_url": "/api/v1/jobs/<job_id>", "module_urls": { "document_map": "/api/v1/jobs/<job_id>/document-map", "pinout": "/api/v1/jobs/<job_id>/pinout", "footprint": "/api/v1/jobs/<job_id>/footprint" } }, "guidance": { "engine": "fast_extraction", "typical_duration_seconds": "10-120", "poll_interval_seconds": 5 } }Poll until it completes
How long an extraction takes depends on the document and the modules. It can be longer than any HTTP request should wait, so the 202 hands back a job id instead of files; its guidance block names the engine and a typical_duration_seconds range, which is a hint, not a promise. Poll the status URL every 5 seconds. A module URL returns 404 until that module has finished.
curl https://datasheetvend.com/api/v1/jobs/<job_id> \ -H "Authorization: Bearer dsv_..."Fetch the contract, or the pack
Each module has its own JSON contract and a downloadable delivery pack for engineers and machines. The exact shape of every payload is published as JSON Schema, so an agent can learn it before it spends anything.
curl https://datasheetvend.com/api/v1/jobs/<job_id>/pinout \ -H "Authorization: Bearer dsv_..." curl -OJ https://datasheetvend.com/api/v1/jobs/<job_id>/pinout/pack \ -H "Authorization: Bearer dsv_..."
Contracts
Every contract the API serves
18 module contracts on /api/v1, 18 of them with a published JSON Schema. Most carry page-level provenance where the module records it, and most carry their own warnings.
| Module | Route | What it carries | Schema |
|---|---|---|---|
| cad_normalized | /api/v1/jobs/{id}/cad-normalized | Resolved package topology, body dimensions and normalized pin entries, with synthesis warnings wherever something was inferred. | JSON Schema |
| ucm | /api/v1/jobs/{id}/ucm | The Unified Component Model (UCM): one model of the whole component, fused from the modules' facts, each with its provenance and a quality grade. | JSON Schema |
| document_map | /api/v1/jobs/{id}/document-map | The page-level map of the source document, used to target other extractions. | JSON Schema |
| kicad | /api/v1/jobs/{id}/kicad | KiCad footprint (.kicad_mod) and symbol (.kicad_sym) libraries. | JSON Schema |
| pinout | /api/v1/jobs/{id}/pinout | Pin numbers, names, physical classes, alternate functions and interface groups, with per-pin evidence where the extraction recorded it. | JSON Schema |
| footprint | /api/v1/jobs/{id}/footprint | Package family and variant, pin count, pitch and body dimensions from the mechanical drawing. | JSON Schema |
| thermal | /api/v1/jobs/{id}/thermal | Junction and ambient limits, thermal resistances by package, and a computed power budget. | JSON Schema |
| absolute_max | /api/v1/jobs/{id}/absolute-max | Absolute maximum ratings and electrical breakdown limits. | JSON Schema |
| altium | /api/v1/jobs/{id}/altium | A reviewable geometry payload parsed from an Altium ASCII footprint export you supply. It does not build Altium files from a datasheet. | JSON Schema |
| analog_intelligence | /api/v1/jobs/{id}/analog-intelligence | ADC and DAC resolution, ADC sample rates and INL/DNL, comparator delay and hysteresis. | JSON Schema |
| logic_levels | /api/v1/jobs/{id}/logic-levels | Input and output voltage thresholds: VIL, VIH, VOL, VOH. | JSON Schema |
| part_decoder | /api/v1/jobs/{id}/part-decoder | Part-number suffix rules and the package each orderable code resolves to. | JSON Schema |
| passive_bom | /api/v1/jobs/{id}/passive-bom | Decoupling capacitors, crystal load sizing and pull-up resistors the datasheet requires. | JSON Schema |
| peripheral_matrix | /api/v1/jobs/{id}/peripheral-matrix | On-chip peripheral inventory: one row per instance, with its source page where the extraction recorded one, in 13 classes. | JSON Schema |
| pin_cautions | /api/v1/jobs/{id}/rules | The machine-readable design rulebook: modality, numeric limit or range, package scope and, where the run kept it, the verbatim source sentence. | JSON Schema |
| power_battery | /api/v1/jobs/{id}/power-battery | Supply domains, battery backup, power modes and consumption limits. | JSON Schema |
| register_map | /api/v1/jobs/{id}/register-map | Register names, addresses, bit fields and reset values. | JSON Schema |
| timing | /api/v1/jobs/{id}/timing | Timing parameters grouped by protocol, and maximum clock frequencies. | JSON Schema |
Also on /api/v1
GET/schemasWhich modules publish a JSON Schema, and where to fetch each oneGET/schemas/{module}One module's payload schemaGET/rules/catalogThe design-rule vocabulary the engine recognizesGET/jobs/{id}/rulesThe machine-readable rulebook extracted for a jobPOST/jobs/{id}/rules/checkCheck one design value against the rules extracted for a jobPOST/workbench/crosscheckAudit a KiCad netlist against extracted datasheet truthGET/jobs/{id}/{module}/packDownload a module's delivery packs
Read next
Where the full story lives
- Platform Architecture The Golden Architecture: AI as sensor, deterministic math as brain
- Using the dashboard The no-code manual: your first run, the modules, how to read a result, and how the tools connect
- API reference The routes, the MCP setup, and a response example from a real run
- OpenAPI 3.1 document The machine-readable spec the reference is built from
- JSON Schemas Payload shapes per module, fetchable before you pay
- MCP and the agent gateway Tool access for agents, machine payments, the MCP server
- AI trust and limits What the model is allowed to decide, and what only the rules decide
- Verification How a value earns its confidence and its review verdict
- Guides on the blog Worked examples on real parts