/v1/meta
Source & sort options
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/crates-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crates-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crates-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Live Rust crate registry data. /v1/crate = full metadata + recent versions + download counts for a crate; /v1/search = search/rank the registry (sort by downloads, recent-downloads, recent-updates, new, alpha); /v1/dependencies = the dependencies of a crate's newest (or a given) version.",
"source": "crates.io (the Rust community crate registry)",
"endpoints": [
"/v1/crate",
"/v1/search",
"/v1/dependencies",
"/v1/meta"
],
"sort_options": [
"relevance",
"downloads",
"recent-downloads",
"recent-updates",
"new",
"alpha"
]
},
"meta": {
"timestamp": "2026-05-31T10:14:06.320Z",
"request_id": "a2e3127f-7657-4617-bd89-21fc36aaa150"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}