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.

Pull crates.io's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
41.2/100 developing ▬ flat Agent 27/100 agent aware Heartbeat 100/100 alive Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
crates.io website screenshot
2 published contracts 14 Features
RustPackage RegistryCratesCargoOpen SourceDeveloper ToolsRust Foundation

What this lets a business do 1

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Open Source Ecosystem
AE-250
CratesVersions
PUT /api/v1/crates/new GET /api/v1/crates/{crate}/{version} GET /api/v1/crates/{crate}/{version}/download DELETE /api/v1/crates/{crate}/{version}/yank

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

crates.io Versions API Get a crate's version metadata “What does a particular version of a crate contain?” Download a crate's tarball “How do I download a crate's source tarball?” Yank a crate version “How do I stop Cargo from picking a bad crate version?” Restore a yanked crate version “Can I undo a yank on a crate version?”
crates.io Index API Get the index for a one-letter crate “How do I read the index entries for a single-character crate like a or z?” Get the index for a two-character crate “What does the sparse index contain for a crate whose name is only two characters?” Get the index for a three-letter crate “How do I read the index for a three-letter crate name?” Get the index for a long crate name “How do I read the sparse index entries for a crate longer than four characters?”
crates.io Owners API List owners of a crate “Who owns a given crate on crates.io?” Invite owners to a crate “How do I add a new owner to a crate?” Remove owners from a crate “How do I take away crate ownership from someone?”
crates.io Crates API Search the crate registry “How do I find a crate by name or keyword?” Publish a new crate version “How do I publish a new version of a crate?” Get a crate's details and versions “Who owns a crate and what versions does it have?”
crates.io Config API Get the sparse index configuration “Where does a sparse-index client fetch the registry configuration?”

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for crates.io It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/crates-io/"><img src="https://apis.io/badge/crates-io/card.svg" alt="crates.io on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • MCP Server +12 pts — deployment.mode + probe verdict on the mcp/ manifest, not the pointer; an unprobed slug falls back to authorship Ask about this →
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • Rate-Limit Signaling +7 pts — OpenAPI responses document X-RateLimit-* / RateLimit headers (verified), else a rate_limits artifact or RateLimits link (documented) Ask about this →
  • Registration Without a Human +6 pts — a `registration_endpoint` in the served RFC 8414 / OIDC discovery document Ask about this →
  • Typed Event Surface +6 pts — verified: an AsyncAPI document, OR webhooks/callbacks objects in the as-published OpenAPI; documented (0.29.0, roadmap#1167): only a Webhooks docs link Ask about this →
9 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Crates Io · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/crates-io/apis.yml: open an issue on github.com/api-evangelist/crates-io to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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.

MarketPositionDepth (provider-wide)Registered MCP serverDeclares 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.

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.

measured — observed by APIs.io (published)

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 Web API

OPEN COLLECTION

Scroll for all 7

Data License 1

How its data and outputs may be reused, quoted from its own terms.

crates.io

2 quoted statements, read from crates.io's own page on 2026-11-09.

LICENSE

Features 14

Notable capabilities this provider offers.

Centralized package registry for the Rust programming language operated by the crates.io team under the Rust Foundation
Web API at https://crates.io/api/v1 for search, crate detail, version detail, download redirect, publish, yank, unyank, and owner management
Sparse HTTP index at https://index.crates.io (default for Cargo since Rust 1.70) — replaces the legacy git index for the vast majority of fetches
Legacy git index at https://github.com/rust-lang/crates.io-index still mirrored for source replacement and offline scenarios
SHA-256 checksums published per version for tamper-evident downloads
Index format v2 with features2 map for namespaced and weak-dep features
Per-crate keywords, categories, and reverse-dependency listings on the website
Authentication via per-user API tokens scoped to publish, yank, and owner-management permissions
Trusted Publishing flow via crates-io-auth-action exchanging GitHub Actions OIDC tokens for short-lived publish tokens
Open source under Apache-2.0 and MIT — backend in Rust (axum + diesel), frontend in SvelteKit/TypeScript
Infrastructure sponsored by Amazon Web Services (file hosting) and Fastly (CDN)
Status page at status.crates.io reporting crates.io and docs.rs uptime
Companion documentation host docs.rs auto-builds and serves docs for every published crate version
No paid plans — operated as a public good of the Rust ecosystem

Scroll for all 14

Semantic Vocabularies 1

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

Crates Io Context

0 classes · 8 properties

JSON-LD

Spectral 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

6 rules · 5 warn-severity 1 info-severity

SPECTRAL

crates.io API Rules

7 rules · 1 error-severity 3 warn-severity 1 info-severity

SPECTRAL

OpenAPI 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

2 actions · phrasing · crates-io-config-api-openapi.yml

GENERATED

crates.io Crates Api Phrasing Overlay

4 actions · phrasing · crates-io-crates-api-openapi.yml

GENERATED

crates.io Index Api Phrasing Overlay

5 actions · phrasing · crates-io-index-api-openapi.yml

GENERATED

crates.io Owners Api Phrasing Overlay

4 actions · phrasing · crates-io-owners-api-openapi.yml

GENERATED

crates.io Versions Api Phrasing Overlay

5 actions · phrasing · crates-io-versions-api-openapi.yml

GENERATED

JSON Schema 2

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

crates.io Crate

4 properties

JSON SCHEMA

crates.io Sparse Index Entry

10 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

crates.io Crate Structure

0 properties

JSON STRUCTURE

Examples 4

Example request and response payloads for these APIs.

crates.io Config Example

2 fields

EXAMPLE

crates.io Search Example

2 fields

EXAMPLE

Security Posture 3

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

crates.io Authentication

apiKey · 1 scheme

SECURITY

crates.io Domain Security

TLSv1.3 · DMARC

SECURITY

crates.io Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access (API Evangelist recommendations) 1

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

crates.io Agentic Access

15 operations · 5 acting

15 operations · 5 acting

AGENTIC

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)

apis.yml Raw ↑
aid: crates-io
url: https://raw.githubusercontent.com/api-evangelist/crates-io/refs/heads/main/apis.yml
apis:
- aid: crates-io:crates-io-config-api
  name: crates.io Config API
  description: Registry configuration document
  humanURL: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  tags:
  - Config
  properties:
  - type: OpenAPI
    url: openapi/crates-io-config-api-openapi.yml
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - type: JSONSchema
    url: json-schema/crates-io-crate-schema.json
  - type: JSONStructure
    url: json-structure/crates-io-crate-structure.json
  - type: JSONLD
    url: json-ld/crates-io-context.jsonld
  - type: SpectralRules
    url: rules/crates-io-rules.yml
  - type: Examples
    url: examples/crates-io-search-example.json
  - type: Examples
    url: examples/crates-io-get-crate-example.json
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  - type: Documentation
    url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  - type: JSONSchema
    url: json-schema/crates-io-index-entry-schema.json
  - type: Examples
    url: examples/crates-io-config-example.json
  - type: Examples
    url: examples/crates-io-sparse-index-example.json
- aid: crates-io:crates-io-crates-api
  name: crates.io Crates API
  description: Search and manage Rust crates
  humanURL: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  tags:
  - Crates
  properties:
  - type: OpenAPI
    url: openapi/crates-io-crates-api-openapi.yml
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - type: JSONSchema
    url: json-schema/crates-io-crate-schema.json
  - type: JSONStructure
    url: json-structure/crates-io-crate-structure.json
  - type: JSONLD
    url: json-ld/crates-io-context.jsonld
  - type: SpectralRules
    url: rules/crates-io-rules.yml
  - type: Examples
    url: examples/crates-io-search-example.json
  - type: Examples
    url: examples/crates-io-get-crate-example.json
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  - type: Documentation
    url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  - type: JSONSchema
    url: json-schema/crates-io-index-entry-schema.json
  - type: Examples
    url: examples/crates-io-config-example.json
  - type: Examples
    url: examples/crates-io-sparse-index-example.json
- aid: crates-io:crates-io-index-api
  name: crates.io Index API
  description: Per-crate index metadata files served over HTTP
  humanURL: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  tags:
  - Index
  properties:
  - type: OpenAPI
    url: openapi/crates-io-index-api-openapi.yml
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - type: JSONSchema
    url: json-schema/crates-io-crate-schema.json
  - type: JSONStructure
    url: json-structure/crates-io-crate-structure.json
  - type: JSONLD
    url: json-ld/crates-io-context.jsonld
  - type: SpectralRules
    url: rules/crates-io-rules.yml
  - type: Examples
    url: examples/crates-io-search-example.json
  - type: Examples
    url: examples/crates-io-get-crate-example.json
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  - type: Documentation
    url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  - type: JSONSchema
    url: json-schema/crates-io-index-entry-schema.json
  - type: Examples
    url: examples/crates-io-config-example.json
  - type: Examples
    url: examples/crates-io-sparse-index-example.json
- aid: crates-io:crates-io-owners-api
  name: crates.io Owners API
  description: List, add, and remove crate owners
  humanURL: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  tags:
  - Owners
  properties:
  - type: OpenAPI
    url: openapi/crates-io-owners-api-openapi.yml
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - type: JSONSchema
    url: json-schema/crates-io-crate-schema.json
  - type: JSONStructure
    url: json-structure/crates-io-crate-structure.json
  - type: JSONLD
    url: json-ld/crates-io-context.jsonld
  - type: SpectralRules
    url: rules/crates-io-rules.yml
  - type: Examples
    url: examples/crates-io-search-example.json
  - type: Examples
    url: examples/crates-io-get-crate-example.json
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  - type: Documentation
    url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  - type: JSONSchema
    url: json-schema/crates-io-index-entry-schema.json
  - type: Examples
    url: examples/crates-io-config-example.json
  - type: Examples
    url: examples/crates-io-sparse-index-example.json
- aid: crates-io:crates-io-versions-api
  name: crates.io Versions API
  description: Yank and unyank crate versions
  humanURL: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  tags:
  - Versions
  properties:
  - type: OpenAPI
    url: openapi/crates-io-versions-api-openapi.yml
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - type: JSONSchema
    url: json-schema/crates-io-crate-schema.json
  - type: JSONStructure
    url: json-structure/crates-io-crate-structure.json
  - type: JSONLD
    url: json-ld/crates-io-context.jsonld
  - type: SpectralRules
    url: rules/crates-io-rules.yml
  - type: Examples
    url: examples/crates-io-search-example.json
  - type: Examples
    url: examples/crates-io-get-crate-example.json
  - type: Documentation
    url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  - type: Documentation
    url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  - type: JSONSchema
    url: json-schema/crates-io-index-entry-schema.json
  - type: Examples
    url: examples/crates-io-config-example.json
  - type: Examples
    url: examples/crates-io-sparse-index-example.json
name: crates.io
tags:
- Rust
- Package Registry
- Crates
- Cargo
- Open Source
- Developer Tools
- Rust Foundation
tags_raw:
- Rust
- Package Registry
- Crates
- Cargo
- Open Source
- Developer Tools
- Rust Foundation
- Open-Source
kind: contract
deliveryModel:
  model: unknown
  license: Apache 2.0 License
  open_source: false
  commercial: false
  callable_host: true
  label: Delivery model not determined — needs a product licence on record
  confidence: low
  source:
  - license
  - openapi
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source:
  - authentication
  - security
  generated: '2026-11-28'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/crates-io.png
access: 3rd-Party
common:
- type: CapabilityMap
  url: capabilities/crates-io-capability-edges.yml
  name: crates.io Business Capability Map
- type: AgenticAccess
  url: agentic-access/crates-io-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/crates-io-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/crates-io-domain-security.yml
- type: Authentication
  url: authentication/crates-io-authentication.yml
- url: https://crates.io
  name: crates.io
  type: Portal
- url: https://doc.rust-lang.org/cargo/
  name: The Cargo Book
  type: Documentation
- url: https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  name: Registry Web API Reference
  type: Documentation
- url: https://doc.rust-lang.org/cargo/reference/registry-index.html
  name: Registry Index (Sparse + Git) Reference
  type: Documentation
- url: https://doc.rust-lang.org/cargo/reference/registries.html
  name: Cargo Registries Overview
  type: Documentation
- url: https://doc.rust-lang.org/cargo/reference/registry-authentication.html
  name: Registry Authentication
  type: Documentation
- url: https://doc.rust-lang.org/cargo/reference/publishing.html
  name: Publishing on crates.io
  type: GettingStarted
- url: https://github.com/rust-lang/crates.io
  name: rust-lang/crates.io Source Code
  type: GitHubOrganization
- url: https://github.com/rust-lang/crates.io-index
  name: rust-lang/crates.io-index (legacy git index)
  type: SourceCode
- url: https://github.com/rust-lang/crates.io-index-archive
  name: crates.io-index Archive
  type: SourceCode
- url: https://github.com/rust-lang/cargo
  name: rust-lang/cargo
  type: SourceCode
- url: https://github.com/rust-lang/crates-io-auth-action
  name: crates-io-auth-action (Trusted Publishing)
  type: Tools
- url: https://github.com/rust-lang/crates-io-cargo-teams
  name: crates.io and Cargo Teams Home
  type: GitHubOrganization
- url: https://github.com/rust-lang/crates-io-ops-bot
  name: crates-io-ops-bot
  type: Tools
- url: https://github.com/rust-lang/crates_io_og_image
  name: crates.io OpenGraph image generator
  type: Tools
- url: https://github.com/rust-lang/crates-io-heroku-metrics
  name: crates.io Heroku metrics collector
  type: Tools
- url: https://status.crates.io/
  name: crates.io Status
  type: StatusPage
- url: https://blog.rust-lang.org/inside-rust/
  name: Inside Rust Blog
  type: Blog
- url: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
  name: Rust 1.68 — Sparse registry protocol
  type: ChangeLog
- url: https://github.com/rust-lang/crates.io/blob/main/CONTRIBUTING.md
  name: Contributing to crates.io
  type: Documentation
- url: https://github.com/rust-lang/crates.io/blob/main/SECURITY.md
  name: Security Policy
  type: SecurityPolicy
- url: https://github.com/rust-lang/crates.io/blob/main/CODE_OF_CONDUCT.md
  name: Code of Conduct
  type: CodeOfConduct
- url: https://github.com/rust-lang/crates.io/blob/main/LICENSE-APACHE
  name: Apache 2.0 License
  type: License
- url: https://github.com/rust-lang/crates.io/blob/main/LICENSE-MIT
  name: MIT License
  type: License
- url: mailto:help@crates.io
  name: help@crates.io
  type: Support
- url: https://rust-lang.zulipchat.com/#narrow/stream/318791-t-crates-io
  name: Zulip —
  type: Forums
- url: https://github.com/rust-lang/crates.io/discussions
  name: GitHub Discussions
  type: Forums
- url: https://crates.io/policies
  name: Policies
  type: Documentation
- url: https://crates.io/data-access
  name: Data Access
  type: Documentation
- url: https://docs.rs
  name: docs.rs (companion documentation host)
  type: Documentation
- url: https://foundation.rust-lang.org/
  name: Rust Foundation
  type: Sponsor
- url: https://aws.amazon.com/
  name: Amazon Web Services (infrastructure)
  type: Sponsor
- url: https://www.fastly.com/
  name: Fastly (CDN)
  type: Sponsor
- type: Features
  data:
  - Centralized package registry for the Rust programming language operated by the crates.io team under the Rust Foundation
  - Web API at https://crates.io/api/v1 for search, crate detail, version detail, download redirect, publish, yank, unyank,
    and owner management
  - Sparse HTTP index at https://index.crates.io (default for Cargo since Rust 1.70) — replaces the legacy git index for the
    vast majority of fetches
  - Legacy git index at https://github.com/rust-lang/crates.io-index still mirrored for source replacement and offline scenarios
  - SHA-256 checksums published per version for tamper-evident downloads
  - Index format v2 with features2 map for namespaced and weak-dep features
  - Per-crate keywords, categories, and reverse-dependency listings on the website
  - Authentication via per-user API tokens scoped to publish, yank, and owner-management permissions
  - Trusted Publishing flow via crates-io-auth-action exchanging GitHub Actions OIDC tokens for short-lived publish tokens
  - Open source under Apache-2.0 and MIT — backend in Rust (axum + diesel), frontend in SvelteKit/TypeScript
  - Infrastructure sponsored by Amazon Web Services (file hosting) and Fastly (CDN)
  - Status page at status.crates.io reporting crates.io and docs.rs uptime
  - Companion documentation host docs.rs auto-builds and serves docs for every published crate version
  - No paid plans — operated as a public good of the Rust ecosystem
  sources:
  - https://crates.io
  - https://github.com/rust-lang/crates.io
  - https://doc.rust-lang.org/cargo/reference/registry-web-api.html
  - https://doc.rust-lang.org/cargo/reference/registry-index.html
  - https://doc.rust-lang.org/cargo/reference/registries.html
  - https://status.crates.io/
  updated: '2026-05-25'
- type: DataLicense
  url: data-license/crates-io-data-license.yml
created: '2026-05-25T00:00:00.000Z'
modified: '2026-05-25'
position: Consuming
description: '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.

  '
maintainers:
- FN: Kin Lane
  email: info@apievangelist.com
  X: apievangelist
  url: https://apievangelist.com
specificationVersion: '0.23'

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.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/crates-io"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/crates-io/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/crates-io/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.