/v1/meta
Source & sort options
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/pubdev-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pubdev-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pubdev-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/pubdev-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Live pub.dev registry data. /v1/package = metadata (description, repo, SDK constraint, dependencies, recent versions); /v1/search = search the registry; /v1/score = popularity metrics (likes, pub points out of max, popularity %, 30-day downloads).",
"source": "pub.dev (the Dart / Flutter package registry)",
"endpoints": [
"/v1/package",
"/v1/search",
"/v1/score",
"/v1/meta"
],
"sort_options": [
"top",
"text",
"created",
"updated",
"popularity",
"like",
"points",
"downloads"
]
},
"meta": {
"timestamp": "2026-05-31T11:53:06.549Z",
"request_id": "206d67f3-1e83-4d2e-b2a2-547e78aa1923"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}