PyPI website screenshot

PyPI

PyPI (Python Package Index) is the official third-party software repository for Python, serving as the central hub where developers publish and distribute Python packages. Their developer platform provides a suite of APIs for querying package metadata, downloading distributions, publishing packages, verifying supply chain integrity, and tracking download statistics across the Python ecosystem.

PyPI publishes 5 APIs on the APIs.io network, including Index API, Upload API, Downloads API, and 2 more. Tagged areas include Developer Tools, Open Source, Package Management, Packages, and Python.

The PyPI catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

PyPI’s developer surface includes authentication, developer portal, documentation, support, engineering blog, and 8 more developer resources.

51.5/100 developing ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessSelf serve
6 APIs
Developer ToolsOpen SourcePackage ManagementPackagesPython

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 51.5/100 · developing
Contract Quality 15.1 / 25
Developer Ergonomics 7.0 / 20
Commercial Clarity 12.6 / 20
Operational Transparency 3.4 / 13
Governance 7.0 / 12
Discoverability 6.5 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/pypi: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 6

Individual APIs this provider publishes, each with its own machine-readable definition.

PyPI Index API

The PyPI Index API implements the PEP 503 (HTML) and PEP 691 (JSON) simple repository standards for discovering and downloading Python packages. It provides a machine-readable i...

PyPI Upload API

The PyPI Upload API is the endpoint used by tools like twine and build frontends to publish Python package distributions to the Python Package Index. Served at upload.pypi.org, ...

PyPI RSS Feeds

PyPI provides RSS feeds that allow developers and tools to monitor package activity on the Python Package Index. Three feeds are available: the Newest Packages feed for recently...

PyPI Downloads API

Retrieve aggregate download statistics and time series data for Python packages.

PyPI Projects API

Retrieve metadata about Python packages hosted on PyPI, including release information, download URLs, and vulnerability data.

PyPI Provenance API

Retrieve digital attestations and provenance information for Python package distribution files hosted on PyPI.

Open Collections 5

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

PyPI Index API

OPEN COLLECTION

PyPI Integrity API

OPEN COLLECTION

PyPI JSON API

OPEN COLLECTION

PyPI Stats API

OPEN COLLECTION

PyPI Upload API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Pypi Plans Pricing

1 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Pypi Rate Limits

2 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Pypi Finops

FINOPS

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Pypi Context

0 classes · 5 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

PyPI API Rules

6 rules · 5 warnings 1 info

SPECTRAL

JSON Schema 2

Standalone JSON Schema definitions for this provider's data models.

PyPI Project Metadata

24 properties

JSON SCHEMA

PyPI Provenance

2 properties

JSON SCHEMA

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Pypi Authentication

http · 1 scheme

SECURITY

Pypi Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Pypi Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Pypi Agentic Access

11 operations · 1 acting

11 operations · 1 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 3

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: pypi
name: PyPI
description: PyPI (Python Package Index) is the official third-party software repository for Python, serving as the central
  hub where developers publish and distribute Python packages. Their developer platform provides a suite of APIs for querying
  package metadata, downloading distributions, publishing packages, verifying supply chain integrity, and tracking download
  statistics across the Python ecosystem.
kind: contract
accessModel:
  pricing: unknown
  onboarding: self-serve
  trial: false
  try_now: false
  public: false
  label: Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/pypi.png
tags:
- Developer Tools
- Open Source
- Package Management
- Packages
- Python
url: https://raw.githubusercontent.com/api-evangelist/pypi/refs/heads/main/apis.yml
created: '2025-03-01'
modified: '2026-05-19'
specificationVersion: '0.19'
apis:
- aid: pypi:index
  name: PyPI Index API
  description: The PyPI Index API implements the PEP 503 (HTML) and PEP 691 (JSON) simple repository standards for discovering
    and downloading Python packages. It provides a machine-readable index of all registered projects and their available distribution
    files. The API is available in both HTML and JSON formats, with JSON recommended for new integrations. This is the primary
    API that package installers like pip use to resolve and download dependencies from the Python Package Index.
  humanURL: https://docs.pypi.org/api/index-api/
  tags:
  - Index
  - Packages
  - PEP 503
  - PEP 691
  - Python
  properties:
  - type: Documentation
    url: https://docs.pypi.org/api/index-api/
  - type: OpenAPI
    url: openapi/pypi-index-api-openapi.yml
- aid: pypi:upload
  name: PyPI Upload API
  description: The PyPI Upload API is the endpoint used by tools like twine and build frontends to publish Python package
    distributions to the Python Package Index. Served at upload.pypi.org, it emulates the legacy PyPI upload interface and
    accepts source distributions and wheel files along with their metadata. The API also supports attaching PEP 740 digital
    attestations to uploads, which PyPI will verify before accepting. Authentication is handled via API tokens or Trusted
    Publishing workflows using OpenID Connect.
  humanURL: https://docs.pypi.org/api/upload/
  tags:
  - Packages
  - Publishing
  - Python
  - Upload
  properties:
  - type: Documentation
    url: https://docs.pypi.org/api/upload/
  - type: OpenAPI
    url: openapi/pypi-upload-api-openapi.yml
- aid: pypi:feeds
  name: PyPI RSS Feeds
  description: 'PyPI provides RSS feeds that allow developers and tools to monitor package activity on the Python Package
    Index. Three feeds are available: the Newest Packages feed for recently registered projects, the Latest Updates feed for
    the most recently updated projects, and per-project release feeds for tracking new versions of specific packages. These
    feeds enable integration with feed readers, monitoring tools, and automation workflows to stay informed about Python package
    ecosystem changes.'
  humanURL: https://docs.pypi.org/api/feeds/
  tags:
  - Feeds
  - Packages
  - Python
  - RSS
  - Updates
  properties:
  - type: Documentation
    url: https://docs.pypi.org/api/feeds/
- aid: pypi:pypi-downloads-api
  name: PyPI Downloads API
  description: Retrieve aggregate download statistics and time series data for Python packages.
  humanURL: https://docs.pypi.org/api/json/
  tags:
  - Downloads
  properties:
  - type: OpenAPI
    url: openapi/pypi-downloads-api-openapi.yml
  - type: Documentation
    url: https://docs.pypi.org/api/json/
  - type: Documentation
    url: https://docs.pypi.org/api/integrity/
  - type: Documentation
    url: https://pypistats.org/api/
- aid: pypi:pypi-projects-api
  name: PyPI Projects API
  description: Retrieve metadata about Python packages hosted on PyPI, including release information, download URLs, and vulnerability
    data.
  humanURL: https://docs.pypi.org/api/json/
  tags:
  - Projects
  properties:
  - type: OpenAPI
    url: openapi/pypi-projects-api-openapi.yml
  - type: Documentation
    url: https://docs.pypi.org/api/json/
  - type: Documentation
    url: https://docs.pypi.org/api/integrity/
  - type: Documentation
    url: https://pypistats.org/api/
- aid: pypi:pypi-provenance-api
  name: PyPI Provenance API
  description: Retrieve digital attestations and provenance information for Python package distribution files hosted on PyPI.
  humanURL: https://docs.pypi.org/api/json/
  tags:
  - Provenance
  properties:
  - type: OpenAPI
    url: openapi/pypi-provenance-api-openapi.yml
  - type: Documentation
    url: https://docs.pypi.org/api/json/
  - type: Documentation
    url: https://docs.pypi.org/api/integrity/
  - type: Documentation
    url: https://pypistats.org/api/
common:
- type: AgenticAccess
  url: agentic-access/pypi-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/pypi-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/pypi-domain-security.yml
- type: Authentication
  url: authentication/pypi-authentication.yml
- type: GitHubOrganization
  url: https://github.com/pypi
- type: Portal
  url: https://docs.pypi.org/
- type: Documentation
  url: https://docs.pypi.org/api/
- type: Website
  url: https://pypi.org/
- type: PrivacyPolicy
  url: https://policies.python.org/pypi.org/Privacy-Policy/
- type: TermsOfService
  url: https://policies.python.org/pypi.org/Terms-of-Use/
- type: Support
  url: https://pypi.org/help/
- type: Blog
  url: https://blog.pypi.org/
- type: Login
  url: https://pypi.org/account/login/
maintainers:
- FN: API Evangelist
  email: info@apievangelist.com