EU Medicine Shortages API

Medicine shortages the European Medicines Agency publishes: the medicine and its active substance, whether the shortage is ongoing, resolved or the medicine was discontinued, the forms and strengths affected, therapeutic areas, alternatives, start and expected end, newest changes first.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from ema.europa.eu/en/human-regulatory-overview/post-authorisation/medicine-shortages-availability-issues/public-information-medicine-shortages

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Medicineoptional
Words that must all appear in the medicine's name or its active substance, such as insulin or NovoSeven.
Example: insulin
Statusoptional
Only shortages that are ongoing, resolved, or where the medicine was discontinued.
Therapeutic areaoptional
Words that must all appear in the therapeutic areas (MeSH terms), such as diabetes.
Example: diabetes
Updated sinceoptional
Only entries EMA first published or last updated on or after this day, as YYYY-MM-DD: what changed since your last run.
Example: 2026-11-01

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/ema-medicine-shortages/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/ema-medicine-shortages/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"medicine":"insulin"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

medicinetext
Words that must all appear in the medicine's name or its active substance, such as insulin or NovoSeven.
example: insulin
statustext
Only shortages that are ongoing, resolved, or where the medicine was discontinued.
example: ongoingone of: ongoing, resolved, discontinued
therapeutic_areatext
Words that must all appear in the therapeutic areas (MeSH terms), such as diabetes.
example: diabetes
updated_sincetext
Only entries EMA first published or last updated on or after this day, as YYYY-MM-DD: what changed since your last run.
example: 2026-11-01

What's in each record

12 fields.

Basics

  • Medicine affected

    The medicine in shortage as EMA names it, such as NovoSeven (eptacog alfa).

    Example Lenzetto

  • Inn

    The active substance: its international non-proprietary name (INN) or common name; several are separated by semicolons.

    Example estradiol

  • Shortage status

    Shortage ongoing, Shortage resolved or Medicine discontinued.

    Example Shortage ongoing

  • Pharmaceutical forms

    The pharmaceutical forms affected, such as Solution for injection.

    Example Transdermal spray

  • Strengths

    The strengths affected, such as 150 mg.

    Example 1.53 mg

  • Therapeutic areas

    The therapeutic areas as MeSH terms, such as Diabetes Mellitus, Type 2.

    Example Menopause, Hot Flashes

  • Alternatives available

    Whether alternatives are available, in EMA's words: Yes, No, Unknown or Depending on indication.

    Example Yes

  • Expected resolution

    When EMA expects the shortage to end, in its own words, such as End of 2027.

    Example End of 2027

Dates

  • Start date

    The day the shortage started (or starts), when EMA gives it.

    Example Mar 1, 2027

  • First published date

    The day EMA first published the shortage.

    Example Nov 20, 2026

  • Last updated date

    The day EMA last updated the entry, when it has.

    Example Nov 12, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
medicine_affectedtextMedicine affected3 of 3
inntextInn3 of 3
shortage_statustextShortage status3 of 3
pharmaceutical_formslistPharmaceutical forms2 of 3
strengthslistStrengths2 of 3
therapeutic_areaslistTherapeutic areas1 of 3
alternatives_availabletextAlternatives available2 of 3
start_datedateStart date2 of 3
expected_resolutiontextExpected resolution1 of 3
first_published_datedateFirst published date3 of 3
last_updated_datedateLast updated date1 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordMedicine affectedInnShortage statusPharmaceutical formsStrengthsTherapeutic areasAlternatives availableExpected resolutionStart dateFirst published dateLast updated dateLink
1LenzettoestradiolShortage ongoingTransdermal spray1.53 mgMenopause, Hot FlashesYesEnd of 2027—Nov 20, 2026—ema.europa.eu/en/medicines/human/shortages/lenzetto
2TegsediinotersenShortage ongoingSolution for injection in pre-filled syringe——Yes—Mar 1, 2027Jul 3, 2026Nov 12, 2026ema.europa.eu/en/medicines/human/shortages/tegsedi
3EmendaprepitantShortage ongoing—80 mg, 125 mg———Nov 6, 2026Nov 6, 2026—ema.europa.eu/en/medicines/human/shortages/emend-0

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Data from the European Medicines Agency (EMA), which refreshes it twice a day (06:00 and 18:00 Amsterdam time). EMA allows reuse, also commercial, when EMA is acknowledged as the source in each copy. EMA does not endorse this API.
  • Only the shortages EMA has assessed itself: those that affect, or may affect, more than one EU country (under 100 entries, ongoing and resolved). A shortage handled by one country's medicines agency is on that country's own register.
  • start_date is given for about one entry in seven and expected_resolution (EMA's own words, such as End of 2027) for about one in four; therapeutic_areas and strengths are missing for some entries.
  • Records come most recently changed first (last update, else first publication); one run returns at most 1,000 records.
  • EMA's site refuses requests that come too often, so we send it at most one request every 35 seconds across all runs: a run may wait its turn, and a refused run ends with no records and can be run again a few minutes later.

Version history

A run uses the live version unless the request names another one with version.