Aller au contenu
GET /v1/image

Image (repository) metadata

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/docker-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/docker-api/v1/image" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/docker-api/v1/image", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/docker-api/v1/image");
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/docker-api/v1/image",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "image": {
            "name": "nginx",
            "status": "active",
            "full_name": "library/nginx",
            "namespace": "library",
            "categories": [
                "Web servers"
            ],
            "docker_url": "https://hub.docker.com/_/nginx",
            "pull_count": 13047598322,
            "star_count": 21287,
            "description": "Official build of Nginx.",
            "is_official": true,
            "last_updated": "2026-05-24T19:52:26.039369Z",
            "pull_command": "docker pull nginx",
            "canonical_name": "nginx",
            "date_registered": "2014-06-05T19:14:45Z"
        }
    },
    "meta": {
        "timestamp": "2026-05-31T14:24:44.932Z",
        "request_id": "c8358e8e-2f9b-4bed-bc73-743777cc2c76"
    },
    "status": "ok",
    "message": "Image retrieved",
    "success": true
}