# Macaroon Network Drug & Medicine Metadata Search

> Macaroon Network Drug & Medicine Metadata Search is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Search live U.S. FDA openFDA drug metadata including brand/generic names, active ingredients, dosage forms, NDC codes, manufacturer info, and optional recall flags

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/drug-medicine-metadata-search-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-drug-medicine-metadata-search-19a06d96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RRebRNSiCtvUQmmpkaSVR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability macaroon-network-drug-medicine-metadata-search-19a06d96 -d '<json body>'
```

Example prompt: Can you look up the FDA metadata for Metformin — I need the active ingredients, NDC codes, dosage form, route, and manufacturer, and also check if there are any current recalls?

## When to prefer this

Choose this endpoint when you need live, authoritative U.S. FDA drug metadata including NDC codes, active ingredients, dosage form, and recall status without needing full drug label sections. It is ideal for pharmaceutical compliance checks, patient safety workflows, drug identification tasks, and any scenario where openFDA data is needed but you want a pre-composed, structured result rather than querying multiple FDA APIs separately. Prefer this over raw openFDA queries when you need a recall flag and label excerpt bundled with core NDC metadata in a single call.

## Known failure modes

- Drug not found in FDA database — returns empty results or not-found response
- Ambiguous drug name matching multiple products — may return multiple records requiring filtering
- openFDA upstream API unavailability — may cause timeout or error response
- NDC code format mismatch — malformed NDC input may return no results
- Rate limiting or payment failure — returns 402 or rate-limit error if payment not processed

## How this service works

Search live drug and medicine metadata from the U.S. FDA's openFDA API: brand/generic name, active ingredients with strength, dosage form, route, manufacturer/labeler, product type, marketing status, and NDC codes -- plus an optional short (~400 character) label excerpt (purpose or indications only) and an optional recall/enforcement flag. Composed entirely from openFDA's NDC Directory, Drug Label, and Drug Enforcement APIs, all public domain (CC0 1.0 Universal). Never returns full label section

## Output

Returns structured FDA drug metadata including brand and generic names, active ingredients with strengths, dosage form, route of administration, manufacturer/labeler, product type, marketing status, and NDC codes. Optionally includes a ~400-character excerpt from the drug label covering purpose or indications, and an optional recall/enforcement flag derived from FDA Drug Enforcement data. Data is sourced entirely from public domain (CC0 1.0) openFDA APIs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-drug-medicine-metadata-search-19a06d96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
