# EMA Medicine Supply Shortage Lookup

> EMA Medicine Supply Shortage Lookup is a paid API for AI agents from api.healthtravel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns current European Medicines Agency (EMA) medicine supply shortage records matching a medicine name or INN, including shortage status, affected forms, alternatives, and dates.

## Facts

- Endpoint: GET https://api.healthtravel-api.workers.dev/api/health/ema-shortages-safety?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ema-medicine-supply-shortage-lookup-4e30c3d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NGQTDIFbPzxMoSm8tBytr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ema-medicine-supply-shortage-lookup-4e30c3d1
```

Example prompt: Can you check if amoxicillin is currently in shortage according to the European Medicines Agency, and whether there are any alternatives available?

## When to prefer this

Use this endpoint when you need current EMA-sourced medicine supply shortage data for European markets, including shortage status, affected forms, alternative availability, and resolution timelines. Prefer this over general web search when structured, machine-readable shortage records are needed for a specific drug name or INN. Note: this endpoint covers supply shortages only — not safety signals, pharmacovigilance alerts, or drug approvals.

## Known failure modes

- Query string too short (under 2 characters) or too long (over 60 characters) returns a validation error
- No matching shortage records found for the search term returns an empty result set
- EMA data source unavailable or outdated may return stale or no data
- Invalid 'max' parameter (outside 1–20 range) may cause an error or be clamped to defaults
- Network timeout or upstream EMA API unavailability returns a service error

## How this service works

European Medicines Agency (EMA) human medicine supply shortages (EMA shortages JSON): medicine, INN, shortage status, affected forms, availability of alternatives, start and expected resolution dates. Shortages only; safety signals and pharmacovigilance data are not included. Up to 20 per call.

## Output

Returns up to 20 shortage records from the EMA database, each containing the medicine name, INN, current shortage status, affected pharmaceutical forms, availability of alternative medicines, and the shortage start and expected resolution dates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Medicine or INN words, letters, spaces and hyphens, 2 to 60 characters"
      },
      "max": {
       "type": "string",
       "description": "How many shortages, 1 to 20 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ema-medicine-supply-shortage-lookup-4e30c3d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.healthtravel-api.workers.dev](https://www.zero.xyz/host/api.healthtravel-api.workers.dev/llms.txt)
