# PDF Datasheet to Specs JSON: Any Manufacturer (AI) (`phonic_lily/datasheet-to-specs`) Actor

Turns any manufacturer's PDF datasheet into structured specs: attributes with value, unit, min / typ / max and test conditions, part numbers, certifications, dimensions. Electronics, power supplies, industrial parts, building products. Pay per datasheet.

- **URL**: https://apify.com/phonic_lily/datasheet-to-specs.md
- **Developed by:** [Henri bousquet](https://apify.com/phonic_lily) (community)
- **Categories:** AI, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $21.00 / 1,000 datasheet parsed

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Use this tool when…

- you build a **product catalogue, a PIM or a comparison table** and the specs only exist in manufacturers' PDF datasheets;
- you **compare components** from several brands (power supplies, regulators, sensors, motors, valves, panels) on the same attributes;
- you feed an **e-commerce or procurement system** that needs clean attribute / value / unit rows.

### What it does

For each PDF link, the Actor downloads the datasheet, extracts its text page by page, and has an AI model return:

- **manufacturer, product name, family, category**;
- **part numbers** / ordering codes printed in the sheet;
- **attributes**: `group`, `name`, `value` exactly as printed, `unit`, numeric `min` / `typ` / `max`, test `conditions` and the `page` where it is printed;
- **certifications** (CE, UL, RoHS, IP rating, ISO…), dimensions, weight, document revision.

Any manufacturer, any layout: no template to configure.

Long datasheets are read in parts of a few pages and merged, so a 45-page sheet is read in full: tested on the TI LM317 (45 pages, 224 attributes) and the Mean Well LRS-350 (4 pages, 60+ attributes).

Give a list of **attributes you need** and every record answers them first (null when the sheet does not state the value), so the rows line up in one table across brands.

### Quick start

```json
{
  "datasheets": [
    "https://www.ti.com/lit/ds/symlink/lm317.pdf",
    "https://www.meanwell.com/Upload/PDF/LRS-350/LRS-350-SPEC.PDF"
  ],
  "attributes": ["input voltage range", "output current", "operating temperature", "efficiency"]
}
```

### Output (one item per datasheet)

| field | meaning |
|---|---|
| `manufacturer`, `product_name`, `category` | identity of the product |
| `part_numbers[]` | ordering codes |
| `attributes[]` | `group`, `name`, `value`, `unit`, `min`, `typ`, `max`, `conditions`, `page` |
| `certifications[]` | standards and approvals |
| `summary` | one sentence with the key figures |
| `pages`, `text_truncated` | size of the document; `text_truncated` is true only when part of a very long document could not be read |

### Honest scope

- **Scanned PDFs without a text layer are skipped and not billed** (no OCR).
- Values are copied as printed; the `page` field lets you check each one.
- Links must return the PDF itself (not a viewer page). Files over 40 MB are skipped and not billed.

### Pricing

Pay per datasheet parsed. The AI call runs through Apify's OpenRouter integration and is billed to your Apify account at OpenRouter rates.

### More AI research Actors

- [EU Tender Bid/No-Bid Qualifier](https://apify.com/phonic_lily/tender-bid-qualifier): scores EU public tenders (TED) against your company profile: go, no-go or check.
- [Privacy Policy & Terms Change Explainer](https://apify.com/phonic_lily/policy-change-explainer): explains what changed in a privacy policy or terms page since an earlier version.
- [Company Tech Stack & Hiring Signals](https://apify.com/phonic_lily/job-posting-tech-signals): reads a company's open jobs and returns its tech stack, teams hiring and buying signals.
- [Podcast & YouTube Sponsor Finder](https://apify.com/phonic_lily/podcast-youtube-sponsor-finder): lists the sponsors of any podcast or YouTube channel, with codes, counts and dates.

### More from this publisher

- [EU Tender Bid Qualifier: Go/No-Go on TED Tenders](https://apify.com/phonic_lily/tender-bid-qualifier)
- [Privacy Policy & Terms Change Explainer (AI)](https://apify.com/phonic_lily/policy-change-explainer)
- [Company Tech Stack & Hiring Signals from Job Posts](https://apify.com/phonic_lily/job-posting-tech-signals)
- [Podcast & YouTube Sponsor Finder - Ads, Codes](https://apify.com/phonic_lily/podcast-youtube-sponsor-finder)

# Actor input Schema

## `datasheets` (type: `array`):

Direct links to PDF datasheets, spec sheets or technical data sheets, any manufacturer, one per line (up to 200 per run, 40 MB each).

## `attributes` (type: `array`):

Attributes to look for first, so every record has the same columns (e.g. input voltage range, output current, operating temperature, efficiency). Missing ones come back with a null value.

## `outputLanguage` (type: `string`):

Language of attribute names and notes; values and units stay as printed.

## `model` (type: `string`):

OpenRouter model used through Apify (AI cost billed to your Apify account).

## Actor input object example

```json
{
  "datasheets": [
    "https://www.ti.com/lit/ds/symlink/lm317.pdf",
    "https://www.meanwell.com/Upload/PDF/LRS-350/LRS-350-SPEC.PDF"
  ],
  "attributes": [
    "input voltage range",
    "output current",
    "operating temperature",
    "efficiency"
  ],
  "outputLanguage": "English",
  "model": "openai/gpt-4.1-mini"
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items returned by the run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "datasheets": [
        "https://www.ti.com/lit/ds/symlink/lm317.pdf",
        "https://www.meanwell.com/Upload/PDF/LRS-350/LRS-350-SPEC.PDF"
    ],
    "attributes": [
        "input voltage range",
        "output current",
        "operating temperature",
        "efficiency"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("phonic_lily/datasheet-to-specs").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "datasheets": [
        "https://www.ti.com/lit/ds/symlink/lm317.pdf",
        "https://www.meanwell.com/Upload/PDF/LRS-350/LRS-350-SPEC.PDF",
    ],
    "attributes": [
        "input voltage range",
        "output current",
        "operating temperature",
        "efficiency",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("phonic_lily/datasheet-to-specs").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "datasheets": [
    "https://www.ti.com/lit/ds/symlink/lm317.pdf",
    "https://www.meanwell.com/Upload/PDF/LRS-350/LRS-350-SPEC.PDF"
  ],
  "attributes": [
    "input voltage range",
    "output current",
    "operating temperature",
    "efficiency"
  ]
}' |
apify call phonic_lily/datasheet-to-specs --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phonic_lily/datasheet-to-specs"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sLhjyiWOp84PV2HG7/builds/OGgCnLlj2CuiJlxem/openapi.json
