Starlette Context
JSON →Starlette Context is a middleware for Starlette that provides a request-scoped data store, allowing you to store and access context data throughout the request lifecycle. It is commonly used to enrich logs with request-specific identifiers like `x-request-id` or `x-correlation-id` without explicit parameter passing. The current version is 0.5.1, released on February 28, 2026, and the library maintains an active release cadence.
Traffic · last 30 days ↑167% vs prev 7d
total hits 12
actors 5 distinct systems
last hit 5d ago GPTBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/starlette-context
compatibility /v1/registry/starlette-context/compatibility