Daily paginated U.S. openFDA drug shortages API snapshot capturing active, resolved, and to-be-discontinued package NDC listings, therapeutic categories, and update dates.
event_period_end_utc)known_time_utc)SHA-256: dc22ef4a047dfbf611a3a03106f14d4b4ffd14651fc3b588db18375c2624e721 · Protected URL: https://bitemporal.dev/v1/datasets/us_fda_drug_shortages_pit_v1.parquet
First five rows from this file showing event dates beside public release times.
event_period_end_utc: event date
known_time_utc: first public release
Delay shows time between them
| package_ndc | event_period_end_utc | known_time_utc | Delay | Revision | Entity | generic_name | shortage_status |
|---|---|---|---|---|---|---|---|
| 0002-7752-05 | 2026-09-01T00:00:00Z | 2026-11-27T00:00:00Z | +87d 0h | Original r0 | UNRES_US_OPENFDA_ELI_LILLY_AND_CO | Insulin Lispro Injection | To Be Discontinued |
| 0002-8011-27 | 2025-12-22T00:00:00Z | 2026-11-27T00:00:00Z | +340d 0h | Original r0 | UNRES_US_OPENFDA_ELI_LILLY_AND_CO | Mirikizumab-mrkz Injection | To Be Discontinued |
| 0002-8233-05 | 2026-09-01T00:00:00Z | 2026-11-27T00:00:00Z | +87d 0h | Original r0 | UNRES_US_OPENFDA_ELI_LILLY_AND_CO | Insulin Lispro Protamine and Insu... | To Be Discontinued |
| 0002-8870-27 | 2025-12-22T00:00:00Z | 2026-11-27T00:00:00Z | +340d 0h | Original r0 | UNRES_US_OPENFDA_ELI_LILLY_AND_CO | Mirikizumab-mrkz Injection | To Be Discontinued |
| 0002-8980-05 | 2026-09-01T00:00:00Z | 2026-11-27T00:00:00Z | +87d 0h | Original r0 | UNRES_US_OPENFDA_ELI_LILLY_AND_CO | Insulin Glargine-aglr Injection | To Be Discontinued |
-- Query the 100-row sample directly over HTTPS INSTALL httpfs; LOAD httpfs; SELECT COUNT(*), MIN(event_period_end_utc), MAX(known_time_utc) FROM 'https://bitemporal.dev/v1/sample/us_fda_drug_shortages_pit_v1.parquet'; -- Query the full file (1,549 rows) with a pass key CREATE OR REPLACE SECRET bt_auth (TYPE HTTP, BEARER_TOKEN 'bt_live_your_token'); SELECT * FROM 'https://bitemporal.dev/v1/datasets/us_fda_drug_shortages_pit_v1.parquet' LIMIT 25;
# Scan the 100-row sample with Polars import polars as pl sample_df = ( pl.scan_parquet("https://bitemporal.dev/v1/sample/us_fda_drug_shortages_pit_v1.parquet") .select(["event_period_end_utc", "known_time_utc", "entity_id", "match_status"]) .limit(10) .collect() ) # Read the full file (1,549 rows) with your API key full_df = pl.scan_parquet( "https://bitemporal.dev/v1/datasets/us_fda_drug_shortages_pit_v1.parquet", storage_options={"Authorization": "Bearer bt_live_your_token"}, ).collect()
# Check byte-range support on the sample file curl -i -r 0-3 "https://bitemporal.dev/v1/sample/us_fda_drug_shortages_pit_v1.parquet" # Download the 100-row sample file curl -fSL -o sample.parquet "https://bitemporal.dev/v1/sample/us_fda_drug_shortages_pit_v1.parquet" # Download the full file (1,549 rows) curl -fSL -H "Authorization: Bearer bt_live_your_token" -o dataset.parquet "https://bitemporal.dev/v1/datasets/us_fda_drug_shortages_pit_v1.parquet"
| # | Column | Parquet type | Nullability | Role |
|---|---|---|---|---|
| 1 | package_ndc | string | Required | Dataset field |
| 2 | event_period_end_utc | timestamp[ms, tz=UTC] | Required | Event date (UTC) |
| 3 | known_time_utc | timestamp[ms, tz=UTC] | Required | First public release (UTC) |
| 4 | initial_known_time_utc | timestamp[ms, tz=UTC] | Required | Revision history |
| 5 | prior_known_time_utc | timestamp[ms, tz=UTC] | Optional | Revision history |
| 6 | revision_seq | uint16 | Required | Revision history |
| 7 | record_op | string | Required | Revision history |
| 8 | vintage_source | string | Required | Revision history |
| 9 | payload_sha256 | string | Required | Revision history |
| 10 | generic_name | string | Optional | Dataset field |
| 11 | shortage_status | string | Optional | Dataset field |
| 12 | update_type | string | Optional | Dataset field |
| 13 | company_name | string | Optional | Dataset field |
| 14 | brand_name | string | Optional | Dataset field |
| 15 | application_number | string | Optional | Dataset field |
| 16 | therapeutic_category | string | Optional | Dataset field |
| 17 | presentation | string | Optional | Dataset field |
| 18 | related_info | string | Optional | Dataset field |
| 19 | route | string | Optional | Dataset field |
| 20 | initial_posting_date | date32[day] | Optional | Dataset field |
| 21 | update_date | date32[day] | Optional | Dataset field |
| 22 | discontinued_date | date32[day] | Optional | Dataset field |
| 23 | raw_payload_json | string | Optional | Revision history |
| 24 | entity_id | string | Required | Entity resolution |
| 25 | match_status | string | Required | Entity resolution |
| 26 | pit_primary_lei | string | Optional | Entity resolution |
| 27 | pit_primary_figi | string | Optional | Entity resolution |
| 28 | pit_primary_cik | string | Optional | Entity resolution |
| 29 | pit_primary_ticker | string | Optional | Entity resolution |
| 30 | pit_primary_ownership_share | float | Required | Entity resolution |
| 31 | entity_mapping_known_time_utc | timestamp[ms, tz=UTC] | Required | Entity resolution |
| 32 | event_year | int16 | Required | Dataset field |
| 33 | event_quarter | int8 | Required | Dataset field |
| 34 | pub_date | date32[day] | Required | Dataset field |