{
  "x402Version": 2,
  "id": 5300,
  "slug": "5300",
  "resource": "https://x402stock.xyz/api/v1/fda/shortages",
  "description": "Current and resolved US drug shortages from openFDA, newest update first. Optional `?company=Pfizer` narrows to one manufacturer (omit for market-wide); `?limit=` (max 100). Each carries the generic name, company, status, therapeutic category, dosage form, presentation, posting/update dates, and reason. A supply-side catalyst for generic makers. From x402stock",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "company": "Pfizer",
            "limit": 20
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-06-18T12:00:00.000Z",
            "attribution": "Source: openFDA, U.S. Food and Drug Administration",
            "company": "Pfizer",
            "count": 1,
            "shortages": [
              {
                "company_name": "Pfizer Inc.",
                "dosage_form": "Injection",
                "generic_name": "Clindamycin Phosphate Injection",
                "posted_date": "2026-06-01",
                "presentation": "Cleocin Phosphate, Injection, 600 mg/4 mL (150 mg/mL); 4 mL Vial",
                "reason": "Discontinuation of the manufacture of the drug",
                "status": "To Be Discontinued",
                "therapeutic_category": [
                  "Anti-Infective"
                ],
                "update_type": "New",
                "updated_date": "2026-06-01"
              }
            ],
            "source": "fda",
            "total_matched": 297
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "company": {
                    "maxLength": 120,
                    "minLength": 2,
                    "type": "string"
                  },
                  "limit": {
                    "default": 20,
                    "exclusiveMinimum": 0,
                    "maximum": 100,
                    "type": "integer"
                  }
                },
                "required": [
                  "limit"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "attribution": {
                    "type": "string"
                  },
                  "company": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "count": {
                    "type": "number"
                  },
                  "shortages": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "company_name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "dosage_form": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "generic_name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "posted_date": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "presentation": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "reason": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "therapeutic_category": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "update_type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "updated_date": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "generic_name",
                        "company_name",
                        "status",
                        "therapeutic_category",
                        "dosage_form",
                        "presentation",
                        "posted_date",
                        "updated_date",
                        "update_type",
                        "reason"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "const": "fda",
                    "type": "string"
                  },
                  "total_matched": {
                    "type": "number"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "company",
                  "total_matched",
                  "count",
                  "shortages",
                  "attribution"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-09-14T19:01:40.654Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T19:01:40.219Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}