Vai al contenuto
GET /v1/search

Search / rank the registry

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/crates-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/crates-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crates-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crates-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/crates-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "page": 1,
        "sort": "relevance",
        "count": 20,
        "limit": 20,
        "query": "http",
        "total": 17149,
        "results": [
            {
                "name": "http",
                "homepage": null,
                "keywords": [],
                "downloads": 736312657,
                "categories": [],
                "created_at": "2014-11-20T23:30:38.809367Z",
                "repository": "https://github.com/hyperium/http",
                "updated_at": "2026-05-25T19:27:52.247144Z",
                "description": "A set of types for representing HTTP requests and responses.\n",
                "crates_io_url": "https://crates.io/crates/http",
                "documentation": "https://docs.rs/http",
                "newest_version": "1.4.1",
                "recent_downloads": 171043657,
                "max_stable_version": "1.4.1"
            },
            {
                "name": "tigr_asgi_contract_artifacts_rs",
                "homepage": null,
                "keywords": [],
                "downloads": 117,
                "categories": [],
                "created_at": "2026-04-21T05:49:07.570398Z",
                "repository": null,
                "updated_at": "2026-04-24T08:18:20.727497Z",
                "description": "Canonical contract artifacts for the Tigr ASGI contract",
                "crates_io_url": "https://crates.io/crates/tigr_asgi_contract_artifacts_rs",
                "documentation": null,
                "newest_version": "0.3.2",
                "recent_downloads": 117,
                "max_stable_version": "0.3.2"
            },
            {
                "name": "tigr_asgi_contract_rs",
                "homepage": null,
                "keywords": [],
                "downloads": 106,
                "categories": [],
                "created_at": "2026-04-21T05:49:09.698590Z",
                "repository": null,
                "updated_at": "2026-04-24T08:18:22.866822Z",
                "description": "Generated Rust contract bindings for the Tigr ASGI contract",
                "crates_io_url": "https://crates.io/crates/tigr_asgi_contract_rs",
                "documentation": null,
                "newest_version": "0.3.2",
                "recent_downloads": 106,
                "max_stable_version": "0.3.2"
            },
            {
                "name": "actix-web-metrics",
                "homepage": null,
                "keywords": [],
                "downloads": 41321,
                "categories": [],
                "created_at": "2025-04-28T03:03:03.302914Z",
                "repository": "https://github.com/ranger-ross/actix-web-metrics.git",
                "updated_at": "2025-10-27T13:11:43.949300Z",
                "description": "Metrics.rs integration for Actix Web",
                "crates_io_url": "https://crates.io/crates/actix-web-metrics",
                "documentation": "https://docs.rs/actix-web-metrics",
        
…