# PyPI Package Release Monitor (`snappytools/pypi-release-monitor`) Actor

PyPI Package Release Monitor reads the official, public PyPI JSON API (https://pypi.org/pypi/<project>/json) for a list of Python packages you choose and returns one clean, structured dataset record per release.

- **URL**: https://apify.com/snappytools/pypi-release-monitor.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** Developer tools
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## PyPI Package Release Monitor – Python package release history export

Give it a list of PyPI package names and it returns the recent release history for each one. Use it as a PyPI API alternative when you want clean, flat rows instead of the raw JSON for every project.

You get one row per release. Each row has the version, the upload time (`releasedAt`), whether it is a prerelease or yanked, the file count, wheel and source distribution flags, the total size, `requiresPython`, the licence and whether it is the latest version.

Run it on a schedule with the **Released after (ISO date)** field set, and you get only the releases that are new since your cut-off.

### Why this one

- **Official data source.** It reads the public PyPI JSON API, so there is no login, API key or scraping of web pages.
- **Built for monitoring.** Set a date and only newer releases come back, which suits scheduled checks.
- **Flags the things that matter.** Each row shows `isPrerelease`, `isYanked`, `yankedReason`, `hasWheel` and `hasSdist`.
- **Handles messy names.** Names follow PEP 503 normalisation, so `Django` and `django` count as one package and duplicates are removed.
- **Up to 100 packages per run.** Check a whole dependency list in one go.
- **Pay per result.** $1.00 per 1,000 results, with no start fee. Runs with no results cost nothing.

### Quick start

```json
{
  "includePrereleases": false,
  "includeYanked": true,
  "maxReleasesPerPackage": 5,
  "packages": ["requests", "numpy", "django"]
}
```

This returns the 5 newest stable releases for each of the three packages, 15 rows in total.

### What you can use it for

| Who | What for |
| --- | --- |
| Security and compliance teams | Build a timeline of upstream releases as audit evidence and for patch reviews |
| DevOps and platform engineers | Check that a new version ships wheels and which Python versions it supports before upgrading |
| Engineering teams | Watch the libraries your product depends on and spot yanked releases |
| Developer relations and analysts | Compare the release cadence of partner or competing open-source projects |

### How to use it

1. Click **Try for free**.
2. In **PyPI package names**, add the projects to watch, for example `requests`, `numpy`. You can add up to 100.
3. Set **Max releases per package** (1 to 200, default 10). Releases are sorted newest first.
4. Optionally set **Released after (ISO date)**, for example `2024-01-01`, to get only newer releases.
5. Turn on **Include prereleases** if you want alpha, beta, release candidate and dev versions. It is off by default.
6. Leave **Include yanked releases** on to see yanked versions flagged, or turn it off to hide them.
7. Click **Start**.

To get alerts, put the run on a schedule and set **Released after (ISO date)** to a recent date.

### What data you get

Each row is one release of one package. Example values come from `requests`.

| Field | What it is | Example |
| --- | --- | --- |
| `id` | Stable ID, package name and version | `requests@2.34.2` |
| `url` | PyPI page for the release | `https://pypi.org/project/requests/2.34.2/` |
| `packageName` | Package name | `requests` |
| `version` | Release version | `2.34.2` |
| `releasedAt` | Earliest file upload time | `2026-05-14T19:25:26.443Z` |
| `isPrerelease` | Whether it is a prerelease | `false` |
| `isLatest` | Whether it is the current latest release | `true` |
| `latestVersion` | Latest version of the package | `2.34.2` |
| `isYanked` | Whether the maintainer yanked it | `false` |
| `yankedReason` | Reason given for yanking | `null` |
| `fileCount` | Number of distribution files | `2` |
| `hasWheel` | Whether a wheel is published | `true` |
| `hasSdist` | Whether a source distribution is published | `true` |
| `totalSizeBytes` | Total size of all files in bytes | `215931` |
| `requiresPython` | Declared Python constraint | `>=3.10` |
| `summary` | Short package description | `Python HTTP for Humans.` |
| `license` | Licence from package metadata | `Apache-2.0` |
| `projectUrl` | PyPI project page | `https://pypi.org/project/requests/` |
| `scrapedAt` | When the row was collected | `2026-10-27T00:56:46.597Z` |

### Pricing

| Event | Price |
| --- | --- |
| Result (each row written to the dataset) | $0.001 |

| Run | Cost |
| --- | --- |
| 100 results | $0.10 |
| 1,000 results | $1.00 |
| 10,000 results | $10.00 |

There is no start fee. In a test run on 27 Oct 2026, 3 packages with 5 releases each gave 15 results.

### Good to know

- **Limits.** Up to 100 packages per run and 200 releases per package.
- **Data source.** The public PyPI JSON API. It makes anonymous requests for package metadata and never downloads package files.
- **Missing packages.** Names that do not exist on PyPI are logged as warnings and skipped. They produce no rows, so you are not charged for them.
- **Release dates.** `releasedAt` is the earliest upload time of the release's files. Releases with no files have no date and are listed last.
- **Prereleases.** Detected from common PEP 440 markers such as a, b, rc, dev, alpha, beta and preview.
- **Metadata quality.** Licence and summary come from the maintainers and may be empty or inconsistent. Author fields are not included.
- **Not affiliated.** This tool isn't affiliated with or endorsed by PyPI or the Python Software Foundation.

### Getting the data out

Download the results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is also available through the Apify API, and you can schedule runs from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [GitHub Public Issue Monitor](https://apify.com/snappytools/github-issue-monitor): track issues on public GitHub repositories
- [GitHub Public Release Monitor](https://apify.com/snappytools/github-release-monitor): track releases on public GitHub repositories
- [NPM Package Version Monitor](https://apify.com/snappytools/npm-package-version-monitor): watch version releases for npm packages

# Actor input Schema

## `packages` (type: `array`):

List of public PyPI project names to monitor, for example requests or numpy. Maximum 100 packages per run; duplicates are removed after PEP 503 normalization.

## `maxReleasesPerPackage` (type: `integer`):

Maximum number of most recent releases returned for each package (1-200). Releases are sorted newest first by upload time.

## `releasedAfter` (type: `string`):

Optional ISO 8601 date such as 2024-01-01. Only releases first uploaded on or after this moment are returned. Leave empty for no date filter.

## `includePrereleases` (type: `boolean`):

When enabled, alpha, beta, release candidate and dev versions are included. Disabled by default to focus on stable releases.

## `includeYanked` (type: `boolean`):

When enabled, releases whose files were all yanked by the maintainer are still returned, flagged with isYanked and yankedReason.

## Actor input object example

```json
{
  "packages": [
    "requests",
    "numpy",
    "django"
  ],
  "maxReleasesPerPackage": 5,
  "includePrereleases": false,
  "includeYanked": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "packages": [
        "requests",
        "numpy",
        "django"
    ],
    "maxReleasesPerPackage": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/pypi-release-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "packages": [
        "requests",
        "numpy",
        "django",
    ],
    "maxReleasesPerPackage": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("snappytools/pypi-release-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "packages": [
    "requests",
    "numpy",
    "django"
  ],
  "maxReleasesPerPackage": 5
}' |
apify call snappytools/pypi-release-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snappytools/pypi-release-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JGfo8abFSYjqpP6ds/builds/wDtIkgme1Vc9VXRQL/openapi.json
