---
title: "GET /v1/shortages"
method: GET
path: "/v1/shortages"
tags: ["Index"]
---

# GET /v1/shortages

`GET /v1/shortages`

## Request

- Base URL: `https://api.pillwise.dev`
- URL: `https://api.pillwise.dev/v1/shortages`
- Auth: HTTP bearer

## Query parameters

- `as_of` string
- `graph_version` string
- `status` string
- `drug_id` string
- `ndc` string

## Response `200`

First-class shortage index

- object
  - `shortages` Shortage[]
    - `id` string, required
    - `status` string
    - `update_type` string
    - `generic_name` string
    - `strength` string
    - `presentation` string
    - `ndc11` string[]
    - `application_numbers` string[]
    - `drug_ids` string[], required
    - `conflicts` object[]
  - `graph_version` string
  - `as_of` string, date-time
  - `jurisdiction` string
  - `freshness` string

## Other responses

- `410`: Requested snapshot is not retained (gone_graph)

---

[API](https://skmtc.dev/pillwise/apis/pillwise-api.md) · [All operations](https://skmtc.dev/pillwise/apis/pillwise-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pillwise/apis/pillwise-api/revisions/2c2ca705f9ef?raw)
