---
search:
  tags:
    - Purchases
    - GET
seo:
  description: >-
    Any signed in user. Returns active in-stock batches within the days window,…
    Reference for the GET /api/v1/purchases/expiring endpoint in the PharmaFlow
    API.
sidebar:
  label: List expiring batches
  badge: GET
title: List expiring batches
type: openapi-operation
---
Any signed in user. Returns active in-stock batches within the days window, soonest first. Recalled and quarantined batches are excluded, days defaults to 90, and limit caps rows.

`GET /api/v1/purchases/expiring`
