AgentDataFeed Drug Shortages API
The Drug Shortages API from AgentDataFeed — 2 operation(s) for drug shortages.
The Drug Shortages API from AgentDataFeed — 2 operation(s) for drug shortages.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/agentdatafeed-com:agentdatafeed-com-drug-shortages-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: agentdatafeed Drug Shortages API
version: 1.10.0
description: Paid per-query factual datasets for AI agents.
x-guidance: 'Free, no payment: GET /v1/datasets for the catalogue and GET /v1/{dataset}/sample for 5 current records. Paid: GET /v1/{dataset} with the query filters listed per operation, one x402 payment per call (USDC on Base), up to 100 records. Free feedback: POST /v1/feedback (why you did not buy, or which data you want). MCP server: https://agentdatafeed.com/mcp. Datasets: amsterdam-events (Amsterdam events, $0.005); security-advisories (Security advisories, $0.003); vulnerability-watch (Vulnerability watch, $0.003); eu-tenders (EU public tenders, $0.01); uk-tenders (UK public tenders, $0.005); eu-funding (EU funding calls and grants, $0.005); cert-advisories (European CERT security advisories, $0.003); eu-medicines (EU medicines: authorisations, shortages, safety communications and referrals (EMA), $0.005); sanctions-entities (Sanctioned entities, vessels and aircraft (EU and OFAC lists), $0.005); product-recalls (Product recalls and safety alerts (US FDA, US CPSC, US NHTSA, Health Canada, Transport Canada, CFIA, UK FSA, UK OPSS), $0.005); eu-legislation (EU legislation: new and amended acts in the Official Journal (regulations, directives, decisions), $0.005); drug-shortages (Medicine shortages (US FDA, EMA), $0.005); public-holidays (Public and bank holidays (official government lists, current and next year), $0.002).'
contact:
name: agentdatafeed
email: ops@agentdatafeed.com
url: https://agentdatafeed.com
servers:
- url: https://agentdatafeed.com
tags:
- name: Drug Shortages
paths:
/v1/drug-shortages:
get:
operationId: query_drug_shortages
summary: 'Medicine shortages (US FDA, EMA): query ($0.005 per call via x402)'
description: 'Current and recently resolved medicine shortages from two official regulators in one search, refreshed daily: the US FDA Drug Shortages database via openFDA (one record per package NDC, including products to be discontinued), and EU-level shortages monitored by the European Medicines Agency (EMA). Resolved and discontinued shortages stay in the feed for six months after the regulator''s last update. Filter by text, active substance, country or region, normalised status, update date, source and holder. Fields: shortage ID, country (US, EU), regulator, product, active substance, strength, form, presentation, NDC code, manufacturer or marketing authorisation holder (companies only), status (current, resolved, discontinued) and status as published, availability, start date, expected resolution, resolved and discontinued dates, reason, therapeutic areas, alternatives available, updated date, official link, verification, paid placement.'
parameters:
- name: q
in: query
required: false
schema:
type: string
description: Text in product, active substance, presentation, holder or reason (case-insensitive)
- name: substance
in: query
required: false
schema:
type: string
description: Active substance, generic name or INN (substring, case-insensitive), for example amoxicillin
- name: country
in: query
required: false
schema:
type: string
description: US or EU (EMA, European Union level)
- name: status
in: query
required: false
schema:
type: string
description: current, resolved or discontinued
- name: since
in: query
required: false
schema:
type: string
description: ISO date; shortages updated or started on or after this date
- name: source
in: query
required: false
schema:
type: string
description: 'fda or ema, or a source_id: openfda-drug-shortages, ema-shortages-json'
- name: holder
in: query
required: false
schema:
type: string
description: Manufacturer or marketing authorisation holder (substring, case-insensitive)
- name: area
in: query
required: false
schema:
type: string
description: Therapeutic area (substring, case-insensitive), for example oncology
- name: limit
in: query
required: false
schema:
type: string
description: 1 to 100, default 50
- name: offset
in: query
required: false
schema:
type: string
description: Default 0
responses:
'200':
description: Matching records
'402':
description: x402 payment required; see accepts[]
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
tags:
- Drug Shortages
/v1/drug-shortages/sample:
get:
operationId: sample_drug_shortages
summary: 'Medicine shortages (US FDA, EMA): free sample of 5 records'
security: []
responses:
'200':
description: Sample
tags:
- Drug Shortages