Bazel Central Registry API
The Bazel Central Registry (BCR) is the default index registry consulted by Bzlmod, Bazel's external dependency management system. The BCR exposes a stable HTTP layout at https://bcr.bazel.build/ that serves a registry-wide bazel_registry.json plus per-module metadata.json, MODULE.bazel manifests, and source.json fetch instructions. Since Bazel 8 Bzlmod is on by default, making the BCR the registry every Bazel install resolves against unless --registry is overridden.
Documentation
Documentation
https://bazel.build/external/registry
Documentation
https://bazel.build/external/module
Specifications
SDKs
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/bazel-build/refs/heads/main/json-schema/bcr-bazel-registry-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/bazel-build/refs/heads/main/json-schema/bcr-metadata-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/bazel-build/refs/heads/main/json-schema/bcr-source-schema.json