crates.io
crates.io is the official package registry for the Rust programming language, operated by the crates.io team under the Rust Foundation with infrastructure support from Amazon Web Services and Fastly. It exposes a Web API at /api/v1 used by Cargo and the website for search, publishing, yanking, and owner management, plus a sparse HTTP index at index.crates.io that has been Cargo's default registry protocol since Rust 1.70 (June 2023). The legacy git index is still mirrored. Every published version is checksummed with SHA-256 and companion documentation is auto-built on docs.rs. The crates.io source code is dual-licensed under Apache-2.0 and MIT and runs on Rust (axum, diesel) with a SvelteKit frontend.
crates.io publishes 2 API contracts, indexed on the APIs.io network as 5 APIs, including Config API, Crates API, Index API, and 2 more. Tagged areas include Rust, Package Registry, Crates, Cargo, and Open Source.
The crates.io catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.
crates.io’s developer surface includes authentication, developer portal, documentation, getting-started guide, tooling, engineering blog, changelog, and 32 more developer resources.
What this lets a business do 1
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
What people ask crates.io 5
The questions people put to an LLM, and the jobs they hand an agent, that crates.io's APIs answer — each one linked to the operation that does it. Generated by API Evangelist
Kin Score
Markets this provider is in provisional
The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.
Depth is one figure for the provider, the mean of its strongest integrations, so it repeats on every row. It differs by market only where an assurance register's own evidence applies.
| Market | Position | Depth (provider-wide) | Registered MCP server | Declares compatibility |
|---|---|---|---|---|
| GitHub Marketplace (GitHub-native publisher layer) | standard | 44.1 | - | - |
| Raycast Store Extensions (first-party publishers + community-wrapped products) | standard | 44.1 | - | - |
Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Used by apps
1 of the reference apps in Applications, across 1 category, integrate with this provider, read from each app's own code, build or integrations page.
- SearXNG Site & App Search
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 5
Individual APIs this provider publishes, each with its own machine-readable definition.
crates.io Config API
Registry configuration document
crates.io Crates API
Search and manage Rust crates
crates.io Index API
Per-crate index metadata files served over HTTP
crates.io Owners API
List, add, and remove crate owners
crates.io Versions API
Yank and unyank crate versions
Open Collections 7
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
crates.io Sparse Index Config API
OPEN COLLECTION.io Sparse Index Config Crates API
OPEN COLLECTIONcrates.io Sparse Config Index API
OPEN COLLECTIONcrates.io Sparse Index Config Owners API
OPEN COLLECTIONcrates.io Sparse Index API
OPEN COLLECTIONcrates.io Sparse Index Config Versions API
OPEN COLLECTIONcrates.io Web API
OPEN COLLECTIONScroll for all 7
Data License 1
How its data and outputs may be reused, quoted from its own terms.
Features 14
Notable capabilities this provider offers.
Scroll for all 14
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Crates Io Context
JSON-LDSpectral Rules 2
Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.
crates.io — jsonschema rules
SPECTRALcrates.io API Rules
SPECTRALOpenAPI Overlays 5
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
crates.io Config Api Phrasing Overlay
GENERATEDcrates.io Crates Api Phrasing Overlay
GENERATEDcrates.io Index Api Phrasing Overlay
GENERATEDcrates.io Owners Api Phrasing Overlay
GENERATEDcrates.io Versions Api Phrasing Overlay
GENERATEDJSON Schema 2
Standalone JSON Schema definitions for this provider's data models.
crates.io Crate
JSON SCHEMAcrates.io Sparse Index Entry
JSON SCHEMAJSON Structure 1
JSON Structure definitions describing this provider's data shapes.
crates.io Crate Structure
JSON STRUCTUREExamples 4
Example request and response payloads for these APIs.
Security Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access (API Evangelist recommendations) 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 9
Reference material describing how the API behaves
Scroll for all 9
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 10
SDKs, sample code, and the tooling you integrate with
Scroll for all 10
Access & Security 4
Authentication, authorization, and security posture
Operate 5
Status, limits, changes, and where to get help
Commercial 3
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 4
Properties that don't map to a standard resource type
Source (apis.yml)
crates.io API — frequently asked questions
Does crates.io have an API?
Yes. APIs.io lists 5 APIs from crates.io, including crates.io Config API, crates.io Crates API and crates.io Index API, and 2 more.
Is there an OpenAPI specification for the crates.io API?
Yes. APIs.io indexes 5 OpenAPI specifications for crates.io, each linked for download from this page.
How do I authenticate with the crates.io API?
crates.io uses bearer-token authentication (apiKey · 1 scheme). The details are profiled on APIs.io as crates.io Authentication.
Is the crates.io API ready for AI agents?
crates.io has a Kin Score of 41.2 out of 100 (developing) and an Agent Readiness score of 26.6 (agent-aware), scored by API Evangelist on 2026-11-28.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.