{
  "format": "delx/intent-card/v1",
  "id": "fda-med-safety-api",
  "intent": "openFDA Drug Safety & Recalls for an agent workflow",
  "title": "openFDA Drug Safety & Recalls API for agents",
  "description": "Query U.S. FDA openFDA drug adverse events (FAERS), enforcement recalls, or drug label warnings for $0.003 USDC via x402 on Base or Solana. Omitting third-party GMDN terminology with CC0 1.0 attribution and explicit non-medical disclaimer; keyless, bounded JSON with no subscription.",
  "keywords": [
    "openFDA Drug Safety & Recalls API",
    "openFDA Drug Safety & Recalls for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-11-22",
  "canonical_url": "https://commerce.delx.ai/intents/fda-med-safety-api",
  "machine_url": "https://commerce.delx.ai/intents/fda-med-safety-api.json",
  "recommendation": {
    "tool_name": "fda_med_safety",
    "service_name": "openFDA Drug Safety & Recalls",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/fda-med-safety",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "drug_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "description": "Brand or generic drug name."
        },
        "dataset": {
          "type": "string",
          "enum": [
            "event",
            "enforcement",
            "label"
          ],
          "default": "event"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 10
        },
        "timeout": {
          "type": "integer",
          "minimum": 2,
          "maximum": 12,
          "default": 10
        }
      },
      "required": [
        "drug_name"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "drug_name": "ibuprofen",
      "dataset": "enforcement",
      "limit": 5
    },
    "example_output": {
      "tool_name": "fda_med_safety",
      "result": {
        "schema": "delx/fda-med-safety/v1",
        "scope": "fda_med_safety",
        "drug_name": "ibuprofen",
        "dataset": "enforcement",
        "total_available": 3,
        "count": 1,
        "records": [
          {
            "recall_number": "D-0123-2026",
            "status": "Ongoing",
            "classification": "Class II",
            "recalling_firm": "Example Pharma LLC",
            "product_description": "Ibuprofen Tablets USP, 200 mg",
            "reason_for_recall": "Subpotent drug: failed dissolution specification.",
            "report_date": "20260918",
            "distribution_pattern": "Nationwide in the USA"
          }
        ],
        "provider": "U.S. FDA openFDA",
        "provider_url": "https://open.fda.gov/",
        "license_url": "https://creativecommons.org/publicdomain/zero/1.0/",
        "source_attribution": "Data supplied by U.S. FDA openFDA API under CC0 1.0 Public Domain Dedication. Third-party GMDN terminology is omitted.",
        "disclaimer": "Informational FDA drug safety metadata only; not medical advice, diagnosis, or clinical decision support. FAERS adverse-event reports do not establish causation.",
        "cache": "miss"
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/fda-med-safety -m POST -H 'x-delx-source: intent-card-fda-med-safety-api' --max-amount 0.003 -b '{\"drug_name\":\"ibuprofen\",\"dataset\":\"enforcement\",\"limit\":5}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-fda-med-safety-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/fda-med-safety"
  }
}
