Monitoring · x402

PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — lat…

PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — latest version, upload time, total releases, yank status, declared dependency count, requires-python constraint, license, summary, and weekly downloads (pypistats). Names are…

by gateway.stride20k.com · discovered, not yet claimed by its owner · updated 2026-08-30

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — latest version, upload time, total releases, yank status, declared dependency count, requires-python constraint, license, summary, and weekly downloads (pypistats). Names are PEP 503-normalized (dots/underscores/hyphens equivalent). Use for auditing requirements.txt and pyproject.toml, supply-chain security checks, and version freshness agents. Cached up to 1 hour per package.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/1154.json for the price and payment options.
  3. Pay. Call GET https://gateway.stride20k.com/dev/pypi/:packageName. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.003 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 of the last 1 checks answered
Calls (30d)
2 · 2 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0030x552Cc4A10878C7F20574489D47184249657Ca3f660s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "pathParams": {
          "packageName": "requests"
        },
        "queryParams": {},
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "dependencyCount": 6,
            "latestUploadedAt": "2026-05-14T19:25:26.443000Z",
            "latestVersion": "2.34.2",
            "license": "Apache-2.0",
            "package": "requests",
            "requiresPython": ">=3.10",
            "summary": "Python HTTP for Humans.",
            "versionCount": 163,
            "weeklyDownloads": 380362015,
            "yanked": false
          },
          "endpoint": "/dev/pypi/:packageName",
          "meta": {
            "attribution": null,
            "cached": false,
            "fetchedAt": "2026-07-04T00:00:00.000Z",
            "source": "PyPI JSON API + pypistats"
          },
          "ok": true
        },
        "type": "json"
      }
    },
    "routeTemplate": "/dev/pypi/:packageName",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "pathParams": {
              "properties": {
                "packageName": {
                  "description": "PyPI package name (PEP 503 normalized, e.g. 'requests', 'scikit-learn').",
                  "normalize": "lower",
                  "pattern": "[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9])?",
                  "type": "string"
                }
              },
              "required": [
                "packageName"
              ],
              "type": "object"
            },
            "queryParams": {
              "properties": {},
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "properties": {
                    "dependencyCount": {
                      "description": "Declared requires_dist entries for the latest release.",
                      "type": "integer"
                    },
                    "latestUploadedAt": {
                      "description": "Upload time of the newest release files, ISO 8601.",
                      "type": "string"
                    },
                    "latestVersion": {
                      "description": "Current release version.",
                      "type": "string"
                    },
                    "license": {
                      "description": "Declared license (truncated to 120 chars), or null.",
                      "type": "string"
                    },
                    "package": {
                      "description": "Canonical package name.",
                      "type": "string"
                    },
                    "requiresPython": {
                      "description": "requires-python constraint (e.g. '>=3.10'), or null.",
                      "type": "string"
                    },
                    "summary": {
                      "description": "One-line package summary.",
                      "type": "string"
                    },
                    "versionCount": {
                      "description": "Total published releases.",
                      "type": "integer"
                    },
                    "weeklyDownloads": {
                      "description": "Downloads in the last 7 days, or null if unavailable.",
                      "type": "integer"
                    },
                    "yanked": {
                      "description": "Whether the latest release is yanked.",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "package",
                    "latestVersion",
                    "yanked"
                  ],
                  "type": "object"
                },
                "endpoint": {
                  "description": "Always \"/dev/pypi/:packageName\".",
                  "type": "string"
                },
                "meta": {
                  "properties": {
                    "attribution": {
                      "description": "Licensing attribution when the source requires it.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cached": {
                      "description": "Whether this response was served from cache.",
                      "type": "boolean"
                    },
                    "fetchedAt": {
                      "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                      "type": "string"
                    },
                    "source": {
                      "description": "Upstream source: PyPI JSON API + pypistats.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "cached",
                    "fetchedAt"
                  ],
                  "type": "object"
                },
                "ok": {
                  "description": "true on success.",
                  "type": "boolean"
                }
              },
              "required": [
                "ok",
                "endpoint",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://gateway.stride20k.com/dev/pypi/:packageName"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gateway.stride20k.com/dev/pypi/:packageName");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://gateway.stride20k.com/dev/pypi/:packageName")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
gateway.stride20k.com
Endpoint
https://gateway.stride20k.com/dev/pypi/:packageName
Machine-readable
/resources/1154.json