{
  "x402Version": 2,
  "id": 57426,
  "slug": "57426",
  "resource": "https://drug-shortage-check.iykykblog.workers.dev/check",
  "description": "Check whether a drug is currently in shortage in the FDA Drug Shortages Database, by generic/brand name or NDC. Returns the FDA status (Currently in Shortage / Resolved / To Be Discontinued), affected presentations, availability, FDA-published shortage reason, and posting dates. Public-domain FDA data via openFDA.",
  "type": "http",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x329b4b66AFBC407bb3a22DAEb465487c6FAa08C1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "name": "Atropine Sulfate"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "counts": {
              "current": 17,
              "resolved": 0,
              "to_be_discontinued": 2,
              "total": 19
            },
            "found": true,
            "in_shortage": true,
            "listings": [
              {
                "availability": "Unavailable",
                "brand_names": null,
                "company_name": "Accord Healthcare Inc.",
                "dosage_form": "Injection",
                "fda_database_url": "https://www.fda.gov/drugs/drug-safety-and-availability/drug-shortages",
                "generic_name": "Atropine Sulfate Injection",
                "initial_posting_date": "2012-01-01",
                "package_ndc": "16729-525-08",
                "presentation": "Atropine Sulfate, Injection, .4 mg/1 mL (NDC 16729-525-08)",
                "shortage_reason": "Requirements related to complying with good manufacturing practices",
                "status": "Current",
                "status_label": "Currently in Shortage",
                "therapeutic_category": [
                  "Anesthesia",
                  "Neurology",
                  "Pediatric"
                ]
              }
            ],
            "query": {
              "name": "Atropine Sulfate"
            },
            "verdict": "currently_in_shortage"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "name": {
                    "description": "Generic or brand drug name, e.g. 'Atropine Sulfate'",
                    "type": "string"
                  },
                  "ndc": {
                    "description": "Package or product NDC, with or without dashes, e.g. '16729-525-08'",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "drug-shortage-check.iykykblog.workers.dev",
  "lastUpdated": "2026-10-13T15:17:11.864Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T15:17:11.328Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "name": "Atropine Sulfate"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "counts": {
                "current": 17,
                "resolved": 0,
                "to_be_discontinued": 2,
                "total": 19
              },
              "found": true,
              "in_shortage": true,
              "listings": [
                {
                  "availability": "Unavailable",
                  "brand_names": null,
                  "company_name": "Accord Healthcare Inc.",
                  "dosage_form": "Injection",
                  "fda_database_url": "https://www.fda.gov/drugs/drug-safety-and-availability/drug-shortages",
                  "generic_name": "Atropine Sulfate Injection",
                  "initial_posting_date": "2012-01-01",
                  "package_ndc": "16729-525-08",
                  "presentation": "Atropine Sulfate, Injection, .4 mg/1 mL (NDC 16729-525-08)",
                  "shortage_reason": "Requirements related to complying with good manufacturing practices",
                  "status": "Current",
                  "status_label": "Currently in Shortage",
                  "therapeutic_category": [
                    "Anesthesia",
                    "Neurology",
                    "Pediatric"
                  ]
                }
              ],
              "query": {
                "name": "Atropine Sulfate"
              },
              "verdict": "currently_in_shortage"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "name": {
                      "description": "Generic or brand drug name, e.g. 'Atropine Sulfate'",
                      "type": "string"
                    },
                    "ndc": {
                      "description": "Package or product NDC, with or without dashes, e.g. '16729-525-08'",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "drug-shortage-check.iykykblog.workers.dev",
    "manifest_name": "drug-shortage-check.iykykblog.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}