# Dietary Supplement Labels: ingredients and doses from NIH DSLD (`steadydata/dietary-supplement-labels`) Actor

Supplement Facts from the NIH Dietary Supplement Label Database (214,780 US labels): search by product, brand or ingredient, or give label IDs. Per ingredient the amount, unit, mg where exact, %DV and a flag for proprietary blends without doses. Pay per label.

- **URL**: https://apify.com/steadydata/dietary-supplement-labels.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.30 / 1,000 label listeds

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/running/actors-in-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

## Dietary Supplement Labels: ingredients and doses from NIH DSLD

Supplement Facts from the NIH Dietary Supplement Label Database (214,780 US labels): search by product, brand or ingredient, or give label IDs. Per ingredient the amount, unit, mg where exact, %DV and a flag for proprietary blends without doses. Pay per label.

### Why this scraper

- **Only delivered results are charged.** Inputs that fail come back as clear error
  records at no cost.
- Straight from the official API of the NIH Office of Dietary Supplements, the database behind dsld.od.nih.gov: 214,780 US supplement labels (measured 28-10-2026), released under CC0 1.0, public domain.
- The Supplement Facts panel as data, not as text: every ingredient line with its amount, unit, %DV, the form it comes in (Magnesium from Magnesium Glycinate) and the FDA UNII substance code where the NIH has one.
- Doses on one scale: `amountMg` converts g, mg and mcg to milligrams, and vitamin D from IU, so you can compare 125 mcg with 5,000 IU and 0.2 g without a lookup table. Where a conversion depends on the substance (vitamin A or E in IU, mcg DFE, mcg RAE, CFU) it stays empty instead of guessed; `originalAmount` always carries the value as printed.
- Proprietary blends exposed: each ingredient inside a blend is its own entry with `inBlend` and `parentIngredient`, and `proprietaryBlendUndisclosed` marks every label that hides the dose of at least one blend ingredient.
- Search the way buyers look: anywhere on the label, or only in the product name, the brand or the ingredient names (with the NIH's synonyms). Or paste label IDs or dsld.od.nih.gov/label/ links to read exactly those labels.

### Who this is for

Put search terms or label IDs in `queries` (up to 50 per run), choose `searchIn` and `marketStatus`, and set `maxLabelsPerQuery` (default 50) as the cost ceiling per search. Built for supplement brands comparing competitor formulations and doses, e-commerce sellers checking claims and ingredients of what they list, developers of nutrition and health apps and AI agents that need structured Supplement Facts, and researchers studying doses, blends and ingredient trends in the US market.

### Who this is not for

The DSLD holds the labels the NIH has collected and transcribed, not every product on the US market, and new products appear with a delay; it has no prices, stock, ratings or retailer links. One product can have several label IDs (a new version, another size or image), so a broad search can return near-duplicates. Amounts are per serving as printed on the label, not per container, and they are what the manufacturer declared, not lab-tested contents. Inside a proprietary blend the label usually gives only the total, so the dose per ingredient is unknown by nature; this actor flags that, it cannot fill it in. The label's own text (directions, warnings, marketing statements), the label images and the manufacturer's contact details are not included. A transcription error in the NIH record comes through as it is.

### Input fields

| Field | Type | Required or default | What it does |
|---|---|---|---|
| `queries` | list of text | required | One row per search, up to 50: a product, brand or ingredient such as magnesium glycinate or ashwagandha, or a DSLD label ID (a number such as 33919, or a dsld.od.nih.gov/label/ link) for exactly that label. An asterisk lists every label that matches the filters below. |
| `searchIn` | text (anywhere, product, brand, ingredient) | anywhere | Where a search term must match: anywhere on the label, only the product name, only the brand, or only the ingredient names (with the NIH synonyms, so vitamin D3 also finds cholecalciferol). Label IDs ignore this. |
| `marketStatus` | text (all, on_market, off_market) | all | On market only, off market only, or both. The NIH marks a label off market when the product is no longer sold. |
| `sortBy` | text (relevance, newest, name) | relevance | Best match first, newest labels first, or by product name. |
| `maxLabelsPerQuery` | number | 50 | Cost ceiling per search term. A label ID always returns that one label. |

### Input example

```json
{
    "queries": [
        "magnesium glycinate",
        "33919"
    ],
    "searchIn": "anywhere",
    "marketStatus": "all",
    "sortBy": "relevance",
    "maxLabelsPerQuery": 50
}
```

### Output example

| Field | Type | What it holds |
|---|---|---|
| `labelId` | number | The DSLD label ID, the NIH's own number for this label version; give it as input to read the same label again. |
| `productName` | text | The product name as printed on the label, for example Magnesium Glycinate. |
| `brandName` | text | The brand on the label, for example Solaray or Vinco's. |
| `form` | text | The physical form as the NIH codes it: Capsule, Tablet or Pill, Softgel, Powder, Liquid, Gummy, Bar, Lozenge and so on. |
| `productType` | text | The NIH product type, for example Mineral, Botanical, Vitamin or Multi-Vitamin and Mineral (MVM). |
| `servingSize` | text | One serving as printed, quantity and unit together, for example 1 VegCap(s) or 0.5-1 Gram(s) for a range. |
| `servingSizeQuantity` | number | The number of the serving size (the lower end of a range), so you can compute per unit. |
| `servingSizeUnit` | text | The unit of the serving size as the NIH records it, for example Capsule(s), Gram(s) or mL. |
| `servingsPerDay` | text | How many servings a day the label suggests, a single number or a range such as 1-2. |
| `servingsPerContainer` | text | Servings per container as printed on the label; empty when the label gives none. |
| `netContents` | text | Net contents as printed, several forms joined with a slash, for example 7 oz. / 200 Gram(s). |
| `upcSku` | text | The UPC barcode or SKU as the NIH transcribed it from the label; empty when none is printed. |
| `targetGroups` | list | Groups the label addresses or formulation tags the NIH recorded, for example Adult (18 - 50 Years) or Gluten Free. |
| `dailyValueTargetGroup` | text | The group whose Daily Values the %DV figures refer to, for example Adults and children 4 or more years of age. |
| `claims` | list | Claim types found on the label as the NIH classifies them: Structure/Function, Nutrient, Approved Health, All Other. |
| `ingredientCount` | number | Number of entries in ingredients, counting each ingredient inside a blend as its own entry. |
| `ingredients` | list | One object per line of the Supplement Facts panel: name, category, amount, unit, amountMg, originalAmount, amountDisclosed, percentDailyValue, dailyValueNote, forms, parentIngredient, inBlend, isBlend, level, uniiCode. |
| `otherIngredients` | list | The Other ingredients list on the label (fillers, capsule shell, flavours), names only. |
| `hasProprietaryBlend` | true/false | True when the panel has at least one blend line, the NIH category blend or a name with blend in it. |
| `proprietaryBlendUndisclosed` | true/false | True when at least one ingredient inside a blend has no amount on the label, so only the total of the blend is known. |
| `onMarket` | true/false | False when the NIH marks the product as off the market; true when it is still listed as sold. |
| `entryDate` | text | The date the label was entered into the DSLD, YYYY-MM-DD. |
| `labelUrl` | text | Link to this label on the NIH DSLD website. |
| `query` | text | The search term or label ID from your input that returned this label. |

Error codes: `INVALID_QUERY`, `NO_RESULTS`, `NOT_FOUND`, `BLOCKED`.

A real row, label 296304 as the NIH API returned it on 28-10-2026 (two of its four ingredients shown):

```json
{
    "labelId": 296304,
    "productName": "Vitamin D3 + K2",
    "brandName": "Solaray",
    "form": "Capsule",
    "productType": "Multi-Vitamin and Mineral (MVM)",
    "servingSize": "1 VegCap(s)",
    "servingSizeQuantity": 1,
    "servingSizeUnit": "VegCap(s)",
    "servingsPerDay": "1",
    "servingsPerContainer": "120",
    "netContents": "120 VegCap(s)",
    "upcSku": "0 76280 57445 6",
    "targetGroups": ["Adult (18 - 50 Years)"],
    "dailyValueTargetGroup": "Adults and children 4 or more years of age",
    "claims": ["Nutrient", "All Other", "Structure/Function"],
    "ingredientCount": 4,
    "ingredients": [
        {
            "name": "Vitamin D3",
            "category": "vitamin",
            "ingredientGroup": "Vitamin D",
            "level": 0,
            "parentIngredient": null,
            "inBlend": false,
            "isBlend": false,
            "amount": 125,
            "unit": "mcg",
            "amountOperator": null,
            "amountMg": 0.125,
            "originalAmount": "125 mcg",
            "amountDisclosed": true,
            "percentDailyValue": 625,
            "percentDailyValueOperator": null,
            "dailyValueNote": null,
            "forms": ["Cholecalciferol"],
            "notes": "Vitamin D3 5000 IU",
            "uniiCode": "1C6V77QF41"
        },
        {
            "name": "Calcium",
            "category": "mineral",
            "ingredientGroup": "Calcium",
            "level": 0,
            "parentIngredient": null,
            "inBlend": false,
            "isBlend": false,
            "amount": 110,
            "unit": "mg",
            "amountOperator": null,
            "amountMg": 110.0,
            "originalAmount": "110 mg",
            "amountDisclosed": true,
            "percentDailyValue": 8,
            "percentDailyValueOperator": null,
            "dailyValueNote": null,
            "forms": ["Calcium Phosphate"],
            "notes": null,
            "uniiCode": "SY7Q814VUP"
        }
    ],
    "otherIngredients": ["Vegetable Cellulose", "Cellulose", "Glycerol Monostearate", "Rice Bran extract", "Silica", "modified Food Starch"],
    "hasProprietaryBlend": false,
    "proprietaryBlendUndisclosed": false,
    "onMarket": false,
    "entryDate": "2023-08-23",
    "labelUrl": "https://dsld.od.nih.gov/label/296304",
    "query": "vitamin d3"
}
```

An ingredient inside a proprietary blend without its own dose (label 333265) comes as `"amount": null, "unit": null, "amountMg": null, "originalAmount": "0 NP", "amountDisclosed": false, "inBlend": true, "parentIngredient": "Proprietary Blend"`; NP is the NIH's code for "not provided".

### Related actors from steadydata

- [fda-recalls](https://apify.com/steadydata/fda-recalls): FDA recalls by search term, including supplements recalled for undeclared ingredients

### Pricing

Pay per event: one `label-listed` event per delivered label, with all its ingredients in the
same row. No charge for inputs that fail, no separate platform-usage surcharge.

**Free Apify plan:** this actor delivers up to 25 rows per run for accounts on the Apify free
plan, and then stops with a message. That limit is set by us, not by Apify. It exists so the
actor keeps paying for itself for the people who do pay. Any paid Apify plan runs it at full
size, billed per delivered row, with failed rows never charged.

### Use with AI agents

AI assistants such as Claude, ChatGPT or Cursor can run this actor through Apify's own MCP server. Ask for the actor `steadydata/dietary-supplement-labels` by its full name, so the assistant does not pick a different one, and start from this minimal input:

```json
{
  "queries": [
    "magnesium glycinate",
    "33919"
  ]
}
```

The assistant can read the price per event from the Pricing section above before the first paid run. Failed input comes back as an error row, as described above.

### FAQ

**Is personal data collected?**
No. Rows carry the product, the brand and the label contents. The contact block of the NIH record (company name, street address, phone number, e-mail and website of the manufacturer or distributor) is not read into the output, and neither are label images.

**Why is amountMg empty for some ingredients?**
Because the conversion is not exact for them. An IU of vitamin A or vitamin E means a different weight depending on the form, mcg DFE and mcg RAE are equivalents rather than weights, and probiotics are counted in CFU. Those keep their printed `amount` and `unit`; `amountMg` is only filled where the number is certain.

**How do I find every product that contains an ingredient?**
Set `searchIn` to `ingredient` and put the ingredient in `queries`, for example ashwagandha. The NIH's synonyms are applied, so vitamin D3 also finds labels that print cholecalciferol. A term with a space is searched as a phrase.

**How do I read specific labels again?**
Put their label IDs (the `labelId` of an earlier run) or dsld.od.nih.gov/label/ links in `queries`. Each one costs one label; an ID that does not exist comes back as a free `NOT_FOUND` row.

**Is the data allowed to be reused?**
The NIH publishes the DSLD API under CC0 1.0 Universal, a public domain dedication. You can use the rows commercially.

**What does a run cost when a search finds nothing?**
Nothing. `NO_RESULTS`, `NOT_FOUND`, `INVALID_QUERY` and `BLOCKED` rows are free; only delivered labels are charged.

**What happens when the source changes?**
Sources change from time to time; that is the nature of this work. The actor is
monitored daily and fixed fast, and while it is broken you are not charged, because
only delivered results cost anything.

**Can I call it from my own code, like an API?**
Yes. Every run is available through the Apify API: start it with one HTTP request, then read
the results as JSON, CSV or Excel from the dataset endpoint, or use the official Python and
JavaScript clients. The input is the same JSON as in the input example above, so a scheduled
script, a Make or Zapier step or an AI agent can call it without any changes.

# Changelog

This Actor's version history is a separate document: https://apify.com/steadydata/dietary-supplement-labels/changelog.md

# Actor input Schema

## `queries` (type: `array`):

One row per search, up to 50: a product, brand or ingredient such as magnesium glycinate or ashwagandha, or a DSLD label ID (a number such as 33919, or a dsld.od.nih.gov/label/ link) for exactly that label. An asterisk lists every label that matches the filters below.

## `searchIn` (type: `string`):

Where a search term must match: anywhere on the label, only the product name, only the brand, or only the ingredient names (with the NIH synonyms, so vitamin D3 also finds cholecalciferol). Label IDs ignore this.

## `marketStatus` (type: `string`):

On market only, off market only, or both. The NIH marks a label off market when the product is no longer sold.

## `sortBy` (type: `string`):

Best match first, newest labels first, or by product name.

## `maxLabelsPerQuery` (type: `integer`):

Cost ceiling per search term. A label ID always returns that one label.

## Actor input object example

```json
{
  "queries": [
    "magnesium glycinate",
    "33919"
  ],
  "searchIn": "anywhere",
  "marketStatus": "all",
  "sortBy": "relevance",
  "maxLabelsPerQuery": 50
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "magnesium glycinate",
        "33919"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadydata/dietary-supplement-labels").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 = { "queries": [
        "magnesium glycinate",
        "33919",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("steadydata/dietary-supplement-labels").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 '{
  "queries": [
    "magnesium glycinate",
    "33919"
  ]
}' |
apify call steadydata/dietary-supplement-labels --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadydata/dietary-supplement-labels"
        }
    }
}
```

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/6KVuDIyjl4SEwjMxB/builds/4hZamZOHJGvWfMq52/openapi.json
