crates.io · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for crates.io Sparse Index API

5 actions 5 updates phrasing extends openapi/crates-io-index-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for crates.io's API. It is a proposal applied on top of the contract, not a document crates.io publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/1/{crate}'].get
$.paths['/2/{crate}'].get
$.paths['/3/{first}/{crate}'].get
$.paths['/{first_two}/{second_two}/{crate}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for crates.io Sparse Index API
  version: 1.0.0
extends: openapi/crates-io-index-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/1/{crate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the index for a one-letter crate
      effect: read
      questions:
      - How do I read the index entries for a single-character crate like a or z?
      - What does the sparse index return for a one-letter crate name?
      instructions:
      - text: Get the index for one-letter crate {crate}.
        slots:
          crate: path.crate
      - text: Read the sparse index entries for crate {crate}.
        slots:
          crate: path.crate
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/{crate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the index for a two-character crate
      effect: read
      questions:
      - What does the sparse index contain for a crate whose name is only two characters?
      - Where are the index lines for a short two-letter crate?
      instructions:
      - text: Get the sparse index for the two-character crate {crate}.
        slots:
          crate: path.crate
      - text: Show the index lines of {crate}.
        slots:
          crate: path.crate
      method: generated
      generated: '2026-11-22'
- target: $.paths['/3/{first}/{crate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the index for a three-letter crate
      effect: read
      questions:
      - How do I read the index for a three-letter crate name?
      - What does the sparse index return for a three-character crate like rng?
      instructions:
      - text: Get the index for three-letter crate {crate} under first letter {first}.
        slots:
          crate: path.crate
          first: path.first
      - text: Read the sparse index entries for crate {crate} starting with {first}.
        slots:
          crate: path.crate
          first: path.first
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{first_two}/{second_two}/{crate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the index for a long crate name
      effect: read
      questions:
      - How do I read the sparse index entries for a crate longer than four characters?
      - What path do long crate names use in the sparse index?
      instructions:
      - text: Get the sparse index entries for {first_two}/{second_two}/{crate}.
        slots:
          first_two: path.first_two
          second_two: path.second_two
          crate: path.crate
      - text: Show the index lines of crate {crate} under folder {first_two} {second_two}.
        slots:
          crate: path.crate
          first_two: path.first_two
          second_two: path.second_two
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/crates-io-index-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.