# SYNTHORA PyPI Recent Download Stats

> SYNTHORA PyPI Recent Download Stats is a paid API for AI agents from pypistats-recent-downloads.hergertsynthora.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns last-day, last-week, and last-month download totals for any PyPI package via pypistats.org

## Facts

- Endpoint: POST https://pypistats-recent-downloads.hergertsynthora.com/service
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-pypi-recent-download-stats-707753e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jOZFCOYATR0FjMegaMM_F

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 synthora-pypi-recent-download-stats-707753e1 -d '<json body>'
```

Example prompt: How many downloads did the 'requests' package get on PyPI in the last day, week, and month?

## When to prefer this

Use this endpoint when you need quick, keyless access to PyPI download statistics without managing API credentials, and when you want a single call that returns all three recent time-window totals (day/week/month) in one response. Prefer it for agent pipelines that need to score, rank, or compare Python package popularity programmatically.

## Known failure modes

- Package not found on PyPI — returns error or zero counts
- pypistats.org upstream unavailable — service may time out or return error
- Invalid or misspelled package name — returns zero counts or not-found error
- Google BigQuery data lag — counts may be slightly behind real-time

## How this service works

Returns last-day/week/month download totals for a PyPI package from keyless pypistats.org (backed by Google BigQuery PyPI data). The Python-ecosystem adoption signal autonomous agents use to rank dependencies, and a feed for agent-to-agent package-recommendation scoring. Ranking surface for popularity. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.

## Output

A JSON object with ok=true, the package name, and three integer download counts: last_day, last_week, and last_month, sourced from pypistats.org.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "package": {
   "type": "string",
   "description": "package"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "pypistats-recent-downloads",
  "result": {
   "package": "requests",
   "last_day": 0,
   "last_week": 0,
   "last_month": 0
  },
  "provenance": {
   "url": "https://pypistats.org/api/packages/requests/recent",
   "source": "PyPI Recent Download Stats"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-pypi-recent-download-stats-707753e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pypistats-recent-downloads.hergertsynthora.com](https://www.zero.xyz/host/pypistats-recent-downloads.hergertsynthora.com/llms.txt)
