# ANSM Medication Shortage Availability Check

> ANSM Medication Shortage Availability Check is a paid API for AI agents from api.invoket.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Checks a French medication's shortage status using ANSM (French drug agency) data, returning shortage type, report dates, expected return, and official report URL by CIS code or active substance.

## Facts

- Endpoint: GET https://api.invoket.com/medication/availability
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ansm-medication-shortage-availability-check-9d8edc0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S-1_7sJ6DL_nmLxnCBwOO

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 ansm-medication-shortage-availability-check-9d8edc0b
```

Example prompt: Before you place that order, can you check the ANSM shortage status for the medication with CIS code 60001558 — I need to know if it's in rupture, tension, or any other shortage category in France right now?

## When to prefer this

Use this endpoint when an AI agent needs to verify medication availability on the French market before ordering, substituting, or dispensing — specifically when you need ANSM-official shortage data by CIS code or active substance (INN/DCI). Prefer this over generic web search when you need structured, machine-readable shortage status with report dates and return estimates directly from the French regulatory authority.

## Known failure modes

- Unknown CIS code or substance returns no-shortage status (not an error, but not a stock guarantee)
- US NDC or non-French drug identifier returns a coverage-scope note rather than shortage data
- Network or upstream ANSM data source unavailability returns a server error
- Malformed or missing query parameter returns a validation error
- Drug recently removed from ANSM reporting may appear as no_known_shortage

## How this service works

Check a medication's availability before your agent orders or substitutes it: shortage reports from the French ANSM (data.ANSM) by CIS code or substance (INN/DCI) - status (rupture, risque_rupture, tension, remise_a_disposition, arret_commercialisation, or no_known_shortage), report dates, expected return and the official ANSM report URL. Honest by design: ANSM only records reported shortages, so the absence of a report is never a stock guarantee. French market scope: a US NDC key returns an honest FR-only coverage note. No account, no key, pay per call.

## Output

Returns the medication's current ANSM shortage status (one of: rupture, risque_rupture, tension, remise_a_disposition, arret_commercialisation, or no known shortage), along with report dates, expected return date, and the official ANSM report URL. If the identifier is a US NDC or outside French scope, returns an honest FR-only coverage note. Absence of a record is not a stock guarantee — ANSM only records reported shortages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "cis"
 ],
 "properties": {
  "cis": {
   "type": "string",
   "description": "8-digit French CIS code. Provide exactly ONE key among: cis, substance (INN/DCI name; dci= is a synonym), ndc (US product NDC - returns an honest FR-only coverage note). Zero or several keys = 400; malformed key = 400; well-formed CIS with no report = 200 with status no_known_shortage (billed - the absence of a report is the answer, never a stock guarantee)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ansm-medication-shortage-availability-check-9d8edc0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.invoket.com](https://www.zero.xyz/host/api.invoket.com/llms.txt)
