Sign inTry it

Search FDA drug labels on DailyMed.

Searches DailyMed, the NLM drug label database, like its search page: drug label title (name and dosage form), packager (labeler) and link to the label. First page of results (about 20 labels). Returns an empty list when nothing matches.

No reports yetRead-only, no login
Site
DailyMed, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
059af2499284…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search FDA drug labels on DailyMed.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "dailymed.nlm.nih.gov/search-articles",
    "params": {
      "query": "lisinopril tablets"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/dailymed/search.cfm?queryServer-rendered search results page /dailymed/search.cfm?query=...; read-only GET. Each result is an article.row; the title link carries the label URL, and the packager is the span inside the drug-information list item.

Parameters

from your agent
querystringrequiredDrug name, ingredient or label term, e.g. 'lisinopril tablets', 'insulin glargine', 'amoxicillin'

Returns

to your agent
labelsobject[]packager, title, url
querystring

Where it can send

  • dailymed.nlm.nih.gov

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.labels) > `0`
  • length(output.labels[?title != `null`]) == length(output.labels)
  • length(output.labels[?starts_with(url, 'https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=')]) == length(output.labels)

Raw recipe

Served as canonical JSON from /api/v1/recipes/dailymed.nlm.nih.gov/search-articles, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/dailymed.nlm.nih.gov/search-articles | shasum -a 256
# 059af24992841eaa1845c777a67d7454a3a45d1c1fca9786a5a9727fe0a7b7c5
dailymed.nlm.nih.gov/search-articles.json, v1
{
  "description": "Searches DailyMed, the NLM drug label database, like its search page: drug label title (name and dosage form), packager (labeler) and link to the label. First page of results (about 20 labels). Returns an empty list when nothing matches.",
  "effect": "read",
  "id": "dailymed.nlm.nih.gov/search-articles",
  "keywords": [
    "dailymed",
    "drug label",
    "drug labels",
    "medication",
    "medicine",
    "prescription drug",
    "package insert",
    "fda",
    "nlm",
    "pharmaceutical",
    "ndc",
    "drugs",
    "arzneimittel",
    "beipackzettel"
  ],
  "output": {
    "schema": {
      "properties": {
        "labels": {
          "items": {
            "properties": {
              "packager": {
                "description": "Labeler or packager of the product",
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "description": "Drug name and dosage form as listed on the label",
                "type": "string"
              },
              "url": {
                "description": "DailyMed label page",
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "labels"
      ],
      "type": "object"
    },
    "value": "{query: params.query, labels: map(&{title: title, packager: packager || `null`, url: join('', ['https://dailymed.nlm.nih.gov', href])}, steps.search.labels[?title != `null` && href != `null`] || `[]`)}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Drug name, ingredient or label term, e.g. 'lisinopril tablets', 'insulin glargine', 'amoxicillin'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /dailymed/search.cfm?query=..., server-rendered HTML with 20 article.row results (a.drug-info-link title and href, packager in ul.drug-information). No API call is needed. robots.txt on the origin answers with a redirect to the homepage HTML, so no path is disallowed by it.",
    "recorded_at": "2026-11-08T16:25:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "dailymed.nlm.nih.gov",
    "language": "en",
    "name": "DailyMed",
    "origin": "https://dailymed.nlm.nih.gov",
    "origins": [
      "https://dailymed.nlm.nih.gov"
    ]
  },
  "steps": [
    {
      "description": "Server-rendered search results page /dailymed/search.cfm?query=...; read-only GET. Each result is an article.row; the title link carries the label URL, and the packager is the span inside the drug-information list item.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "labels": {
            "fields": {
              "href": {
                "attr": "href",
                "selector": "a.drug-info-link"
              },
              "packager": {
                "selector": "ul.drug-information > li > span"
              },
              "title": {
                "selector": "a.drug-info-link"
              }
            },
            "max": 50,
            "selector": "article.row"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "query": "{{params.query}}"
        },
        "url": "/dailymed/search.cfm"
      }
    }
  ],
  "task": "Search FDA drug labels on DailyMed",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.labels) > `0`",
      "length(output.labels[?title != `null`]) == length(output.labels)",
      "length(output.labels[?starts_with(url, 'https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=')]) == length(output.labels)"
    ],
    "example_params": {
      "query": "lisinopril tablets"
    },
    "max_ms": 5000
  },
  "version": 1
}