JSON API responses are CDN-cached with Cache-Control max-age=900 and carry ETag and X-PyPI-Last-Serial.

PyPI (Python Package Index) · GET /pypi/{project}/json

Status: ✅ verified:server:prod · first seen 2026-10-20 · last confirmed 2026-10-27 · 92 confirmations from 2 vantages

What to do

  1. No client-side fix known (by design).

Dimensions

env: prod · plan: any · region: any · account_state: anonymous

Evidence

Probe af:pypi:probe:json-project (declarative, source) · official doc: https://docs.pypi.org/api/#caching

Observations: none from reporters yet.

Machine access

curl -s https://apifacts.dev/v0/check \
  -H 'content-type: application/json' \
  -d '{"target":{"method":"GET","url":"https://pypi.org/pypi/{project}/json"}}'

YAML: facts/pypi/json-api-cdn-cache.yaml


Data: CC BY 4.0 · apifacts registry · This page is generated; edit the YAML, not the page.